2023-09-08T16:32:34,685 Created temporary directory: /tmp/pip-build-tracker-v9_2zmdw 2023-09-08T16:32:34,686 Initialized build tracking at /tmp/pip-build-tracker-v9_2zmdw 2023-09-08T16:32:34,687 Created build tracker: /tmp/pip-build-tracker-v9_2zmdw 2023-09-08T16:32:34,687 Entered build tracker: /tmp/pip-build-tracker-v9_2zmdw 2023-09-08T16:32:34,688 Created temporary directory: /tmp/pip-wheel-xt4y8399 2023-09-08T16:32:34,691 Created temporary directory: /tmp/pip-ephem-wheel-cache-zxwkp17a 2023-09-08T16:32:34,712 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-08T16:32:34,716 2 location(s) to search for versions of dutc-didyoumean: 2023-09-08T16:32:34,716 * https://pypi.org/simple/dutc-didyoumean/ 2023-09-08T16:32:34,716 * https://www.piwheels.org/simple/dutc-didyoumean/ 2023-09-08T16:32:34,717 Fetching project page and analyzing links: https://pypi.org/simple/dutc-didyoumean/ 2023-09-08T16:32:34,718 Getting page https://pypi.org/simple/dutc-didyoumean/ 2023-09-08T16:32:34,719 Found index url https://pypi.org/simple/ 2023-09-08T16:32:34,870 Fetched page https://pypi.org/simple/dutc-didyoumean/ as application/vnd.pypi.simple.v1+json 2023-09-08T16:32:34,872 Found link https://files.pythonhosted.org/packages/f4/ac/4d88847a5a101f9e3988e7eea58ae12f550ba626cedd3139acaf1c1321cd/dutc-didyoumean-0.1.0.tar.gz (from https://pypi.org/simple/dutc-didyoumean/), version: 0.1.0 2023-09-08T16:32:34,873 Found link https://files.pythonhosted.org/packages/56/31/7d344140d868a1130edd1268b2a07b87fdee2c5d6b2d71f1ce832990d8e9/dutc-didyoumean-0.1.1.tar.gz (from https://pypi.org/simple/dutc-didyoumean/), version: 0.1.1 2023-09-08T16:32:34,873 Found link https://files.pythonhosted.org/packages/b2/20/63925a4df3d6fce3a7f1a0d032a6649099886fef597dd39be400d4d11816/dutc-didyoumean-0.1.2.tar.gz (from https://pypi.org/simple/dutc-didyoumean/), version: 0.1.2 2023-09-08T16:32:34,874 Found link https://files.pythonhosted.org/packages/a5/65/d5cbfe179d933223f5d3781b6d23c8654bd7ab5a8b3057e720ddf9cd4b04/dutc-didyoumean-0.1.3.tar.gz (from https://pypi.org/simple/dutc-didyoumean/), version: 0.1.3 2023-09-08T16:32:34,874 Found link https://files.pythonhosted.org/packages/b3/26/d91067e698ecafd577174e1b69bdf67d593a34d3a7ee4bade420e2546f42/dutc-didyoumean-0.1.4.tar.gz (from https://pypi.org/simple/dutc-didyoumean/), version: 0.1.4 2023-09-08T16:32:34,875 Found link https://files.pythonhosted.org/packages/a7/e3/e4e91533d6f2697008bdefc43f93d60f87a72d548546cdc4dc438ef9bcf0/dutc-didyoumean-0.1.5.tar.gz (from https://pypi.org/simple/dutc-didyoumean/), version: 0.1.5 2023-09-08T16:32:34,876 Found link https://files.pythonhosted.org/packages/ea/26/0efc77643705870a668138321ad1d83b8a82088593bd2accd4baaf7fad91/dutc-didyoumean-0.1.6.tar.gz (from https://pypi.org/simple/dutc-didyoumean/), version: 0.1.6 2023-09-08T16:32:34,877 Fetching project page and analyzing links: https://www.piwheels.org/simple/dutc-didyoumean/ 2023-09-08T16:32:34,878 Getting page https://www.piwheels.org/simple/dutc-didyoumean/ 2023-09-08T16:32:34,879 Found index url https://www.piwheels.org/simple/ 2023-09-08T16:32:35,148 Fetched page https://www.piwheels.org/simple/dutc-didyoumean/ as text/html 2023-09-08T16:32:35,150 Skipping link: not a file: https://www.piwheels.org/simple/dutc-didyoumean/ 2023-09-08T16:32:35,150 Skipping link: not a file: https://pypi.org/simple/dutc-didyoumean/ 2023-09-08T16:32:35,169 Given no hashes to check 1 links for project 'dutc-didyoumean': discarding no candidates 2023-09-08T16:32:35,187 Collecting dutc-didyoumean==0.1.6 2023-09-08T16:32:35,189 Created temporary directory: /tmp/pip-unpack-9amap1jz 2023-09-08T16:32:35,401 Downloading dutc-didyoumean-0.1.6.tar.gz (7.4 kB) 2023-09-08T16:32:35,432 Added dutc-didyoumean==0.1.6 from https://files.pythonhosted.org/packages/ea/26/0efc77643705870a668138321ad1d83b8a82088593bd2accd4baaf7fad91/dutc-didyoumean-0.1.6.tar.gz to build tracker '/tmp/pip-build-tracker-v9_2zmdw' 2023-09-08T16:32:35,434 Running setup.py (path:/tmp/pip-wheel-xt4y8399/dutc-didyoumean_4258003a20c24dbfb7731e484870e269/setup.py) egg_info for package dutc-didyoumean 2023-09-08T16:32:35,435 Created temporary directory: /tmp/pip-pip-egg-info-_7p6t6zf 2023-09-08T16:32:35,436 Preparing metadata (setup.py): started 2023-09-08T16:32:35,437 Running command python setup.py egg_info 2023-09-08T16:32:36,456 running egg_info 2023-09-08T16:32:36,457 creating /tmp/pip-pip-egg-info-_7p6t6zf/dutc_didyoumean.egg-info 2023-09-08T16:32:36,481 writing /tmp/pip-pip-egg-info-_7p6t6zf/dutc_didyoumean.egg-info/PKG-INFO 2023-09-08T16:32:36,485 writing dependency_links to /tmp/pip-pip-egg-info-_7p6t6zf/dutc_didyoumean.egg-info/dependency_links.txt 2023-09-08T16:32:36,487 writing top-level names to /tmp/pip-pip-egg-info-_7p6t6zf/dutc_didyoumean.egg-info/top_level.txt 2023-09-08T16:32:36,488 writing manifest file '/tmp/pip-pip-egg-info-_7p6t6zf/dutc_didyoumean.egg-info/SOURCES.txt' 2023-09-08T16:32:36,559 reading manifest file '/tmp/pip-pip-egg-info-_7p6t6zf/dutc_didyoumean.egg-info/SOURCES.txt' 2023-09-08T16:32:36,560 reading manifest template 'MANIFEST.in' 2023-09-08T16:32:36,566 writing manifest file '/tmp/pip-pip-egg-info-_7p6t6zf/dutc_didyoumean.egg-info/SOURCES.txt' 2023-09-08T16:32:36,677 Preparing metadata (setup.py): finished with status 'done' 2023-09-08T16:32:36,680 Source in /tmp/pip-wheel-xt4y8399/dutc-didyoumean_4258003a20c24dbfb7731e484870e269 has version 0.1.6, which satisfies requirement dutc-didyoumean==0.1.6 from https://files.pythonhosted.org/packages/ea/26/0efc77643705870a668138321ad1d83b8a82088593bd2accd4baaf7fad91/dutc-didyoumean-0.1.6.tar.gz 2023-09-08T16:32:36,681 Removed dutc-didyoumean==0.1.6 from https://files.pythonhosted.org/packages/ea/26/0efc77643705870a668138321ad1d83b8a82088593bd2accd4baaf7fad91/dutc-didyoumean-0.1.6.tar.gz from build tracker '/tmp/pip-build-tracker-v9_2zmdw' 2023-09-08T16:32:36,686 Created temporary directory: /tmp/pip-unpack-u_9fns5c 2023-09-08T16:32:36,687 Created temporary directory: /tmp/pip-unpack-mi3av_9b 2023-09-08T16:32:36,690 Building wheels for collected packages: dutc-didyoumean 2023-09-08T16:32:36,694 Created temporary directory: /tmp/pip-wheel-ym1x1npo 2023-09-08T16:32:36,695 Building wheel for dutc-didyoumean (setup.py): started 2023-09-08T16:32:36,696 Destination directory: /tmp/pip-wheel-ym1x1npo 2023-09-08T16:32:36,697 Running command python setup.py bdist_wheel 2023-09-08T16:32:37,672 running bdist_wheel 2023-09-08T16:32:37,762 running build 2023-09-08T16:32:37,763 running build_ext 2023-09-08T16:32:38,266 building 'didyoumean' extension 2023-09-08T16:32:38,266 creating build 2023-09-08T16:32:38,267 creating build/temp.linux-armv7l-cpython-311 2023-09-08T16:32:38,268 creating build/temp.linux-armv7l-cpython-311/src 2023-09-08T16:32:38,269 arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -Isrc -I/usr/include/python3.11 -c src/didyoumean.c -o build/temp.linux-armv7l-cpython-311/src/didyoumean.o 2023-09-08T16:32:38,625 In file included from src/didyoumean.c:3: 2023-09-08T16:32:38,625 src/hook.h:5:10: error: #error "This only works on x86_64" 2023-09-08T16:32:38,626 5 | #error "This only works on x86_64" 2023-09-08T16:32:38,627 | ^~~~~ 2023-09-08T16:32:38,637 src/didyoumean.c: In function ‘hooked_PyObject_GetAttr’: 2023-09-08T16:32:38,638 src/didyoumean.c:14:14: warning: implicit declaration of function ‘PyString_Check’; did you mean ‘PyMapping_Check’? [-Wimplicit-function-declaration] 2023-09-08T16:32:38,638 14 | if (!PyString_Check(name)) { 2023-09-08T16:32:38,639 | ^~~~~~~~~~~~~~ 2023-09-08T16:32:38,639 | PyMapping_Check 2023-09-08T16:32:38,675 src/didyoumean.c:20:32: warning: implicit declaration of function ‘_PyUnicode_AsDefaultEncodedString’; did you mean ‘PyUnicode_AsEncodedString’? [-Wimplicit-function-declaration] 2023-09-08T16:32:38,676 20 | name = _PyUnicode_AsDefaultEncodedString(name, NULL); 2023-09-08T16:32:38,676 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:32:38,677 | PyUnicode_AsEncodedString 2023-09-08T16:32:38,678 src/didyoumean.c:20:30: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T16:32:38,678 20 | name = _PyUnicode_AsDefaultEncodedString(name, NULL); 2023-09-08T16:32:38,679 | ^ 2023-09-08T16:32:38,692 src/didyoumean.c:37:43: warning: implicit declaration of function ‘PyString_AS_STRING’; did you mean ‘PyBytes_AS_STRING’? [-Wimplicit-function-declaration] 2023-09-08T16:32:38,693 37 | rv = (*tp->tp_getattr)(v, PyString_AS_STRING(name)); 2023-09-08T16:32:38,693 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T16:32:38,694 | PyBytes_AS_STRING 2023-09-08T16:32:38,694 src/didyoumean.c:37:43: warning: passing argument 2 of ‘tp->tp_getattr’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T16:32:38,695 37 | rv = (*tp->tp_getattr)(v, PyString_AS_STRING(name)); 2023-09-08T16:32:38,695 | ^~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:32:38,696 | | 2023-09-08T16:32:38,696 | int 2023-09-08T16:32:38,697 src/didyoumean.c:37:43: note: expected ‘char *’ but argument is of type ‘int’ 2023-09-08T16:32:38,704 src/didyoumean.c:64:46: warning: implicit declaration of function ‘PyString_Size’; did you mean ‘PyMapping_Size’? [-Wimplicit-function-declaration] 2023-09-08T16:32:38,704 64 | int candidate_dist = PyString_Size(name); 2023-09-08T16:32:38,705 | ^~~~~~~~~~~~~ 2023-09-08T16:32:38,705 | PyMapping_Size 2023-09-08T16:32:38,706 src/didyoumean.c:68:53: warning: passing argument 1 of ‘distance’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T16:32:38,706 68 | int dist = distance(PyString_AS_STRING(name), PyString_AS_STRING(item)); 2023-09-08T16:32:38,707 | ^~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:32:38,708 | | 2023-09-08T16:32:38,708 | int 2023-09-08T16:32:38,709 In file included from src/didyoumean.c:2: 2023-09-08T16:32:38,709 src/levenshtein.h:4:20: note: expected ‘char *’ but argument is of type ‘int’ 2023-09-08T16:32:38,710 4 | int distance(char* a, char* b); 2023-09-08T16:32:38,711 | ~~~~~~^ 2023-09-08T16:32:38,711 src/didyoumean.c:68:79: warning: passing argument 2 of ‘distance’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T16:32:38,712 68 | int dist = distance(PyString_AS_STRING(name), PyString_AS_STRING(item)); 2023-09-08T16:32:38,713 | ^~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:32:38,713 | | 2023-09-08T16:32:38,714 | int 2023-09-08T16:32:38,714 src/levenshtein.h:4:29: note: expected ‘char *’ but argument is of type ‘int’ 2023-09-08T16:32:38,715 4 | int distance(char* a, char* b); 2023-09-08T16:32:38,716 | ~~~~~~^ 2023-09-08T16:32:38,721 src/didyoumean.c:76:44: warning: implicit declaration of function ‘PyString_FromFormat’; did you mean ‘PyBytes_FromFormat’? [-Wimplicit-function-declaration] 2023-09-08T16:32:38,722 76 | newvalue = PyString_FromFormat("%s\n\nMaybe you meant: .%s\n", 2023-09-08T16:32:38,723 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T16:32:38,723 | PyBytes_FromFormat 2023-09-08T16:32:38,724 src/didyoumean.c:76:42: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T16:32:38,724 76 | newvalue = PyString_FromFormat("%s\n\nMaybe you meant: .%s\n", 2023-09-08T16:32:38,725 | ^ 2023-09-08T16:32:38,725 src/didyoumean.c: In function ‘hooked_builtin_getattr’: 2023-09-08T16:32:38,725 src/didyoumean.c:100:22: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T16:32:38,726 100 | name = _PyUnicode_AsDefaultEncodedString(name, NULL); 2023-09-08T16:32:38,726 | ^ 2023-09-08T16:32:38,736 src/didyoumean.c: In function ‘initdidyoumean’: 2023-09-08T16:32:38,737 src/didyoumean.c:145:9: warning: implicit declaration of function ‘Py_InitModule3’ [-Wimplicit-function-declaration] 2023-09-08T16:32:38,737 145 | Py_InitModule3("didyoumean", module_methods, module_doc); 2023-09-08T16:32:38,738 | ^~~~~~~~~~~~~~ 2023-09-08T16:32:38,750 src/didyoumean.c:152:33: warning: implicit declaration of function ‘PyString_FromString’; did you mean ‘PyLong_FromString’? [-Wimplicit-function-declaration] 2023-09-08T16:32:38,750 152 | PyObject* builtin_str = PyString_FromString("__builtin__"); 2023-09-08T16:32:38,752 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T16:32:38,754 | PyLong_FromString 2023-09-08T16:32:38,755 src/didyoumean.c:152:33: warning: initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T16:32:38,757 src/didyoumean.c:164:1: warning: control reaches end of non-void function [-Wreturn-type] 2023-09-08T16:32:38,758 164 | } 2023-09-08T16:32:38,759 | ^ 2023-09-08T16:32:38,761 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2023-09-08T16:32:38,904 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-08T16:32:38,918 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-08T16:32:38,918 exec(compile('"'"''"'"''"'"' 2023-09-08T16:32:38,918 # This is -- a caller that pip uses to run setup.py 2023-09-08T16:32:38,918 # 2023-09-08T16:32:38,918 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-08T16:32:38,918 # import from `distutils.core` to work with newer packaging standards. 2023-09-08T16:32:38,918 # - It provides a clear error message when setuptools is not installed. 2023-09-08T16:32:38,918 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-08T16:32:38,918 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-08T16:32:38,918 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-08T16:32:38,918 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-08T16:32:38,918 import os, sys, tokenize 2023-09-08T16:32:38,918 2023-09-08T16:32:38,918 try: 2023-09-08T16:32:38,918 import setuptools 2023-09-08T16:32:38,918 except ImportError as error: 2023-09-08T16:32:38,918 print( 2023-09-08T16:32:38,918 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-08T16:32:38,918 "the build environment.", 2023-09-08T16:32:38,918 file=sys.stderr, 2023-09-08T16:32:38,918 ) 2023-09-08T16:32:38,918 sys.exit(1) 2023-09-08T16:32:38,918 2023-09-08T16:32:38,918 __file__ = %r 2023-09-08T16:32:38,918 sys.argv[0] = __file__ 2023-09-08T16:32:38,918 2023-09-08T16:32:38,918 if os.path.exists(__file__): 2023-09-08T16:32:38,918 filename = __file__ 2023-09-08T16:32:38,918 with tokenize.open(__file__) as f: 2023-09-08T16:32:38,918 setup_py_code = f.read() 2023-09-08T16:32:38,918 else: 2023-09-08T16:32:38,918 filename = "" 2023-09-08T16:32:38,918 setup_py_code = "from setuptools import setup; setup()" 2023-09-08T16:32:38,918 2023-09-08T16:32:38,918 exec(compile(setup_py_code, filename, "exec")) 2023-09-08T16:32:38,918 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-xt4y8399/dutc-didyoumean_4258003a20c24dbfb7731e484870e269/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-ym1x1npo[/] 2023-09-08T16:32:38,918 [bold magenta]cwd[/]: /tmp/pip-wheel-xt4y8399/dutc-didyoumean_4258003a20c24dbfb7731e484870e269/ 2023-09-08T16:32:38,919 Building wheel for dutc-didyoumean (setup.py): finished with status 'error' 2023-09-08T16:32:38,921 ERROR: Failed building wheel for dutc-didyoumean 2023-09-08T16:32:38,922 Running setup.py clean for dutc-didyoumean 2023-09-08T16:32:38,923 Running command python setup.py clean 2023-09-08T16:32:39,902 running clean 2023-09-08T16:32:39,946 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2023-09-08T16:32:39,948 'build/lib.linux-armv7l-cpython-311' does not exist -- can't clean it 2023-09-08T16:32:39,948 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-08T16:32:39,949 'build/scripts-3.11' does not exist -- can't clean it 2023-09-08T16:32:39,949 removing 'build' 2023-09-08T16:32:40,059 Failed to build dutc-didyoumean 2023-09-08T16:32:40,060 ERROR: Failed to build one or more wheels 2023-09-08T16:32:40,061 Exception information: 2023-09-08T16:32:40,061 Traceback (most recent call last): 2023-09-08T16:32:40,061 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-08T16:32:40,061 status = run_func(*args) 2023-09-08T16:32:40,061 ^^^^^^^^^^^^^^^ 2023-09-08T16:32:40,061 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-08T16:32:40,061 return func(self, options, args) 2023-09-08T16:32:40,061 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T16:32:40,061 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-08T16:32:40,061 raise CommandError("Failed to build one or more wheels") 2023-09-08T16:32:40,061 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-08T16:32:40,064 Removed build tracker: '/tmp/pip-build-tracker-v9_2zmdw'