2023-09-10T13:33:02,162 Created temporary directory: /tmp/pip-build-tracker-jgdwab1a 2023-09-10T13:33:02,163 Initialized build tracking at /tmp/pip-build-tracker-jgdwab1a 2023-09-10T13:33:02,164 Created build tracker: /tmp/pip-build-tracker-jgdwab1a 2023-09-10T13:33:02,164 Entered build tracker: /tmp/pip-build-tracker-jgdwab1a 2023-09-10T13:33:02,165 Created temporary directory: /tmp/pip-wheel-5lxvzcd6 2023-09-10T13:33:02,168 Created temporary directory: /tmp/pip-ephem-wheel-cache-m45lgi9x 2023-09-10T13:33:02,190 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-10T13:33:02,193 2 location(s) to search for versions of xtimeout: 2023-09-10T13:33:02,193 * https://pypi.org/simple/xtimeout/ 2023-09-10T13:33:02,193 * https://www.piwheels.org/simple/xtimeout/ 2023-09-10T13:33:02,194 Fetching project page and analyzing links: https://pypi.org/simple/xtimeout/ 2023-09-10T13:33:02,195 Getting page https://pypi.org/simple/xtimeout/ 2023-09-10T13:33:02,196 Found index url https://pypi.org/simple/ 2023-09-10T13:33:02,413 Fetched page https://pypi.org/simple/xtimeout/ as application/vnd.pypi.simple.v1+json 2023-09-10T13:33:02,416 Found link https://files.pythonhosted.org/packages/d7/e0/8c873f5e81c1b42b79d71012d19196a1c78ea0582204f7957d218cd37ad0/xtimeout-0.1.0.1.tar.gz (from https://pypi.org/simple/xtimeout/), version: 0.1.0.1 2023-09-10T13:33:02,417 Skipping link: No binaries permitted for xtimeout: https://files.pythonhosted.org/packages/e9/f2/cff304b0c4e5a5b7f76840ee4e978ae6c7ef54a14e9bc7634392ee119e88/xtimeout-0.1.1-cp36-cp36m-win32.whl (from https://pypi.org/simple/xtimeout/) 2023-09-10T13:33:02,417 Found link https://files.pythonhosted.org/packages/05/84/222299f7279062fb57386a9434c23950fdb218604758a0c0293c2247da84/xtimeout-0.1.1.tar.gz (from https://pypi.org/simple/xtimeout/), version: 0.1.1 2023-09-10T13:33:02,418 Skipping link: No binaries permitted for xtimeout: https://files.pythonhosted.org/packages/1b/1d/244c465462e3424c596dc109ae558545da923a63edff27e33fac955d344b/xtimeout-0.1.2-cp36-cp36m-win32.whl (from https://pypi.org/simple/xtimeout/) 2023-09-10T13:33:02,418 Found link https://files.pythonhosted.org/packages/30/92/b92c98a4ca75eecd757ac2c363963e8e368f08b9489aa45244a2574dc215/xtimeout-0.1.2.tar.gz (from https://pypi.org/simple/xtimeout/), version: 0.1.2 2023-09-10T13:33:02,419 Skipping link: No binaries permitted for xtimeout: https://files.pythonhosted.org/packages/02/82/bd3a3cd28d6908c24e643f3c4ec3aa7d6b7bc046f5a6d7f15ac745fe241d/xtimeout-0.1.3-cp36-cp36m-win32.whl (from https://pypi.org/simple/xtimeout/) 2023-09-10T13:33:02,420 Found link https://files.pythonhosted.org/packages/84/68/5a5bfb404ebbfb9b4a769756ccc93266174262a742db4663b70a71b7a941/xtimeout-0.1.3.tar.gz (from https://pypi.org/simple/xtimeout/), version: 0.1.3 2023-09-10T13:33:02,421 Skipping link: No binaries permitted for xtimeout: https://files.pythonhosted.org/packages/7e/ee/3aa1a1e271ecb67be671e93ec53607acb3ee3e33cf0681c7a19b70de9693/xtimeout-0.2.0-cp36-cp36m-win32.whl (from https://pypi.org/simple/xtimeout/) 2023-09-10T13:33:02,422 Found link https://files.pythonhosted.org/packages/29/51/434d1defdc8369e2be34078e563dde8ace2f6dd1efb59611b3e7ed9df318/xtimeout-0.2.0.tar.gz (from https://pypi.org/simple/xtimeout/), version: 0.2.0 2023-09-10T13:33:02,422 Found link https://files.pythonhosted.org/packages/6f/07/64efe259993fb8250854c0d05e96b341a47e82df9df9cba9d2b2392077c4/xtimeout-0.3.1.tar.gz (from https://pypi.org/simple/xtimeout/), version: 0.3.1 2023-09-10T13:33:02,423 Fetching project page and analyzing links: https://www.piwheels.org/simple/xtimeout/ 2023-09-10T13:33:02,424 Getting page https://www.piwheels.org/simple/xtimeout/ 2023-09-10T13:33:02,425 Found index url https://www.piwheels.org/simple/ 2023-09-10T13:33:10,521 Fetched page https://www.piwheels.org/simple/xtimeout/ as text/html 2023-09-10T13:33:10,530 Skipping link: No binaries permitted for xtimeout: https://www.piwheels.org/simple/xtimeout/xtimeout-0.1.3-cp35-cp35m-linux_armv6l.whl#sha256=964202cf1bac8501a64976d9088b8ccb0131787f4dc7c85480e86b50e12f9ded (from https://www.piwheels.org/simple/xtimeout/) 2023-09-10T13:33:10,531 Skipping link: No binaries permitted for xtimeout: https://www.piwheels.org/simple/xtimeout/xtimeout-0.1.3-cp35-cp35m-linux_armv7l.whl#sha256=964202cf1bac8501a64976d9088b8ccb0131787f4dc7c85480e86b50e12f9ded (from https://www.piwheels.org/simple/xtimeout/) 2023-09-10T13:33:10,532 Skipping link: No binaries permitted for xtimeout: https://www.piwheels.org/simple/xtimeout/xtimeout-0.1.3-cp37-cp37m-linux_armv6l.whl#sha256=060706572a1612a88dee7fa9d0245a88a946618ed2d037adad843260f8211754 (from https://www.piwheels.org/simple/xtimeout/) 2023-09-10T13:33:10,533 Skipping link: No binaries permitted for xtimeout: https://www.piwheels.org/simple/xtimeout/xtimeout-0.1.3-cp37-cp37m-linux_armv7l.whl#sha256=060706572a1612a88dee7fa9d0245a88a946618ed2d037adad843260f8211754 (from https://www.piwheels.org/simple/xtimeout/) 2023-09-10T13:33:10,534 Skipping link: No binaries permitted for xtimeout: https://www.piwheels.org/simple/xtimeout/xtimeout-0.1.3-cp39-cp39-linux_armv6l.whl#sha256=6e489f979c4563c858fa7ab130d86c7738b256291ec6152b39256170c1d97659 (from https://www.piwheels.org/simple/xtimeout/) 2023-09-10T13:33:10,535 Skipping link: No binaries permitted for xtimeout: https://www.piwheels.org/simple/xtimeout/xtimeout-0.1.3-cp39-cp39-linux_armv7l.whl#sha256=6e489f979c4563c858fa7ab130d86c7738b256291ec6152b39256170c1d97659 (from https://www.piwheels.org/simple/xtimeout/) 2023-09-10T13:33:10,536 Skipping link: No binaries permitted for xtimeout: https://www.piwheels.org/simple/xtimeout/xtimeout-0.2.0-cp37-cp37m-linux_armv6l.whl#sha256=11bff280034230ff08879de02ee7923a2c7734869e190b47025eb5bcfde77bd1 (from https://www.piwheels.org/simple/xtimeout/) 2023-09-10T13:33:10,537 Skipping link: No binaries permitted for xtimeout: https://www.piwheels.org/simple/xtimeout/xtimeout-0.2.0-cp37-cp37m-linux_armv7l.whl#sha256=11bff280034230ff08879de02ee7923a2c7734869e190b47025eb5bcfde77bd1 (from https://www.piwheels.org/simple/xtimeout/) 2023-09-10T13:33:10,538 Skipping link: No binaries permitted for xtimeout: https://www.piwheels.org/simple/xtimeout/xtimeout-0.2.0-cp39-cp39-linux_armv6l.whl#sha256=40bb62eb2334c0f92ae8a27009447229eea712168148a7f5febbe87368516083 (from https://www.piwheels.org/simple/xtimeout/) 2023-09-10T13:33:10,539 Skipping link: No binaries permitted for xtimeout: https://www.piwheels.org/simple/xtimeout/xtimeout-0.2.0-cp39-cp39-linux_armv7l.whl#sha256=40bb62eb2334c0f92ae8a27009447229eea712168148a7f5febbe87368516083 (from https://www.piwheels.org/simple/xtimeout/) 2023-09-10T13:33:10,540 Skipping link: No binaries permitted for xtimeout: https://www.piwheels.org/simple/xtimeout/xtimeout-0.3.1-cp37-cp37m-linux_armv6l.whl#sha256=1c408ef8a837abf1247bbda6cf54993ea0454ababe7790b1614288b7cf581bdb (from https://www.piwheels.org/simple/xtimeout/) 2023-09-10T13:33:10,541 Skipping link: No binaries permitted for xtimeout: https://www.piwheels.org/simple/xtimeout/xtimeout-0.3.1-cp37-cp37m-linux_armv7l.whl#sha256=1c408ef8a837abf1247bbda6cf54993ea0454ababe7790b1614288b7cf581bdb (from https://www.piwheels.org/simple/xtimeout/) 2023-09-10T13:33:10,542 Skipping link: not a file: https://www.piwheels.org/simple/xtimeout/ 2023-09-10T13:33:10,543 Skipping link: not a file: https://pypi.org/simple/xtimeout/ 2023-09-10T13:33:10,582 Given no hashes to check 1 links for project 'xtimeout': discarding no candidates 2023-09-10T13:33:10,619 Collecting xtimeout==0.1.0.1 2023-09-10T13:33:10,623 Created temporary directory: /tmp/pip-unpack-qeugi5uv 2023-09-10T13:33:11,348 Downloading xtimeout-0.1.0.1.tar.gz (6.0 kB) 2023-09-10T13:33:11,384 Added xtimeout==0.1.0.1 from https://files.pythonhosted.org/packages/d7/e0/8c873f5e81c1b42b79d71012d19196a1c78ea0582204f7957d218cd37ad0/xtimeout-0.1.0.1.tar.gz to build tracker '/tmp/pip-build-tracker-jgdwab1a' 2023-09-10T13:33:11,387 Running setup.py (path:/tmp/pip-wheel-5lxvzcd6/xtimeout_85bae1c19cba4059beac0d5d9966636b/setup.py) egg_info for package xtimeout 2023-09-10T13:33:11,388 Created temporary directory: /tmp/pip-pip-egg-info-4jq4gj3g 2023-09-10T13:33:11,389 Preparing metadata (setup.py): started 2023-09-10T13:33:11,391 Running command python setup.py egg_info 2023-09-10T13:33:12,436 running egg_info 2023-09-10T13:33:12,438 creating /tmp/pip-pip-egg-info-4jq4gj3g/xtimeout.egg-info 2023-09-10T13:33:12,461 writing /tmp/pip-pip-egg-info-4jq4gj3g/xtimeout.egg-info/PKG-INFO 2023-09-10T13:33:12,464 writing dependency_links to /tmp/pip-pip-egg-info-4jq4gj3g/xtimeout.egg-info/dependency_links.txt 2023-09-10T13:33:12,466 writing top-level names to /tmp/pip-pip-egg-info-4jq4gj3g/xtimeout.egg-info/top_level.txt 2023-09-10T13:33:12,467 writing manifest file '/tmp/pip-pip-egg-info-4jq4gj3g/xtimeout.egg-info/SOURCES.txt' 2023-09-10T13:33:12,565 reading manifest file '/tmp/pip-pip-egg-info-4jq4gj3g/xtimeout.egg-info/SOURCES.txt' 2023-09-10T13:33:12,568 writing manifest file '/tmp/pip-pip-egg-info-4jq4gj3g/xtimeout.egg-info/SOURCES.txt' 2023-09-10T13:33:12,673 Preparing metadata (setup.py): finished with status 'done' 2023-09-10T13:33:12,676 Source in /tmp/pip-wheel-5lxvzcd6/xtimeout_85bae1c19cba4059beac0d5d9966636b has version 0.1.0.1, which satisfies requirement xtimeout==0.1.0.1 from https://files.pythonhosted.org/packages/d7/e0/8c873f5e81c1b42b79d71012d19196a1c78ea0582204f7957d218cd37ad0/xtimeout-0.1.0.1.tar.gz 2023-09-10T13:33:12,677 Removed xtimeout==0.1.0.1 from https://files.pythonhosted.org/packages/d7/e0/8c873f5e81c1b42b79d71012d19196a1c78ea0582204f7957d218cd37ad0/xtimeout-0.1.0.1.tar.gz from build tracker '/tmp/pip-build-tracker-jgdwab1a' 2023-09-10T13:33:12,681 Created temporary directory: /tmp/pip-unpack-8ap11xee 2023-09-10T13:33:12,682 Created temporary directory: /tmp/pip-unpack-7chwk2z9 2023-09-10T13:33:12,685 Building wheels for collected packages: xtimeout 2023-09-10T13:33:12,689 Created temporary directory: /tmp/pip-wheel-srb63wgz 2023-09-10T13:33:12,689 Building wheel for xtimeout (setup.py): started 2023-09-10T13:33:12,691 Destination directory: /tmp/pip-wheel-srb63wgz 2023-09-10T13:33:12,691 Running command python setup.py bdist_wheel 2023-09-10T13:33:13,883 running bdist_wheel 2023-09-10T13:33:13,976 running build 2023-09-10T13:33:13,976 running build_py 2023-09-10T13:33:14,002 creating build 2023-09-10T13:33:14,003 creating build/lib.linux-armv7l-cpython-311 2023-09-10T13:33:14,004 copying src/xtimeout.py -> build/lib.linux-armv7l-cpython-311 2023-09-10T13:33:14,006 running build_ext 2023-09-10T13:33:14,507 building '_xtimeout' extension 2023-09-10T13:33:14,507 creating build/temp.linux-armv7l-cpython-311 2023-09-10T13:33:14,508 creating build/temp.linux-armv7l-cpython-311/src 2023-09-10T13:33:14,509 arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/include/python3.11 -c src/_xtimeout.cpp -o build/temp.linux-armv7l-cpython-311/src/_xtimeout.o 2023-09-10T13:33:16,893 src/_xtimeout.cpp: In member function ‘void CThreadState::SwapState()’: 2023-09-10T13:33:16,894 src/_xtimeout.cpp:71:31: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] 2023-09-10T13:33:16,894 71 | PyThread_set_key_value(g_PyTLSKey, m_State); 2023-09-10T13:33:16,895 | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 2023-09-10T13:33:16,896 In file included from /usr/include/python3.11/Python.h:89, 2023-09-10T13:33:16,896 from src/_xtimeout.cpp:1: 2023-09-10T13:33:16,897 /usr/include/python3.11/pythread.h:98:36: note: declared here 2023-09-10T13:33:16,898 98 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, 2023-09-10T13:33:16,898 | ^~~~~~~~~~~~~~~~~~~~~~ 2023-09-10T13:33:16,899 src/_xtimeout.cpp: In member function ‘void CThreadState::RestoreState()’: 2023-09-10T13:33:16,900 src/_xtimeout.cpp:82:31: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations] 2023-09-10T13:33:16,901 82 | PyThread_set_key_value(g_PyTLSKey, m_PrevState); 2023-09-10T13:33:16,901 | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-10T13:33:16,902 /usr/include/python3.11/pythread.h:98:36: note: declared here 2023-09-10T13:33:16,903 98 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key, 2023-09-10T13:33:16,903 | ^~~~~~~~~~~~~~~~~~~~~~ 2023-09-10T13:33:17,014 src/_xtimeout.cpp: In member function ‘void CContextHelper::Start(const std::shared_ptr&)’: 2023-09-10T13:33:17,014 src/_xtimeout.cpp:353:22: error: ‘bind’ is not a member of ‘std’ 2023-09-10T13:33:17,015 353 | std::bind(&CContextHelper::CheckThread, this)); 2023-09-10T13:33:17,015 | ^~~~ 2023-09-10T13:33:17,016 src/_xtimeout.cpp:16:1: note: ‘std::bind’ is defined in header ‘’; did you forget to ‘#include ’? 2023-09-10T13:33:17,016 15 | #include 2023-09-10T13:33:17,017 +++ |+#include 2023-09-10T13:33:17,017 16 | 2023-09-10T13:33:17,058 src/_xtimeout.cpp: In member function ‘void CContextHelper::CheckThread()’: 2023-09-10T13:33:17,059 src/_xtimeout.cpp:386:50: error: ‘MAXLONGLONG’ was not declared in this scope; did you mean ‘PY_LONG_LONG’? 2023-09-10T13:33:17,059 386 | std::chrono::nanoseconds minSpan(MAXLONGLONG); 2023-09-10T13:33:17,060 | ^~~~~~~~~~~ 2023-09-10T13:33:17,061 | PY_LONG_LONG 2023-09-10T13:33:17,061 src/_xtimeout.cpp:393:59: error: cannot bind non-const lvalue reference of type ‘std::chrono::duration >&’ to an rvalue of type ‘std::chrono::milliseconds’ {aka ‘std::chrono::duration >’} 2023-09-10T13:33:17,062 393 | auto& duration = injector->GetDuration(); 2023-09-10T13:33:17,063 | ~~~~~~~~~~~~~~~~~~~~~^~ 2023-09-10T13:33:17,073 src/_xtimeout.cpp: In function ‘int GetPyThreadIndex()’: 2023-09-10T13:33:17,074 src/_xtimeout.cpp:487:45: warning: ‘void* PyThread_get_key_value(int)’ is deprecated [-Wdeprecated-declarations] 2023-09-10T13:33:17,075 487 | void* value = PyThread_get_key_value(i); 2023-09-10T13:33:17,076 | ~~~~~~~~~~~~~~~~~~~~~~^~~ 2023-09-10T13:33:17,076 /usr/include/python3.11/pythread.h:100:39: note: declared here 2023-09-10T13:33:17,077 100 | Py_DEPRECATED(3.7) PyAPI_FUNC(void *) PyThread_get_key_value(int key); 2023-09-10T13:33:17,078 | ^~~~~~~~~~~~~~~~~~~~~~ 2023-09-10T13:33:17,685 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2023-09-10T13:33:17,821 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-10T13:33:17,834 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-10T13:33:17,834 exec(compile('"'"''"'"''"'"' 2023-09-10T13:33:17,834 # This is -- a caller that pip uses to run setup.py 2023-09-10T13:33:17,834 # 2023-09-10T13:33:17,834 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-10T13:33:17,834 # import from `distutils.core` to work with newer packaging standards. 2023-09-10T13:33:17,834 # - It provides a clear error message when setuptools is not installed. 2023-09-10T13:33:17,834 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-10T13:33:17,834 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-10T13:33:17,834 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-10T13:33:17,834 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-10T13:33:17,834 import os, sys, tokenize 2023-09-10T13:33:17,834 2023-09-10T13:33:17,834 try: 2023-09-10T13:33:17,834 import setuptools 2023-09-10T13:33:17,834 except ImportError as error: 2023-09-10T13:33:17,834 print( 2023-09-10T13:33:17,834 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-10T13:33:17,834 "the build environment.", 2023-09-10T13:33:17,834 file=sys.stderr, 2023-09-10T13:33:17,834 ) 2023-09-10T13:33:17,834 sys.exit(1) 2023-09-10T13:33:17,834 2023-09-10T13:33:17,834 __file__ = %r 2023-09-10T13:33:17,834 sys.argv[0] = __file__ 2023-09-10T13:33:17,834 2023-09-10T13:33:17,834 if os.path.exists(__file__): 2023-09-10T13:33:17,834 filename = __file__ 2023-09-10T13:33:17,834 with tokenize.open(__file__) as f: 2023-09-10T13:33:17,834 setup_py_code = f.read() 2023-09-10T13:33:17,834 else: 2023-09-10T13:33:17,834 filename = "" 2023-09-10T13:33:17,834 setup_py_code = "from setuptools import setup; setup()" 2023-09-10T13:33:17,834 2023-09-10T13:33:17,834 exec(compile(setup_py_code, filename, "exec")) 2023-09-10T13:33:17,834 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-5lxvzcd6/xtimeout_85bae1c19cba4059beac0d5d9966636b/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-srb63wgz[/] 2023-09-10T13:33:17,835 [bold magenta]cwd[/]: /tmp/pip-wheel-5lxvzcd6/xtimeout_85bae1c19cba4059beac0d5d9966636b/ 2023-09-10T13:33:17,836 Building wheel for xtimeout (setup.py): finished with status 'error' 2023-09-10T13:33:17,837 ERROR: Failed building wheel for xtimeout 2023-09-10T13:33:17,838 Running setup.py clean for xtimeout 2023-09-10T13:33:17,839 Running command python setup.py clean 2023-09-10T13:33:18,812 running clean 2023-09-10T13:33:18,858 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2023-09-10T13:33:18,859 removing 'build/lib.linux-armv7l-cpython-311' (and everything under it) 2023-09-10T13:33:18,861 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-10T13:33:18,861 'build/scripts-3.11' does not exist -- can't clean it 2023-09-10T13:33:18,862 removing 'build' 2023-09-10T13:33:18,966 Failed to build xtimeout 2023-09-10T13:33:18,967 ERROR: Failed to build one or more wheels 2023-09-10T13:33:18,969 Exception information: 2023-09-10T13:33:18,969 Traceback (most recent call last): 2023-09-10T13:33:18,969 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-10T13:33:18,969 status = run_func(*args) 2023-09-10T13:33:18,969 ^^^^^^^^^^^^^^^ 2023-09-10T13:33:18,969 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-10T13:33:18,969 return func(self, options, args) 2023-09-10T13:33:18,969 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-10T13:33:18,969 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-10T13:33:18,969 raise CommandError("Failed to build one or more wheels") 2023-09-10T13:33:18,969 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-10T13:33:18,972 Removed build tracker: '/tmp/pip-build-tracker-jgdwab1a'