------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/libnghttp2-1.40.0.txz Installing /packages/All/ca_root_nss-3.51.txz ===== Message from ca_root_nss-3.51: -- FreeBSD does not, and can not warrant that the certification authorities whose certificates are included in this package have in any way been audited for trustworthiness or RFC 3647 compliance. Assessment and verification of trust is the complete responsibility of the system administrator. This package installs symlinks to support root certificates discovery by default for software that uses OpenSSL. This enables SSL Certificate Verification by client software without manual intervention. If you prefer to do this manually, replace the following symlinks with either an empty file or your site-local certificate bundle. * /etc/ssl/cert.pem * /usr/local/etc/ssl/cert.pem * /usr/local/openssl/cert.pem Installing /packages/All/openssl-1.1.1d,1.txz Installing /packages/All/curl-7.68.0.txz Installing /packages/All/expat-2.2.8.txz Installing /packages/All/jsoncpp-1.9.2.txz Installing /packages/All/libuv-1.35.0.txz Installing /packages/All/rhash-1.3.5.txz Installing /packages/All/liblz4-1.9.2_1,1.txz Installing /packages/All/lzo2-2.10_1.txz Installing /packages/All/libarchive-3.4.2,1.txz Installing /packages/All/ncurses-6.1.20190525.txz Installing /packages/All/cmake-3.16.5.txz Installing /packages/All/pkgconf-1.6.3,1.txz Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/libffi-3.2.1_3.txz Installing /packages/All/readline-8.0.4.txz Installing /packages/All/gettext-runtime-0.20.1.txz Installing /packages/All/python37-3.7.6.txz ===== Message from python37-3.7.6: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py37-gdbm databases/py-gdbm@py37 py37-sqlite3 databases/py-sqlite3@py37 py37-tkinter x11-toolkits/py-tkinter@py37 Installing /packages/All/py37-setuptools-44.0.0.txz Installing /packages/All/libXau-1.0.9.txz Installing /packages/All/libxml2-2.9.10.txz Installing /packages/All/libpthread-stubs-0.4.txz Installing /packages/All/xorgproto-2019.2.txz Installing /packages/All/libXdmcp-1.1.3.txz Installing /packages/All/libxcb-1.13.1.txz Installing /packages/All/libX11-1.6.9,1.txz Installing /packages/All/icu-66.1,1.txz Installing /packages/All/boost-libs-1.72.0_1.txz ===== Message from boost-libs-1.72.0_1: -- You have built the Boost library with thread support. Don't forget to add -pthread to your linker options when linking your code. Installing /packages/All/py37-boost-libs-1.72.0.txz ===== Message from py37-boost-libs-1.72.0: -- You have built the Boost library with thread support. Don't forget to add -pthread to your linker options when linking your code. Installing /packages/All/png-1.6.37.txz Installing /packages/All/giflib-5.2.1.txz Installing /packages/All/jpeg-turbo-2.0.4.txz Installing /packages/All/sqlite3-3.30.1_1,1.txz SUCCEEDED 00:00:31 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> py37-dlib-19.19 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> py37-dlib-19.19 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by py37-dlib-19.19 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> py37-dlib-19.19 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by py37-dlib-19.19 for building => SHA256 Checksum OK for dlib-19.19.tar.bz2. SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> py37-dlib-19.19 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by py37-dlib-19.19 for building ===> Extracting for py37-dlib-19.19 => SHA256 Checksum OK for dlib-19.19.tar.bz2. Extracted Memory Use: 97.43M SUCCEEDED 00:00:08 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for py37-dlib-19.19 SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> py37-dlib-19.19 depends on executable: cmake - found ===> py37-dlib-19.19 depends on package: pkgconf>=1.3.0_1 - found ===> py37-dlib-19.19 depends on package: py37-setuptools>0 - found ===> py37-dlib-19.19 depends on file: /usr/local/bin/python3.7 - found ===> py37-dlib-19.19 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> py37-dlib-19.19 depends on shared library: libboost_python37.so - found (/usr/local/lib/libboost_python37.so) ===> py37-dlib-19.19 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> py37-dlib-19.19 depends on shared library: libgif.so - found (/usr/local/lib/libgif.so) ===> py37-dlib-19.19 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) ===> py37-dlib-19.19 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> py37-dlib-19.19 depends on executable: cmake - found ===> py37-dlib-19.19 depends on package: pkgconf>=1.3.0_1 - found ===> py37-dlib-19.19 depends on package: py37-setuptools>0 - found ===> py37-dlib-19.19 depends on file: /usr/local/bin/python3.7 - found ===> py37-dlib-19.19 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> py37-dlib-19.19 depends on shared library: libboost_python37.so - found (/usr/local/lib/libboost_python37.so) ===> py37-dlib-19.19 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> py37-dlib-19.19 depends on shared library: libgif.so - found (/usr/local/lib/libgif.so) ===> py37-dlib-19.19 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) ===> py37-dlib-19.19 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so) ===> Configuring for py37-dlib-19.19 running config SUCCEEDED 00:00:02 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for py37-dlib-19.19 running build running build_py package init file 'dlib/__init__.py' not found (or not a regular file) running build_ext Building extension for Python 3.7.6 (default, Mar 17 2020, 10:15:52) Invoking CMake setup: 'cmake /construction/science/py-dlib/dlib-19.19/tools/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/construction/science/py-dlib/dlib-19.19/build/lib.dragonfly-5.9-x86_64-3.7 -DPYTHON_EXECUTABLE=/usr/local/bin/python3.7 -DBOOST_PYTHON_SUFFIX:STRING=37 -DDLIB_USE_BLAS=no -DDLIB_USE_LAPACK=no -DDLIB_USE_MKL_FFT=no -DUSE_AVX_INSTRUCTIONS=no -DCMAKE_BUILD_TYPE=Release' -- The C compiler identification is GNU 8.3.0 -- The CXX compiler identification is GNU 8.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PythonInterp: /usr/local/bin/python3.7 (found version "3.7.6") -- Found PythonLibs: /usr/local/lib/libpython3.7m.so -- Performing Test HAS_CPP14_FLAG -- Performing Test HAS_CPP14_FLAG - Success -- pybind11 v2.2.2 -- Using CMake version: 3.16.5 -- Compiling dlib version: 19.19.0 -- SSE4 instructions can be executed by the host processor. -- AVX instructions can be executed by the host processor. -- Enabling SSE4 instructions -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found X11: /usr/local/include -- Looking for XOpenDisplay in /usr/local/lib/libX11.so -- Looking for XOpenDisplay in /usr/local/lib/libX11.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Found system copy of libpng: /usr/local/lib/libpng.so;/usr/lib/libz.so -- Found system copy of libjpeg: /usr/local/lib/libjpeg.so CUDA_TOOLKIT_ROOT_DIR not found or specified -- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (Required is at least version "7.5") -- DID NOT FIND CUDA -- Disabling CUDA support for dlib. DLIB WILL NOT USE CUDA -- C++11 activated. -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BOOST_PYTHON_SUFFIX -- Build files have been written to: /construction/science/py-dlib/dlib-19.19/build/temp.dragonfly-5.9-x86_64-3.7 Invoking CMake build: 'cmake --build . --config Release -- -j32' Scanning dependencies of target dlib [ 8%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/threads_kernel_1.cpp.o [ 1%] Building CXX object dlib_build/CMakeFiles/dlib.dir/unicode/unicode.cpp.o [ 2%] Building CXX object dlib_build/CMakeFiles/dlib.dir/logger/logger_kernel_1.cpp.o [ 4%] Building CXX object dlib_build/CMakeFiles/dlib.dir/misc_api/misc_api_kernel_1.cpp.o [ 3%] Building CXX object dlib_build/CMakeFiles/dlib.dir/misc_api/misc_api_kernel_2.cpp.o [ 9%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockets/sockets_kernel_2.cpp.o [ 13%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockstreambuf/sockstreambuf.cpp.o [ 6%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockstreambuf/sockstreambuf_unbuffered.cpp.o [ 6%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/multithreaded_object_extension.cpp.o [ 11%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/threaded_object_extension.cpp.o [ 10%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/threads_kernel_2.cpp.o [ 12%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/threads_kernel_shared.cpp.o [ 15%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/thread_pool_extension.cpp.o [ 16%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/async.cpp.o [ 22%] Building CXX object dlib_build/CMakeFiles/dlib.dir/timer/timer.cpp.o [ 20%] Building CXX object dlib_build/CMakeFiles/dlib.dir/cuda/tensor_tools.cpp.o [ 19%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/drawable.cpp.o [ 24%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/canvas_drawing.cpp.o [ 18%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/style.cpp.o [ 18%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/base_widgets.cpp.o [ 23%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_core/gui_core_kernel_1.cpp.o [ 26%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/widgets.cpp.o [ 26%] Building CXX object dlib_build/CMakeFiles/dlib.dir/base64/base64_kernel_1.cpp.o [ 27%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_core/gui_core_kernel_2.cpp.o [ 29%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bigint/bigint_kernel_2.cpp.o [ 30%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bit_stream/bit_stream_kernel_1.cpp.o [ 32%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_encoder/entropy_encoder_kernel_1.cpp.o [ 32%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_decoder/entropy_decoder_kernel_2.cpp.o [ 33%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_encoder/entropy_encoder_kernel_2.cpp.o [ 36%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_decoder/entropy_decoder_kernel_1.cpp.o [ 36%] Building CXX object dlib_build/CMakeFiles/dlib.dir/md5/md5_kernel_1.cpp.o [ 37%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bigint/bigint_kernel_1.cpp.o [ 38%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockets/sockets_extensions.cpp.o [ 39%] Building CXX object dlib_build/CMakeFiles/dlib.dir/tokenizer/tokenizer_kernel_1.cpp.o [ 40%] Building CXX object dlib_build/CMakeFiles/dlib.dir/data_io/image_dataset_metadata.cpp.o [ 41%] Building CXX object dlib_build/CMakeFiles/dlib.dir/data_io/mnist.cpp.o [ 43%] Building CXX object dlib_build/CMakeFiles/dlib.dir/global_optimization/global_function_search.cpp.o [ 44%] Building CXX object dlib_build/CMakeFiles/dlib.dir/filtering/kalman_filter.cpp.o [ 45%] Building CXX object dlib_build/CMakeFiles/dlib.dir/test_for_odr_violations.cpp.o [ 46%] Building CXX object dlib_build/CMakeFiles/dlib.dir/svm/auto.cpp.o [ 48%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockets/sockets_kernel_1.cpp.o [ 48%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bsp/bsp.cpp.o [ 50%] Building CXX object dlib_build/CMakeFiles/dlib.dir/dir_nav/dir_nav_kernel_1.cpp.o [ 51%] Building CXX object dlib_build/CMakeFiles/dlib.dir/dir_nav/dir_nav_kernel_2.cpp.o [ 52%] Building CXX object dlib_build/CMakeFiles/dlib.dir/dir_nav/dir_nav_extensions.cpp.o [ 53%] Building CXX object dlib_build/CMakeFiles/dlib.dir/linker/linker_kernel_1.cpp.o [ 54%] Building CXX object dlib_build/CMakeFiles/dlib.dir/logger/extra_logger_headers.cpp.o [ 55%] Building CXX object dlib_build/CMakeFiles/dlib.dir/logger/logger_config_file.cpp.o [ 56%] Building CXX object dlib_build/CMakeFiles/dlib.dir/server/server_kernel.cpp.o [ 58%] Building CXX object dlib_build/CMakeFiles/dlib.dir/server/server_iostream.cpp.o [ 59%] Building CXX object dlib_build/CMakeFiles/dlib.dir/server/server_http.cpp.o [ 60%] Building CXX object dlib_build/CMakeFiles/dlib.dir/stack_trace.cpp.o [ 61%] Building CXX object dlib_build/CMakeFiles/dlib.dir/cuda/cpu_dlib.cpp.o [ 62%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/fonts.cpp.o [ 63%] Building CXX object dlib_build/CMakeFiles/dlib.dir/image_loader/png_loader.cpp.o [ 65%] Building CXX object dlib_build/CMakeFiles/dlib.dir/image_saver/save_png.cpp.o [ 66%] Building CXX object dlib_build/CMakeFiles/dlib.dir/image_loader/jpeg_loader.cpp.o [ 67%] Building CXX object dlib_build/CMakeFiles/dlib.dir/image_saver/save_jpeg.cpp.o In file included from /construction/science/py-dlib/dlib-19.19/dlib/filtering/../matrix.h:11, from /construction/science/py-dlib/dlib-19.19/dlib/filtering/kalman_filter.h:7, from /construction/science/py-dlib/dlib-19.19/dlib/filtering/kalman_filter.cpp:6: /construction/science/py-dlib/dlib-19.19/dlib/filtering/../matrix/matrix_la.h: In function 'long int dlib::svd4(dlib::svd_u_mode, bool, const dlib::matrix_exp&, dlib::matrix&, dlib::matrix&, dlib::matrix&) [with EXP = dlib::matrix_op, dlib::row_major_layout> > > > >; long int qN = 1; long int qX = 1; long int uM = 1; long int uN = 1; long int vM = 2; long int vN = 1; MM1 = dlib::memory_manager_stateless_kernel_1; MM2 = dlib::memory_manager_stateless_kernel_1; MM3 = dlib::memory_manager_stateless_kernel_1; L1 = dlib::row_major_layout]': /construction/science/py-dlib/dlib-19.19/dlib/filtering/../matrix/matrix_la.h:225:32: warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations] y = abs(q(i)) + abs(e(i)); ~~~^~~~~~ /construction/science/py-dlib/dlib-19.19/dlib/filtering/../matrix/matrix_la.h:163:20: note: within this loop for (i=0; itstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/matrix.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/dlib.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cca.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/decision_functions.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/gui.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_struct.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/global_optimization.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/other.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/numpy_returns.cpp:1: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/basic.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/shape_predictor.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_c_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/object_detection.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image_dataset_metadata.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/cnn_face_detector.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/face_recognition.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/correlation_tracker.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/sequence_segmenter.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/svm_rank_trainer.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image4.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image3.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/vector.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/line.cpp:4: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:82:34: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h: In function 'pybind11::detail::internals& pybind11::detail::get_internals()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:169:53: warning: 'int PyThread_create_key()' is deprecated [-Wdeprecated-declarations] internals_ptr->tstate = PyThread_create_key(); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /usr/local/include/python3.7m/pythread.h:95:17: note: declared here PyAPI_FUNC(int) PyThread_create_key(void) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:16, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/internals.h:170:61: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals_ptr->tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_acquire::gil_scoped_acquire()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1739:75: warning: 'void* PyThread_get_key_value(int)' is deprecated [-Wdeprecated-declarations] tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /usr/local/include/python3.7m/pythread.h:98:20: note: declared here PyAPI_FUNC(void *) PyThread_get_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1751:60: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(internals.tstate, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In member function 'void pybind11::gil_scoped_acquire::dec_ref()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1790:69: warning: 'void PyThread_delete_key_value(int)' is deprecated [-Wdeprecated-declarations] PyThread_delete_key_value(detail::get_internals().tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /usr/local/include/python3.7m/pythread.h:99:18: note: declared here PyAPI_FUNC(void) PyThread_delete_key_value(int key) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In constructor 'pybind11::gil_scoped_release::gil_scoped_release(bool)': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1818:52: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, nullptr); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h: In destructor 'pybind11::gil_scoped_release::~gil_scoped_release()': /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:1831:47: warning: 'int PyThread_set_key_value(int, void*)' is deprecated [-Wdeprecated-declarations] PyThread_set_key_value(key, tstate); ^ In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/opaque_types.h:6, from /construction/science/py-dlib/dlib-19.19/tools/python/src/image2.cpp:3: /usr/local/include/python3.7m/pythread.h:97:17: note: declared here PyAPI_FUNC(int) PyThread_set_key_value(int key, void *value) Py_DEPRECATED(3.7); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/matrix.h:11, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/numpy_image.h:8, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:9, from /construction/science/py-dlib/dlib-19.19/tools/python/src/rectangles.cpp:4: /construction/science/py-dlib/dlib-19.19/dlib/../dlib/matrix/matrix_la.h: In function 'long int dlib::svd4(dlib::svd_u_mode, bool, const dlib::matrix_exp&, dlib::matrix&, dlib::matrix&, dlib::matrix&) [with EXP = dlib::matrix_op > > > >; long int qN = 1; long int qX = 1; long int uM = 1; long int uN = 1; long int vM = 2; long int vN = 1; MM1 = dlib::memory_manager_stateless_kernel_1; MM2 = dlib::memory_manager_stateless_kernel_1; MM3 = dlib::memory_manager_stateless_kernel_1; L1 = dlib::row_major_layout]': /construction/science/py-dlib/dlib-19.19/dlib/../dlib/matrix/matrix_la.h:225:32: warning: iteration 1 invokes undefined behavior [-Waggressive-loop-optimizations] y = abs(q(i)) + abs(e(i)); ~~~^~~~~~ /construction/science/py-dlib/dlib-19.19/dlib/../dlib/matrix/matrix_la.h:163:20: note: within this loop for (i=0; i py37-dlib-19.19 depends on package: py37-setuptools>0 - found ===> py37-dlib-19.19 depends on file: /usr/local/bin/python3.7 - found ===> py37-dlib-19.19 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for py37-dlib-19.19 ===> py37-dlib-19.19 depends on package: py37-setuptools>0 - found ===> py37-dlib-19.19 depends on file: /usr/local/bin/python3.7 - found ===> py37-dlib-19.19 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Generating temporary packing list running install running build running build_py package init file 'dlib/__init__.py' not found (or not a regular file) running build_ext Building extension for Python 3.7.6 (default, Mar 17 2020, 10:15:52) Invoking CMake setup: 'cmake /construction/science/py-dlib/dlib-19.19/tools/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/construction/science/py-dlib/dlib-19.19/build/lib.dragonfly-5.9-x86_64-3.7 -DPYTHON_EXECUTABLE=/usr/local/bin/python3.7 -DCMAKE_BUILD_TYPE=Release' -- pybind11 v2.2.2 -- Using CMake version: 3.16.5 -- Compiling dlib version: 19.19.0 -- SSE4 instructions can be executed by the host processor. -- AVX instructions can be executed by the host processor. -- Enabling SSE4 instructions -- Found system copy of libpng: /usr/local/lib/libpng.so;/usr/lib/libz.so -- Found system copy of libjpeg: /usr/local/lib/libjpeg.so -- C++11 activated. -- Configuring done -- Generating done -- Build files have been written to: /construction/science/py-dlib/dlib-19.19/build/temp.dragonfly-5.9-x86_64-3.7 Invoking CMake build: 'cmake --build . --config Release -- -j32' [ 68%] Built target dlib [100%] Built target dlib_python running install_lib creating /construction/science/py-dlib/stage/usr/local/lib/python3.7 creating /construction/science/py-dlib/stage/usr/local/lib/python3.7/site-packages copying build/lib.dragonfly-5.9-x86_64-3.7/dlib.so -> /construction/science/py-dlib/stage/usr/local/lib/python3.7/site-packages writing byte-compilation script '/tmp/tmpje2ne11j.py' /usr/local/bin/python3.7 /tmp/tmpje2ne11j.py removing /tmp/tmpje2ne11j.py running install_egg_info running egg_info creating dlib.egg-info writing dlib.egg-info/PKG-INFO writing dependency_links to dlib.egg-info/dependency_links.txt writing top-level names to dlib.egg-info/top_level.txt writing manifest file 'dlib.egg-info/SOURCES.txt' reading manifest file 'dlib.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'tools/python/build*' writing manifest file 'dlib.egg-info/SOURCES.txt' Copying dlib.egg-info to /construction/science/py-dlib/stage/usr/local/lib/python3.7/site-packages/dlib-19.19.0-py3.7.egg-info running install_scripts writing list of installed files to '/construction/science/py-dlib/.PLIST.pymodtmp' /usr/bin/strip /construction/science/py-dlib/stage/usr/local/lib/python3.7/site-packages/dlib.so ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Error: /usr/local/lib/python3.7/site-packages/dlib.so is linked to /usr/local/lib/libxcb.so.1 from x11/libxcb but it is not declared as a dependency Warning: you need USE_XORG+=xcb Error: /usr/local/lib/python3.7/site-packages/dlib.so is linked to /usr/local/lib/libXau.so.6 from x11/libXau but it is not declared as a dependency Warning: you need USE_XORG+=xau Error: /usr/local/lib/python3.7/site-packages/dlib.so is linked to /usr/local/lib/libXdmcp.so.6 from x11/libXdmcp but it is not declared as a dependency Warning: you need USE_XORG+=xdmcp Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:15 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for py37-dlib-19.19 file sizes/checksums [6]: 0% file sizes/checksums [6]: 100% packing files [6]: 0% packing files [6]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:20 TOTAL TIME 00:06:21