2023-09-08T16:32:23,100 Created temporary directory: /tmp/pip-build-tracker-os6grd6p 2023-09-08T16:32:23,101 Initialized build tracking at /tmp/pip-build-tracker-os6grd6p 2023-09-08T16:32:23,102 Created build tracker: /tmp/pip-build-tracker-os6grd6p 2023-09-08T16:32:23,102 Entered build tracker: /tmp/pip-build-tracker-os6grd6p 2023-09-08T16:32:23,103 Created temporary directory: /tmp/pip-wheel-s6wppc21 2023-09-08T16:32:23,106 Created temporary directory: /tmp/pip-ephem-wheel-cache-ylc_4s7l 2023-09-08T16:32:23,127 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-08T16:32:23,131 2 location(s) to search for versions of dutc-didyoumean: 2023-09-08T16:32:23,131 * https://pypi.org/simple/dutc-didyoumean/ 2023-09-08T16:32:23,131 * https://www.piwheels.org/simple/dutc-didyoumean/ 2023-09-08T16:32:23,132 Fetching project page and analyzing links: https://pypi.org/simple/dutc-didyoumean/ 2023-09-08T16:32:23,133 Getting page https://pypi.org/simple/dutc-didyoumean/ 2023-09-08T16:32:23,134 Found index url https://pypi.org/simple/ 2023-09-08T16:32:23,299 Fetched page https://pypi.org/simple/dutc-didyoumean/ as application/vnd.pypi.simple.v1+json 2023-09-08T16:32:23,301 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:23,302 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:23,303 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:23,303 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:23,304 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:23,305 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:23,305 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:23,306 Fetching project page and analyzing links: https://www.piwheels.org/simple/dutc-didyoumean/ 2023-09-08T16:32:23,307 Getting page https://www.piwheels.org/simple/dutc-didyoumean/ 2023-09-08T16:32:23,308 Found index url https://www.piwheels.org/simple/ 2023-09-08T16:32:24,034 Fetched page https://www.piwheels.org/simple/dutc-didyoumean/ as text/html 2023-09-08T16:32:24,036 Skipping link: not a file: https://www.piwheels.org/simple/dutc-didyoumean/ 2023-09-08T16:32:24,038 Skipping link: not a file: https://pypi.org/simple/dutc-didyoumean/ 2023-09-08T16:32:24,082 Given no hashes to check 1 links for project 'dutc-didyoumean': discarding no candidates 2023-09-08T16:32:24,114 Collecting dutc-didyoumean==0.1.5 2023-09-08T16:32:24,116 Created temporary directory: /tmp/pip-unpack-10333sc6 2023-09-08T16:32:24,336 Downloading dutc-didyoumean-0.1.5.tar.gz (7.0 kB) 2023-09-08T16:32:24,366 Added dutc-didyoumean==0.1.5 from https://files.pythonhosted.org/packages/a7/e3/e4e91533d6f2697008bdefc43f93d60f87a72d548546cdc4dc438ef9bcf0/dutc-didyoumean-0.1.5.tar.gz to build tracker '/tmp/pip-build-tracker-os6grd6p' 2023-09-08T16:32:24,368 Running setup.py (path:/tmp/pip-wheel-s6wppc21/dutc-didyoumean_8fa496dcaf88405faed934a37e8d5bf9/setup.py) egg_info for package dutc-didyoumean 2023-09-08T16:32:24,369 Created temporary directory: /tmp/pip-pip-egg-info-ujajy88h 2023-09-08T16:32:24,370 Preparing metadata (setup.py): started 2023-09-08T16:32:24,371 Running command python setup.py egg_info 2023-09-08T16:32:25,346 running egg_info 2023-09-08T16:32:25,348 creating /tmp/pip-pip-egg-info-ujajy88h/dutc_didyoumean.egg-info 2023-09-08T16:32:25,372 writing /tmp/pip-pip-egg-info-ujajy88h/dutc_didyoumean.egg-info/PKG-INFO 2023-09-08T16:32:25,375 writing dependency_links to /tmp/pip-pip-egg-info-ujajy88h/dutc_didyoumean.egg-info/dependency_links.txt 2023-09-08T16:32:25,377 writing top-level names to /tmp/pip-pip-egg-info-ujajy88h/dutc_didyoumean.egg-info/top_level.txt 2023-09-08T16:32:25,378 writing manifest file '/tmp/pip-pip-egg-info-ujajy88h/dutc_didyoumean.egg-info/SOURCES.txt' 2023-09-08T16:32:25,450 reading manifest file '/tmp/pip-pip-egg-info-ujajy88h/dutc_didyoumean.egg-info/SOURCES.txt' 2023-09-08T16:32:25,451 reading manifest template 'MANIFEST.in' 2023-09-08T16:32:25,452 warning: no files found matching 'requirements.txt' 2023-09-08T16:32:25,457 writing manifest file '/tmp/pip-pip-egg-info-ujajy88h/dutc_didyoumean.egg-info/SOURCES.txt' 2023-09-08T16:32:25,568 Preparing metadata (setup.py): finished with status 'done' 2023-09-08T16:32:25,572 Source in /tmp/pip-wheel-s6wppc21/dutc-didyoumean_8fa496dcaf88405faed934a37e8d5bf9 has version 0.1.5, which satisfies requirement dutc-didyoumean==0.1.5 from https://files.pythonhosted.org/packages/a7/e3/e4e91533d6f2697008bdefc43f93d60f87a72d548546cdc4dc438ef9bcf0/dutc-didyoumean-0.1.5.tar.gz 2023-09-08T16:32:25,573 Removed dutc-didyoumean==0.1.5 from https://files.pythonhosted.org/packages/a7/e3/e4e91533d6f2697008bdefc43f93d60f87a72d548546cdc4dc438ef9bcf0/dutc-didyoumean-0.1.5.tar.gz from build tracker '/tmp/pip-build-tracker-os6grd6p' 2023-09-08T16:32:25,577 Created temporary directory: /tmp/pip-unpack-pkmm319i 2023-09-08T16:32:25,578 Created temporary directory: /tmp/pip-unpack-wd4r4_l2 2023-09-08T16:32:25,581 Building wheels for collected packages: dutc-didyoumean 2023-09-08T16:32:25,585 Created temporary directory: /tmp/pip-wheel-ken6czwl 2023-09-08T16:32:25,586 Building wheel for dutc-didyoumean (setup.py): started 2023-09-08T16:32:25,587 Destination directory: /tmp/pip-wheel-ken6czwl 2023-09-08T16:32:25,587 Running command python setup.py bdist_wheel 2023-09-08T16:32:26,561 running bdist_wheel 2023-09-08T16:32:26,652 running build 2023-09-08T16:32:26,653 running build_ext 2023-09-08T16:32:27,157 building 'didyoumean' extension 2023-09-08T16:32:27,157 creating build 2023-09-08T16:32:27,158 creating build/temp.linux-armv7l-cpython-311 2023-09-08T16:32:27,159 creating build/temp.linux-armv7l-cpython-311/src 2023-09-08T16:32:27,159 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:27,519 In file included from src/didyoumean.c:3: 2023-09-08T16:32:27,520 src/hook.h:5:10: error: #error "This only works on x86_64" 2023-09-08T16:32:27,520 5 | #error "This only works on x86_64" 2023-09-08T16:32:27,521 | ^~~~~ 2023-09-08T16:32:27,531 src/didyoumean.c: In function ‘hooked_PyObject_GetAttr’: 2023-09-08T16:32:27,532 src/didyoumean.c:15:14: warning: implicit declaration of function ‘PyString_Check’; did you mean ‘PyMapping_Check’? [-Wimplicit-function-declaration] 2023-09-08T16:32:27,533 15 | if (!PyString_Check(name)) { 2023-09-08T16:32:27,533 | ^~~~~~~~~~~~~~ 2023-09-08T16:32:27,534 | PyMapping_Check 2023-09-08T16:32:27,569 src/didyoumean.c:21:32: warning: implicit declaration of function ‘_PyUnicode_AsDefaultEncodedString’; did you mean ‘PyUnicode_AsEncodedString’? [-Wimplicit-function-declaration] 2023-09-08T16:32:27,569 21 | name = _PyUnicode_AsDefaultEncodedString(name, NULL); 2023-09-08T16:32:27,570 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:32:27,571 | PyUnicode_AsEncodedString 2023-09-08T16:32:27,571 src/didyoumean.c:21:30: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T16:32:27,572 21 | name = _PyUnicode_AsDefaultEncodedString(name, NULL); 2023-09-08T16:32:27,572 | ^ 2023-09-08T16:32:27,586 src/didyoumean.c:38:43: warning: implicit declaration of function ‘PyString_AS_STRING’; did you mean ‘PyBytes_AS_STRING’? [-Wimplicit-function-declaration] 2023-09-08T16:32:27,587 38 | rv = (*tp->tp_getattr)(v, PyString_AS_STRING(name)); 2023-09-08T16:32:27,587 | ^~~~~~~~~~~~~~~~~~ 2023-09-08T16:32:27,587 | PyBytes_AS_STRING 2023-09-08T16:32:27,588 src/didyoumean.c:38:43: warning: passing argument 2 of ‘tp->tp_getattr’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T16:32:27,588 38 | rv = (*tp->tp_getattr)(v, PyString_AS_STRING(name)); 2023-09-08T16:32:27,589 | ^~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:32:27,589 | | 2023-09-08T16:32:27,590 | int 2023-09-08T16:32:27,590 src/didyoumean.c:38:43: note: expected ‘char *’ but argument is of type ‘int’ 2023-09-08T16:32:27,599 src/didyoumean.c:65:46: warning: implicit declaration of function ‘PyString_Size’; did you mean ‘PyMapping_Size’? [-Wimplicit-function-declaration] 2023-09-08T16:32:27,599 65 | int candidate_dist = PyString_Size(name); 2023-09-08T16:32:27,600 | ^~~~~~~~~~~~~ 2023-09-08T16:32:27,601 | PyMapping_Size 2023-09-08T16:32:27,601 src/didyoumean.c:69:53: warning: passing argument 1 of ‘distance’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T16:32:27,602 69 | int dist = distance(PyString_AS_STRING(name), PyString_AS_STRING(item)); 2023-09-08T16:32:27,602 | ^~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:32:27,603 | | 2023-09-08T16:32:27,603 | int 2023-09-08T16:32:27,604 In file included from src/didyoumean.c:2: 2023-09-08T16:32:27,605 src/levenshtein.h:4:20: note: expected ‘char *’ but argument is of type ‘int’ 2023-09-08T16:32:27,605 4 | int distance(char* a, char* b); 2023-09-08T16:32:27,606 | ~~~~~~^ 2023-09-08T16:32:27,606 src/didyoumean.c:69:79: warning: passing argument 2 of ‘distance’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T16:32:27,607 69 | int dist = distance(PyString_AS_STRING(name), PyString_AS_STRING(item)); 2023-09-08T16:32:27,607 | ^~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-08T16:32:27,608 | | 2023-09-08T16:32:27,608 | int 2023-09-08T16:32:27,609 src/levenshtein.h:4:29: note: expected ‘char *’ but argument is of type ‘int’ 2023-09-08T16:32:27,610 4 | int distance(char* a, char* b); 2023-09-08T16:32:27,610 | ~~~~~~^ 2023-09-08T16:32:27,618 src/didyoumean.c:77:44: warning: implicit declaration of function ‘PyString_FromFormat’; did you mean ‘PyBytes_FromFormat’? [-Wimplicit-function-declaration] 2023-09-08T16:32:27,619 77 | newvalue = PyString_FromFormat("%s\n\nMaybe you meant: .%s\n", 2023-09-08T16:32:27,620 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T16:32:27,620 | PyBytes_FromFormat 2023-09-08T16:32:27,621 src/didyoumean.c:77:42: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T16:32:27,621 77 | newvalue = PyString_FromFormat("%s\n\nMaybe you meant: .%s\n", 2023-09-08T16:32:27,622 | ^ 2023-09-08T16:32:27,622 src/didyoumean.c: In function ‘hooked_builtin_getattr’: 2023-09-08T16:32:27,623 src/didyoumean.c:105:14: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T16:32:27,623 105 | name = _PyUnicode_AsDefaultEncodedString(name, NULL); 2023-09-08T16:32:27,623 | ^ 2023-09-08T16:32:27,635 src/didyoumean.c: In function ‘initdidyoumean’: 2023-09-08T16:32:27,636 src/didyoumean.c:146:9: warning: implicit declaration of function ‘Py_InitModule3’ [-Wimplicit-function-declaration] 2023-09-08T16:32:27,636 146 | Py_InitModule3("didyoumean", module_methods, module_doc); 2023-09-08T16:32:27,637 | ^~~~~~~~~~~~~~ 2023-09-08T16:32:27,649 src/didyoumean.c:153:33: warning: implicit declaration of function ‘PyString_FromString’; did you mean ‘PyLong_FromString’? [-Wimplicit-function-declaration] 2023-09-08T16:32:27,649 153 | PyObject* builtin_str = PyString_FromString("__builtin__"); 2023-09-08T16:32:27,650 | ^~~~~~~~~~~~~~~~~~~ 2023-09-08T16:32:27,652 | PyLong_FromString 2023-09-08T16:32:27,653 src/didyoumean.c:153:33: warning: initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2023-09-08T16:32:27,657 src/didyoumean.c:164:1: warning: control reaches end of non-void function [-Wreturn-type] 2023-09-08T16:32:27,658 164 | } 2023-09-08T16:32:27,658 | ^ 2023-09-08T16:32:27,661 error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 2023-09-08T16:32:27,804 ERROR: [present-rich] python setup.py bdist_wheel exited with 1 2023-09-08T16:32:27,817 [bold magenta]full command[/]: [blue]/usr/bin/python3 -u -c ' 2023-09-08T16:32:27,817 exec(compile('"'"''"'"''"'"' 2023-09-08T16:32:27,817 # This is -- a caller that pip uses to run setup.py 2023-09-08T16:32:27,817 # 2023-09-08T16:32:27,817 # - It imports setuptools before invoking setup.py, to enable projects that directly 2023-09-08T16:32:27,817 # import from `distutils.core` to work with newer packaging standards. 2023-09-08T16:32:27,817 # - It provides a clear error message when setuptools is not installed. 2023-09-08T16:32:27,817 # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so 2023-09-08T16:32:27,817 # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: 2023-09-08T16:32:27,817 # manifest_maker: standard file '"'"'-c'"'"' not found". 2023-09-08T16:32:27,817 # - It generates a shim setup.py, for handling setup.cfg-only projects. 2023-09-08T16:32:27,817 import os, sys, tokenize 2023-09-08T16:32:27,817 2023-09-08T16:32:27,817 try: 2023-09-08T16:32:27,817 import setuptools 2023-09-08T16:32:27,817 except ImportError as error: 2023-09-08T16:32:27,817 print( 2023-09-08T16:32:27,817 "ERROR: Can not execute `setup.py` since setuptools is not available in " 2023-09-08T16:32:27,817 "the build environment.", 2023-09-08T16:32:27,817 file=sys.stderr, 2023-09-08T16:32:27,817 ) 2023-09-08T16:32:27,817 sys.exit(1) 2023-09-08T16:32:27,817 2023-09-08T16:32:27,817 __file__ = %r 2023-09-08T16:32:27,817 sys.argv[0] = __file__ 2023-09-08T16:32:27,817 2023-09-08T16:32:27,817 if os.path.exists(__file__): 2023-09-08T16:32:27,817 filename = __file__ 2023-09-08T16:32:27,817 with tokenize.open(__file__) as f: 2023-09-08T16:32:27,817 setup_py_code = f.read() 2023-09-08T16:32:27,817 else: 2023-09-08T16:32:27,817 filename = "" 2023-09-08T16:32:27,817 setup_py_code = "from setuptools import setup; setup()" 2023-09-08T16:32:27,817 2023-09-08T16:32:27,817 exec(compile(setup_py_code, filename, "exec")) 2023-09-08T16:32:27,817 '"'"''"'"''"'"' % ('"'"'/tmp/pip-wheel-s6wppc21/dutc-didyoumean_8fa496dcaf88405faed934a37e8d5bf9/setup.py'"'"',), "", "exec"))' bdist_wheel -d /tmp/pip-wheel-ken6czwl[/] 2023-09-08T16:32:27,818 [bold magenta]cwd[/]: /tmp/pip-wheel-s6wppc21/dutc-didyoumean_8fa496dcaf88405faed934a37e8d5bf9/ 2023-09-08T16:32:27,819 Building wheel for dutc-didyoumean (setup.py): finished with status 'error' 2023-09-08T16:32:27,820 ERROR: Failed building wheel for dutc-didyoumean 2023-09-08T16:32:27,821 Running setup.py clean for dutc-didyoumean 2023-09-08T16:32:27,822 Running command python setup.py clean 2023-09-08T16:32:28,805 running clean 2023-09-08T16:32:28,851 removing 'build/temp.linux-armv7l-cpython-311' (and everything under it) 2023-09-08T16:32:28,853 'build/lib.linux-armv7l-cpython-311' does not exist -- can't clean it 2023-09-08T16:32:28,854 'build/bdist.linux-armv7l' does not exist -- can't clean it 2023-09-08T16:32:28,854 'build/scripts-3.11' does not exist -- can't clean it 2023-09-08T16:32:28,855 removing 'build' 2023-09-08T16:32:28,964 Failed to build dutc-didyoumean 2023-09-08T16:32:28,965 ERROR: Failed to build one or more wheels 2023-09-08T16:32:28,967 Exception information: 2023-09-08T16:32:28,967 Traceback (most recent call last): 2023-09-08T16:32:28,967 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-08T16:32:28,967 status = run_func(*args) 2023-09-08T16:32:28,967 ^^^^^^^^^^^^^^^ 2023-09-08T16:32:28,967 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-08T16:32:28,967 return func(self, options, args) 2023-09-08T16:32:28,967 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-08T16:32:28,967 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-08T16:32:28,967 raise CommandError("Failed to build one or more wheels") 2023-09-08T16:32:28,967 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-08T16:32:28,970 Removed build tracker: '/tmp/pip-build-tracker-os6grd6p'