=> Building science/py-dlib@py37 Started : Saturday, 15 FEB 2020 at 10:29:49 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.1432.g9cd86-DEVELOPMENT #23: Thu Feb 13 14:43:04 PST 2020 root@sting.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.7-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.7-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for py37-dlib-19.19: AVX=off: Use AVX instructions if supported by CPU BLASLAPACK=off: Use Blas and Lapack libraries from ports GIF=on: GIF image format support JPEG=on: JPEG image format support SQLITE=on: SQLite database support X11=on: X11 (graphics) support ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.7" XDG_DATA_HOME=/construction/science/py-dlib XDG_CONFIG_HOME=/construction/science/py-dlib HOME=/construction/science/py-dlib TMPDIR="/tmp" PATH=/construction/science/py-dlib/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/science/py-dlib XDG_CONFIG_HOME=/construction/science/py-dlib HOME=/construction/science/py-dlib TMPDIR="/tmp" PATH=/construction/science/py-dlib/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/science/py-dlib/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PYTHON_INCLUDEDIR=include/python3.7m PYTHON_LIBDIR=lib/python3.7 PYTHON_PLATFORM=dragonfly5 PYTHON_SITELIBDIR=lib/python3.7/site-packages PYTHON_SUFFIX=37 PYTHON_VER=3.7 PYTHON_VERSION=python3.7 PYTHON2="@comment " PYTHON3="" OSREL=5.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/dlib" EXAMPLESDIR="share/examples/dlib" DATADIR="share/dlib" WWWDIR="www/dlib" ETCDIR="etc/dlib" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/dlib DOCSDIR=/usr/local/share/doc/dlib EXAMPLESDIR=/usr/local/share/examples/dlib WWWDIR=/usr/local/www/dlib ETCDIR=/usr/local/etc/dlib -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=15 DPORTS_BUILDER= yes DISABLE_LICENSES= yes DEFAULT_VERSIONS= ssl=openssl FORCE_PACKAGE= yes DEVELOPER= yes HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.30.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500709 OSVERSION=9999999 OSREL=5.7 _OSRELEASE=5.7-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> py37-dlib-19.19 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.12.0_1.txz Installing pkg-1.12.0_1... Extracting pkg-1.12.0_1: .......... done ===> py37-dlib-19.19 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of py37-dlib-19.19 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- => dlib-19.19.tar.bz2 doesn't seem to exist in /distfiles/. => Attempting to fetch http://dlib.net/files/dlib-19.19.tar.bz2 dlib-19.19.tar.bz2 10 MB 3589 kBps 03s ===> Fetching all distfiles required by py37-dlib-19.19 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by py37-dlib-19.19 for building => SHA256 Checksum OK for dlib-19.19.tar.bz2. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> 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. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for py37-dlib-19.19 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> py37-dlib-19.19 depends on executable: cmake - not found ===> Installing existing package /packages/All/cmake-3.16.4.txz Installing cmake-3.16.4... `-- Installing curl-7.68.0... | `-- Installing ca_root_nss-3.50... | `-- Extracting ca_root_nss-3.50: ..... done | `-- Installing libnghttp2-1.40.0... | `-- Extracting libnghttp2-1.40.0: ....... done | `-- Installing openssl-1.1.1d,1... | `-- Extracting openssl-1.1.1d,1: .......... done `-- Extracting curl-7.68.0: .......... done `-- Installing expat-2.2.8... `-- Extracting expat-2.2.8: .......... done `-- Installing jsoncpp-1.9.2... `-- Extracting jsoncpp-1.9.2: .......... done `-- Installing libarchive-3.4.0,1... | `-- Installing liblz4-1.9.2_1,1... | `-- Extracting liblz4-1.9.2_1,1: .......... done | `-- Installing lzo2-2.10_1... | `-- Extracting lzo2-2.10_1: .......... done `-- Extracting libarchive-3.4.0,1: .......... done `-- Installing libuv-1.34.2... `-- Extracting libuv-1.34.2: .......... done `-- Installing ncurses-6.1.20190525... `-- Extracting ncurses-6.1.20190525: .......... done `-- Installing rhash-1.3.5... `-- Extracting rhash-1.3.5: .......... done Extracting cmake-3.16.4: .......... done ===== Message from ca_root_nss-3.50: -- 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 ===> py37-dlib-19.19 depends on executable: cmake - found ===> Returning to build of py37-dlib-19.19 ===> py37-dlib-19.19 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-1.6.3,1.txz Installing pkgconf-1.6.3,1... Extracting pkgconf-1.6.3,1: .......... done ===> py37-dlib-19.19 depends on package: pkgconf>=1.3.0_1 - found ===> Returning to build of py37-dlib-19.19 ===> py37-dlib-19.19 depends on package: py37-setuptools>0 - not found ===> Installing existing package /packages/All/py37-setuptools-44.0.0.txz Installing py37-setuptools-44.0.0... `-- Installing python37-3.7.6... | `-- Installing gettext-runtime-0.20.1... | | `-- Installing indexinfo-0.3.1... | | `-- Extracting indexinfo-0.3.1: . done | `-- Extracting gettext-runtime-0.20.1: .......... done | `-- Installing libffi-3.2.1_3... | `-- Extracting libffi-3.2.1_3: .......... done | `-- Installing readline-8.0.1... | `-- Extracting readline-8.0.1: .......... done `-- Extracting python37-3.7.6: .......... done Extracting py37-setuptools-44.0.0: .......... done ===== 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 ===> py37-dlib-19.19 depends on package: py37-setuptools>0 - found ===> Returning to build of py37-dlib-19.19 ===> 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 - not found ===> Installing existing package /packages/All/libX11-1.6.9,1.txz Installing libX11-1.6.9,1... `-- Installing libXau-1.0.9... `-- Extracting libXau-1.0.9: .......... done `-- Installing libXdmcp-1.1.3... | `-- Installing xorgproto-2019.2... | `-- Extracting xorgproto-2019.2: .......... done `-- Extracting libXdmcp-1.1.3: ...... done `-- Installing libxcb-1.13.1... | `-- Installing libpthread-stubs-0.4... | `-- Extracting libpthread-stubs-0.4: .... done | `-- Installing libxml2-2.9.10... | `-- Extracting libxml2-2.9.10: .......... done `-- Extracting libxcb-1.13.1: .......... done Extracting libX11-1.6.9,1: .......... done ===> py37-dlib-19.19 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of py37-dlib-19.19 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> py37-dlib-19.19 depends on shared library: libboost_python37.so - not found ===> Installing existing package /packages/All/py37-boost-libs-1.72.0.txz Installing py37-boost-libs-1.72.0... `-- Installing boost-libs-1.72.0... | `-- Installing icu-65.1,1... | `-- Extracting icu-65.1,1: .......... done `-- Extracting boost-libs-1.72.0: .......... done Extracting py37-boost-libs-1.72.0: .......... done ===== Message from 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. ===== 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. ===> py37-dlib-19.19 depends on shared library: libboost_python37.so - found (/usr/local/lib/libboost_python37.so) ===> Returning to build of py37-dlib-19.19 ===> py37-dlib-19.19 depends on shared library: libpng.so - not found ===> Installing existing package /packages/All/png-1.6.37.txz Installing png-1.6.37... Extracting png-1.6.37: .......... done ===> py37-dlib-19.19 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> Returning to build of py37-dlib-19.19 ===> py37-dlib-19.19 depends on shared library: libgif.so - not found ===> Installing existing package /packages/All/giflib-5.2.1.txz Installing giflib-5.2.1... Extracting giflib-5.2.1: .......... done ===> py37-dlib-19.19 depends on shared library: libgif.so - found (/usr/local/lib/libgif.so) ===> Returning to build of py37-dlib-19.19 ===> py37-dlib-19.19 depends on shared library: libjpeg.so - not found ===> Installing existing package /packages/All/jpeg-turbo-2.0.4.txz Installing jpeg-turbo-2.0.4... Extracting jpeg-turbo-2.0.4: .......... done ===> py37-dlib-19.19 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) ===> Returning to build of py37-dlib-19.19 ===> py37-dlib-19.19 depends on shared library: libsqlite3.so - not found ===> Installing existing package /packages/All/sqlite3-3.30.1,1.txz Installing sqlite3-3.30.1,1... Extracting sqlite3-3.30.1,1: ......... done ===> py37-dlib-19.19 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so) ===> Returning to build of py37-dlib-19.19 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for py37-dlib-19.19 running config -------------------------------------------------------------------------------- -- 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, Feb 14 2020, 09:29:59) 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.7-SYNTH-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.4 -- 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.7-SYNTH-x86_64-3.7 Invoking CMake build: 'cmake --build . --config Release -- -j32' Scanning dependencies of target dlib [ 3%] Building CXX object dlib_build/CMakeFiles/dlib.dir/unicode/unicode.cpp.o [ 1%] Building CXX object dlib_build/CMakeFiles/dlib.dir/logger/logger_kernel_1.cpp.o [ 11%] Building CXX object dlib_build/CMakeFiles/dlib.dir/misc_api/misc_api_kernel_1.cpp.o [ 2%] Building CXX object dlib_build/CMakeFiles/dlib.dir/misc_api/misc_api_kernel_2.cpp.o [ 6%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockets/sockets_extensions.cpp.o [ 4%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockets/sockets_kernel_2.cpp.o [ 10%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockstreambuf/sockstreambuf.cpp.o [ 9%] Building CXX object dlib_build/CMakeFiles/dlib.dir/sockstreambuf/sockstreambuf_unbuffered.cpp.o [ 5%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/multithreaded_object_extension.cpp.o [ 8%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/threaded_object_extension.cpp.o [ 12%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/threads_kernel_1.cpp.o [ 18%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/threads_kernel_shared.cpp.o [ 13%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/thread_pool_extension.cpp.o [ 19%] Building CXX object dlib_build/CMakeFiles/dlib.dir/threads/async.cpp.o [ 16%] Building CXX object dlib_build/CMakeFiles/dlib.dir/timer/timer.cpp.o [ 15%] Building CXX object dlib_build/CMakeFiles/dlib.dir/cuda/tensor_tools.cpp.o [ 17%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/widgets.cpp.o [ 20%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_core/gui_core_kernel_2.cpp.o [ 23%] Building CXX object dlib_build/CMakeFiles/dlib.dir/base64/base64_kernel_1.cpp.o [ 23%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bigint/bigint_kernel_1.cpp.o [ 24%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_decoder/entropy_decoder_kernel_1.cpp.o [ 25%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_decoder/entropy_decoder_kernel_2.cpp.o [ 26%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/style.cpp.o [ 27%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_core/gui_core_kernel_1.cpp.o [ 29%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/drawable.cpp.o [ 30%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_encoder/entropy_encoder_kernel_1.cpp.o [ 31%] 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/threads/threads_kernel_2.cpp.o [ 33%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/canvas_drawing.cpp.o [ 34%] Building CXX object dlib_build/CMakeFiles/dlib.dir/gui_widgets/base_widgets.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/tokenizer/tokenizer_kernel_1.cpp.o [ 38%] Building CXX object dlib_build/CMakeFiles/dlib.dir/bigint/bigint_kernel_2.cpp.o [ 39%] Building CXX object dlib_build/CMakeFiles/dlib.dir/entropy_encoder/entropy_encoder_kernel_2.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 [ 47%] 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/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/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/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/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/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/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/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/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/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/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/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] In file included from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, 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, 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/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); ^ 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 /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, 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/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 /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, 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, In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, 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); ^~~~~~~~~~~~~~~~~~~~~~ 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 /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, In file included from /usr/local/include/python3.7m/pystate.h:11, from /usr/local/include/python3.7m/traceback.h:8, from /usr/local/include/python3.7m/Python.h:119, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/detail/common.h:111, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pytypes.h:12, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/cast.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/attr.h:13, from /construction/science/py-dlib/dlib-19.19/dlib/external/pybind11/include/pybind11/pybind11.h:43, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python/pybind_utils.h:6, 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); ^~~~~~~~~~~~~~~~~~~~~~ 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/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/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/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/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/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/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/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/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/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/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/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/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/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/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/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/../dlib/python/pybind_utils.h:6, 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_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/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/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/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/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/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: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/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: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/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: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/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: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/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: 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/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/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/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/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/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/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/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/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/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/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/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/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/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/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/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/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/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/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/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/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/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/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/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/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/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/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/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/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/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/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/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/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/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/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/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/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/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/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/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/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/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/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/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/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/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/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/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/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/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/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/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/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/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/../dlib/python/pybind_utils.h:6, from /construction/science/py-dlib/dlib-19.19/dlib/../dlib/python.h:6, from /construction/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/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 -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for py37-dlib-19.19 ===> 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, Feb 14 2020, 09:29:59) 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.7-SYNTH-x86_64-3.7 -DPYTHON_EXECUTABLE=/usr/local/bin/python3.7 -DCMAKE_BUILD_TYPE=Release' -- pybind11 v2.2.2 -- Using CMake version: 3.16.4 -- 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.7-SYNTH-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.7-SYNTH-x86_64-3.7/dlib.so -> /construction/science/py-dlib/stage/usr/local/lib/python3.7/site-packages writing byte-compilation script '/tmp/tmp5lomevoi.py' /usr/local/bin/python3.7 /tmp/tmp5lomevoi.py removing /tmp/tmp5lomevoi.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 -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for py37-dlib-19.19 file sizes/checksums [6]: . done packing files [6]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Saturday, 15 FEB 2020 at 10:34:29 UTC Duration: 00:04:39