2021-07-08T17:49:48,235 Created temporary directory: /tmp/pip-ephem-wheel-cache-id6e__hb 2021-07-08T17:49:48,239 Created temporary directory: /tmp/pip-req-tracker-ooxgciwo 2021-07-08T17:49:48,239 Initialized build tracking at /tmp/pip-req-tracker-ooxgciwo 2021-07-08T17:49:48,239 Created build tracker: /tmp/pip-req-tracker-ooxgciwo 2021-07-08T17:49:48,240 Entered build tracker: /tmp/pip-req-tracker-ooxgciwo 2021-07-08T17:49:48,240 Created temporary directory: /tmp/pip-wheel-wcdhpzq_ 2021-07-08T17:49:48,276 1 location(s) to search for versions of amfast: 2021-07-08T17:49:48,276 * https://pypi.org/simple/amfast/ 2021-07-08T17:49:48,276 Fetching project page and analyzing links: https://pypi.org/simple/amfast/ 2021-07-08T17:49:48,277 Getting page https://pypi.org/simple/amfast/ 2021-07-08T17:49:48,278 Found index url https://pypi.org/simple 2021-07-08T17:49:48,374 Found link https://files.pythonhosted.org/packages/cb/f1/1d4d8466238e22ee2bf0ee444613919b73d0841ba15842d17f30ead18106/AmFast-0.1.0.tar.gz#sha256=6180bd9c777708f3eb82ced2666d69439c5ad45309b165d86cfeb7499180a498 (from https://pypi.org/simple/amfast/), version: 0.1.0 2021-07-08T17:49:48,375 Found link https://files.pythonhosted.org/packages/2d/3c/204b6d8e1e5d7cd0dec411ba3b5ca3e95204944741aad16b73f07ee3ad08/AmFast-0.2.0.tar.gz#sha256=a683e801bec21d0b3f3da90e273d4dc5c327aafa4df5c80556fe3425ead2337c (from https://pypi.org/simple/amfast/), version: 0.2.0 2021-07-08T17:49:48,375 Found link https://files.pythonhosted.org/packages/52/6d/07115523547af0c83566ef1f4787492e7041d250be4cbbef9eca312f4efb/AmFast-0.2.1.tar.gz#sha256=e58185847c7e02f406586281022e2dec6d628c9147a9686191d68522b02bfa3d (from https://pypi.org/simple/amfast/), version: 0.2.1 2021-07-08T17:49:48,375 Found link https://files.pythonhosted.org/packages/3f/bd/208350cfb487c1e20e3374a39174fb8b59a97e85fa5fa6a17a4bea0f4096/AmFast-0.2.2.tar.gz#sha256=4a585318eab364e7996498c438f9a0c2e05dd9456f17343c6e284f389ecf586e (from https://pypi.org/simple/amfast/), version: 0.2.2 2021-07-08T17:49:48,375 Found link https://files.pythonhosted.org/packages/ea/af/fa1c8797aa77625f92eab9c754310ca23302dc321e114c94ec06bad1f608/AmFast-0.2.3.tar.gz#sha256=ee0529aaab029fd057ae7dd52ac4fd66a4c26b9fdffa2e4b849b20fd15e439d9 (from https://pypi.org/simple/amfast/), version: 0.2.3 2021-07-08T17:49:48,376 Found link https://files.pythonhosted.org/packages/fb/c0/f418eb7d1489d8fecbe207a796636df16c37bdc441213cda5f05e76aca3a/AmFast-0.3.0.tar.gz#sha256=6642957ee23075461bfc2ac7c9ae1677e3057848c7934e7392485e9f5b485ce3 (from https://pypi.org/simple/amfast/), version: 0.3.0 2021-07-08T17:49:48,376 Found link https://files.pythonhosted.org/packages/91/c9/624cc645004a23699e0be42048597d727b29412aeb862b46458b7a933764/AmFast-0.3.1.tar.gz#sha256=f1893b45e81c24bf7e6702772b7c5c0538d01dcb23112e4304409a74a32033d4 (from https://pypi.org/simple/amfast/), version: 0.3.1 2021-07-08T17:49:48,377 Found link https://files.pythonhosted.org/packages/28/23/d0d29b558d6cb8e14e978f1cb34991103ffcbfc9ffd1f20c2bb96b89e08d/AmFast-0.3.2.tar.gz#sha256=2530a9f0228c9dbd8a289c924ac46bbb2d20f572a8f5d2210ca5f789b5323ef7 (from https://pypi.org/simple/amfast/), version: 0.3.2 2021-07-08T17:49:48,377 Found link https://files.pythonhosted.org/packages/e6/74/b1484bd70f578d95d6f2652863e9795f8bf48626bd2f506212190d6a0325/AmFast-0.3.3.tar.gz#sha256=7636ba82baedc4c561daa0dc67200c97ba5ee4733c49b203ffa84fe7dafef7c9 (from https://pypi.org/simple/amfast/), version: 0.3.3 2021-07-08T17:49:48,377 Found link https://files.pythonhosted.org/packages/dd/f0/ff8e38510053c2e52930bf463c938416924918400bc88eee3dbbfeb72dda/AmFast-0.3.4.tar.gz#sha256=e7435bc4bf2fb3c2c4467d472a441753326a2af2c4fb154f61ecf7e0882d0eca (from https://pypi.org/simple/amfast/), version: 0.3.4 2021-07-08T17:49:48,377 Found link https://files.pythonhosted.org/packages/57/ec/1db0ec7b9cafcb11fee45e5669920b29c88842b3f27400a55cee5b7592eb/AmFast-0.3.5.tar.gz#sha256=b1f065a6e877514b17217747abdc2306a7f3eeff292d26171ba7138d5afdc5ba (from https://pypi.org/simple/amfast/), version: 0.3.5 2021-07-08T17:49:48,378 Found link https://files.pythonhosted.org/packages/6a/23/ed5604ec89dfbdb11c5e23305d2a6bc913eca157ee776176955b7fa7b0cf/AmFast-0.4.0.tar.gz#sha256=93a98695f71ad52aa5b8122a6ff6da0a01bf659bc54f1bc5cf7a8fed9493d9b4 (from https://pypi.org/simple/amfast/), version: 0.4.0 2021-07-08T17:49:48,378 Found link https://files.pythonhosted.org/packages/9f/2a/6c52adf140d83c1c53380bb8547f648033d2ec10116cd8a526838cca1119/AmFast-0.4.1.tar.gz#sha256=4f07b2660c671fba7cfd70aa733e37d8e33c5c5a326f1ad857a1d5ae68c09ebd (from https://pypi.org/simple/amfast/), version: 0.4.1 2021-07-08T17:49:48,378 Found link https://files.pythonhosted.org/packages/98/bf/6399502da433488d8d913ff53b326d6789b05ef654c35bf370275834b6ab/AmFast-0.4.2.tar.gz#sha256=dd7be0aff9c082b483a82e436b05cbdfeac15e213cd5ac3fc56c7290744ff09e (from https://pypi.org/simple/amfast/), version: 0.4.2 2021-07-08T17:49:48,378 Found link https://files.pythonhosted.org/packages/22/8c/c40670adede4075421b75d6476444b7d9e1d0d130c1cd029e228736b5a04/AmFast-0.5.0.tar.gz#sha256=c97a32ec53d06146f28763bba24dee7633df3dd0c7401135701cddbe1a793dfc (from https://pypi.org/simple/amfast/), version: 0.5.0 2021-07-08T17:49:48,379 Found link https://files.pythonhosted.org/packages/15/fe/1c7dca9744ade4cb1f288647eabfc4af9678c0cff2d0889d05d3ea4d7e96/AmFast-0.5.1.tar.gz#sha256=f63e6573fe3394711d1ca82cc92d72e6f0842f285a0a622b645809405e784ec0 (from https://pypi.org/simple/amfast/), version: 0.5.1 2021-07-08T17:49:48,379 Found link https://files.pythonhosted.org/packages/27/b1/178f4e2d3f9b4d879f2cc2d1fbde0997a2a4349d733f407c0ae6f3aaaf14/AmFast-0.5.2-r532.tar.gz#sha256=105147b6ed0d387bdbaa89eb997760724565185d6dd1b99148cac2ba06456457 (from https://pypi.org/simple/amfast/), version: 0.5.2-r532 2021-07-08T17:49:48,379 Found link https://files.pythonhosted.org/packages/f5/d1/fbd9e1a52ac91e3147a1a2cbaecdf23049ff0ddb910a2aff59a9413fa91e/AmFast-0.5.3-r541.tar.gz#sha256=becb2ca1f85333214bbe0adf9d6d8ecbc51af4dd60c81efee58b1a40c2c1ad1c (from https://pypi.org/simple/amfast/), version: 0.5.3-r541 2021-07-08T17:49:48,379 Skipping link: not a file: https://pypi.org/simple/amfast/ 2021-07-08T17:49:48,398 Given no hashes to check 1 links for project 'amfast': discarding no candidates 2021-07-08T17:49:48,416 Collecting amfast==0.2.0 2021-07-08T17:49:48,417 Created temporary directory: /tmp/pip-unpack-if24ro3o 2021-07-08T17:49:48,461 Downloading AmFast-0.2.0.tar.gz (630 kB) 2021-07-08T17:49:48,684 Added amfast==0.2.0 from https://files.pythonhosted.org/packages/2d/3c/204b6d8e1e5d7cd0dec411ba3b5ca3e95204944741aad16b73f07ee3ad08/AmFast-0.2.0.tar.gz#sha256=a683e801bec21d0b3f3da90e273d4dc5c327aafa4df5c80556fe3425ead2337c to build tracker '/tmp/pip-req-tracker-ooxgciwo' 2021-07-08T17:49:48,685 Running setup.py (path:/tmp/pip-wheel-wcdhpzq_/amfast_e8bf057de568404eb4d9d5735324f6aa/setup.py) egg_info for package amfast 2021-07-08T17:49:48,686 Created temporary directory: /tmp/pip-pip-egg-info-8ormca_y 2021-07-08T17:49:48,686 Running command python setup.py egg_info 2021-07-08T17:49:49,469 running egg_info 2021-07-08T17:49:49,471 creating /tmp/pip-pip-egg-info-8ormca_y/AmFast.egg-info 2021-07-08T17:49:49,472 writing /tmp/pip-pip-egg-info-8ormca_y/AmFast.egg-info/PKG-INFO 2021-07-08T17:49:49,474 writing dependency_links to /tmp/pip-pip-egg-info-8ormca_y/AmFast.egg-info/dependency_links.txt 2021-07-08T17:49:49,476 writing top-level names to /tmp/pip-pip-egg-info-8ormca_y/AmFast.egg-info/top_level.txt 2021-07-08T17:49:49,478 writing manifest file '/tmp/pip-pip-egg-info-8ormca_y/AmFast.egg-info/SOURCES.txt' 2021-07-08T17:49:49,796 reading manifest file '/tmp/pip-pip-egg-info-8ormca_y/AmFast.egg-info/SOURCES.txt' 2021-07-08T17:49:49,799 writing manifest file '/tmp/pip-pip-egg-info-8ormca_y/AmFast.egg-info/SOURCES.txt' 2021-07-08T17:49:49,874 Source in /tmp/pip-wheel-wcdhpzq_/amfast_e8bf057de568404eb4d9d5735324f6aa has version 0.2.0, which satisfies requirement amfast==0.2.0 from https://files.pythonhosted.org/packages/2d/3c/204b6d8e1e5d7cd0dec411ba3b5ca3e95204944741aad16b73f07ee3ad08/AmFast-0.2.0.tar.gz#sha256=a683e801bec21d0b3f3da90e273d4dc5c327aafa4df5c80556fe3425ead2337c 2021-07-08T17:49:49,875 Removed amfast==0.2.0 from https://files.pythonhosted.org/packages/2d/3c/204b6d8e1e5d7cd0dec411ba3b5ca3e95204944741aad16b73f07ee3ad08/AmFast-0.2.0.tar.gz#sha256=a683e801bec21d0b3f3da90e273d4dc5c327aafa4df5c80556fe3425ead2337c from build tracker '/tmp/pip-req-tracker-ooxgciwo' 2021-07-08T17:49:49,880 Created temporary directory: /tmp/pip-unpack-mge9jyn_ 2021-07-08T17:49:49,881 Building wheels for collected packages: amfast 2021-07-08T17:49:49,884 Created temporary directory: /tmp/pip-wheel-attxeuet 2021-07-08T17:49:49,885 Building wheel for amfast (setup.py): started 2021-07-08T17:49:49,885 Destination directory: /tmp/pip-wheel-attxeuet 2021-07-08T17:49:49,885 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-wcdhpzq_/amfast_e8bf057de568404eb4d9d5735324f6aa/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-wcdhpzq_/amfast_e8bf057de568404eb4d9d5735324f6aa/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-attxeuet 2021-07-08T17:49:50,691 running bdist_wheel 2021-07-08T17:49:50,841 running build 2021-07-08T17:49:50,841 running build_py 2021-07-08T17:49:50,983 creating build 2021-07-08T17:49:50,983 creating build/lib.linux-armv7l-3.9 2021-07-08T17:49:50,984 creating build/lib.linux-armv7l-3.9/amfast 2021-07-08T17:49:50,985 copying amfast/__init__.py -> build/lib.linux-armv7l-3.9/amfast 2021-07-08T17:49:50,988 creating build/lib.linux-armv7l-3.9/amfast/class_def 2021-07-08T17:49:50,989 copying amfast/class_def/sa_class_def.py -> build/lib.linux-armv7l-3.9/amfast/class_def 2021-07-08T17:49:50,991 copying amfast/class_def/__init__.py -> build/lib.linux-armv7l-3.9/amfast/class_def 2021-07-08T17:49:50,994 creating build/lib.linux-armv7l-3.9/amfast/remoting 2021-07-08T17:49:50,995 copying amfast/remoting/targets.py -> build/lib.linux-armv7l-3.9/amfast/remoting 2021-07-08T17:49:50,997 copying amfast/remoting/__init__.py -> build/lib.linux-armv7l-3.9/amfast/remoting 2021-07-08T17:49:50,999 copying amfast/remoting/flex_messages.py -> build/lib.linux-armv7l-3.9/amfast/remoting 2021-07-08T17:49:51,003 running build_ext 2021-07-08T17:49:51,009 building 'amfast.encoder' extension 2021-07-08T17:49:51,009 creating build/temp.linux-armv7l-3.9 2021-07-08T17:49:51,010 creating build/temp.linux-armv7l-3.9/amfast 2021-07-08T17:49:51,011 creating build/temp.linux-armv7l-3.9/amfast/ext_src 2021-07-08T17:49:51,012 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.9 -c amfast/ext_src/amf_common.c -o build/temp.linux-armv7l-3.9/amfast/ext_src/amf_common.o 2021-07-08T17:49:51,383 amfast/ext_src/amf_common.c: In function ‘destroy_object_context’: 2021-07-08T17:49:51,384 amfast/ext_src/amf_common.c:37:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 2021-07-08T17:49:51,384 37 | for (i = 0; i < context->data_len; i++) { 2021-07-08T17:49:51,384 | ^ 2021-07-08T17:49:51,389 amfast/ext_src/amf_common.c: In function ‘map_next_object_ref’: 2021-07-08T17:49:51,390 amfast/ext_src/amf_common.c:68:21: warning: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Wimplicit-function-declaration] 2021-07-08T17:49:51,390 68 | PyObject *idx = PyInt_FromLong(idx_int); 2021-07-08T17:49:51,390 | ^~~~~~~~~~~~~~ 2021-07-08T17:49:51,390 | PyLong_FromLong 2021-07-08T17:49:51,390 amfast/ext_src/amf_common.c:68:21: warning: initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:51,396 amfast/ext_src/amf_common.c: In function ‘get_idx_from_ref’: 2021-07-08T17:49:51,396 amfast/ext_src/amf_common.c:106:19: warning: implicit declaration of function ‘PyInt_AsLong’; did you mean ‘PyLong_AsLong’? [-Wimplicit-function-declaration] 2021-07-08T17:49:51,396 106 | int idx_int = PyInt_AsLong(idx); 2021-07-08T17:49:51,396 | ^~~~~~~~~~~~ 2021-07-08T17:49:51,396 | PyLong_AsLong 2021-07-08T17:49:51,397 amfast/ext_src/amf_common.c: In function ‘get_ref_from_idx’: 2021-07-08T17:49:51,397 amfast/ext_src/amf_common.c:113:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 2021-07-08T17:49:51,398 113 | if (idx >= context->data_len) { 2021-07-08T17:49:51,399 | ^~ 2021-07-08T17:49:51,542 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.9 -c amfast/ext_src/encoder.c -o build/temp.linux-armv7l-3.9/amfast/ext_src/encoder.o 2021-07-08T17:49:51,910 amfast/ext_src/encoder.c: In function ‘write_int’: 2021-07-08T17:49:51,910 amfast/ext_src/encoder.c:407:14: warning: implicit declaration of function ‘PyInt_AsLong’; did you mean ‘PyLong_AsLong’? [-Wimplicit-function-declaration] 2021-07-08T17:49:51,910 407 | long n = PyInt_AsLong(value); 2021-07-08T17:49:51,910 | ^~~~~~~~~~~~ 2021-07-08T17:49:51,911 | PyLong_AsLong 2021-07-08T17:49:51,911 amfast/ext_src/encoder.c: In function ‘serialize_unicode’: 2021-07-08T17:49:51,911 amfast/ext_src/encoder.c:441:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 2021-07-08T17:49:51,911 441 | if (PyUnicode_GET_SIZE(value) == 0) { 2021-07-08T17:49:51,911 | ^~ 2021-07-08T17:49:51,911 In file included from /usr/include/python3.9/unicodeobject.h:1026, 2021-07-08T17:49:51,912 from /usr/include/python3.9/Python.h:97, 2021-07-08T17:49:51,912 from amfast/ext_src/encoder.c:1: 2021-07-08T17:49:51,912 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 2021-07-08T17:49:51,912 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { 2021-07-08T17:49:51,912 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:51,912 amfast/ext_src/encoder.c:441:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 2021-07-08T17:49:51,913 441 | if (PyUnicode_GET_SIZE(value) == 0) { 2021-07-08T17:49:51,913 | ^~ 2021-07-08T17:49:51,913 In file included from /usr/include/python3.9/unicodeobject.h:1026, 2021-07-08T17:49:51,913 from /usr/include/python3.9/Python.h:97, 2021-07-08T17:49:51,913 from amfast/ext_src/encoder.c:1: 2021-07-08T17:49:51,913 /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 2021-07-08T17:49:51,913 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( 2021-07-08T17:49:51,913 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:51,913 amfast/ext_src/encoder.c:441:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 2021-07-08T17:49:51,914 441 | if (PyUnicode_GET_SIZE(value) == 0) { 2021-07-08T17:49:51,914 | ^~ 2021-07-08T17:49:51,914 In file included from /usr/include/python3.9/unicodeobject.h:1026, 2021-07-08T17:49:51,914 from /usr/include/python3.9/Python.h:97, 2021-07-08T17:49:51,914 from amfast/ext_src/encoder.c:1: 2021-07-08T17:49:51,914 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 2021-07-08T17:49:51,914 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { 2021-07-08T17:49:51,914 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:51,923 amfast/ext_src/encoder.c: In function ‘encode_unicode’: 2021-07-08T17:49:51,923 amfast/ext_src/encoder.c:462:24: warning: implicit declaration of function ‘PyString_AS_STRING’; did you mean ‘PyBytes_AS_STRING’? [-Wimplicit-function-declaration] 2021-07-08T17:49:51,923 462 | char *char_value = PyString_AS_STRING(PyString_value); 2021-07-08T17:49:51,923 | ^~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:51,923 | PyBytes_AS_STRING 2021-07-08T17:49:51,923 amfast/ext_src/encoder.c:462:24: warning: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:51,932 amfast/ext_src/encoder.c:463:22: warning: implicit declaration of function ‘PyString_GET_SIZE’; did you mean ‘PyList_GET_SIZE’? [-Wimplicit-function-declaration] 2021-07-08T17:49:51,932 463 | int string_len = PyString_GET_SIZE(PyString_value); 2021-07-08T17:49:51,932 | ^~~~~~~~~~~~~~~~~ 2021-07-08T17:49:51,933 | PyList_GET_SIZE 2021-07-08T17:49:51,939 amfast/ext_src/encoder.c: In function ‘serialize_string_or_unicode’: 2021-07-08T17:49:51,939 amfast/ext_src/encoder.c:510:14: warning: implicit declaration of function ‘PyString_Check’; did you mean ‘PyMapping_Check’? [-Wimplicit-function-declaration] 2021-07-08T17:49:51,939 510 | else if (PyString_Check(value)) { 2021-07-08T17:49:51,939 | ^~~~~~~~~~~~~~ 2021-07-08T17:49:51,939 | PyMapping_Check 2021-07-08T17:49:51,947 amfast/ext_src/encoder.c: In function ‘_serialize_string’: 2021-07-08T17:49:51,947 amfast/ext_src/encoder.c:536:30: warning: implicit declaration of function ‘PyString_FromString’; did you mean ‘PyLong_FromString’? [-Wimplicit-function-declaration] 2021-07-08T17:49:51,947 536 | PyObject *string_value = PyString_FromString(value); 2021-07-08T17:49:51,947 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:51,947 | PyLong_FromString 2021-07-08T17:49:51,947 amfast/ext_src/encoder.c:536:30: warning: initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:51,948 amfast/ext_src/encoder.c: In function ‘_encode_array_collection_header’: 2021-07-08T17:49:51,948 amfast/ext_src/encoder.c:551:33: warning: initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:51,948 551 | PyObject *method_name = PyString_FromString("getClassDefByAlias"); 2021-07-08T17:49:51,948 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:51,948 amfast/ext_src/encoder.c:555:27: warning: initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:51,948 555 | PyObject *alias = PyString_FromString("flex.messaging.io.ArrayCollection"); 2021-07-08T17:49:51,948 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:51,950 amfast/ext_src/encoder.c: In function ‘_encode_object_proxy_header’: 2021-07-08T17:49:51,951 amfast/ext_src/encoder.c:696:33: warning: initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:51,951 696 | PyObject *method_name = PyString_FromString("getClassDefByAlias"); 2021-07-08T17:49:51,951 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:51,951 amfast/ext_src/encoder.c:700:27: warning: initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:51,951 700 | PyObject *alias = PyString_FromString("flex.messaging.io.ObjectProxy"); 2021-07-08T17:49:51,951 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:51,963 amfast/ext_src/encoder.c: In function ‘serialize_byte_array’: 2021-07-08T17:49:51,963 amfast/ext_src/encoder.c:898:9: warning: implicit declaration of function ‘PyString_CheckExact’; did you mean ‘PyLong_CheckExact’? [-Wimplicit-function-declaration] 2021-07-08T17:49:51,964 898 | if (PyString_CheckExact(value)) { 2021-07-08T17:49:51,964 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:51,964 | PyLong_CheckExact 2021-07-08T17:49:51,964 amfast/ext_src/encoder.c: In function ‘encode_byte_array’: 2021-07-08T17:49:51,965 amfast/ext_src/encoder.c:926:20: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:51,965 926 | byte_value = PyString_AS_STRING(value); 2021-07-08T17:49:51,965 | ^ 2021-07-08T17:49:51,968 amfast/ext_src/encoder.c: In function ‘encode_object’: 2021-07-08T17:49:51,968 amfast/ext_src/encoder.c:1044:33: warning: initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:51,968 1044 | PyObject *method_name = PyString_FromString("writeByteString"); 2021-07-08T17:49:51,968 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:51,973 amfast/ext_src/encoder.c: In function ‘write_unicode_AMF0’: 2021-07-08T17:49:51,973 amfast/ext_src/encoder.c:1289:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 2021-07-08T17:49:51,973 1289 | int string_len = PyUnicode_GET_SIZE(value); 2021-07-08T17:49:51,973 | ^~~ 2021-07-08T17:49:51,974 In file included from /usr/include/python3.9/unicodeobject.h:1026, 2021-07-08T17:49:51,974 from /usr/include/python3.9/Python.h:97, 2021-07-08T17:49:51,974 from amfast/ext_src/encoder.c:1: 2021-07-08T17:49:51,974 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 2021-07-08T17:49:51,974 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { 2021-07-08T17:49:51,974 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:51,974 amfast/ext_src/encoder.c:1289:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 2021-07-08T17:49:51,974 1289 | int string_len = PyUnicode_GET_SIZE(value); 2021-07-08T17:49:51,974 | ^~~ 2021-07-08T17:49:51,975 In file included from /usr/include/python3.9/unicodeobject.h:1026, 2021-07-08T17:49:51,975 from /usr/include/python3.9/Python.h:97, 2021-07-08T17:49:51,975 from amfast/ext_src/encoder.c:1: 2021-07-08T17:49:51,975 /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 2021-07-08T17:49:51,975 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( 2021-07-08T17:49:51,975 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:51,975 amfast/ext_src/encoder.c:1289:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 2021-07-08T17:49:51,975 1289 | int string_len = PyUnicode_GET_SIZE(value); 2021-07-08T17:49:51,975 | ^~~ 2021-07-08T17:49:51,976 In file included from /usr/include/python3.9/unicodeobject.h:1026, 2021-07-08T17:49:51,976 from /usr/include/python3.9/Python.h:97, 2021-07-08T17:49:51,976 from amfast/ext_src/encoder.c:1: 2021-07-08T17:49:51,976 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 2021-07-08T17:49:51,976 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { 2021-07-08T17:49:51,976 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:51,976 amfast/ext_src/encoder.c: In function ‘encode_unicode_AMF0’: 2021-07-08T17:49:51,976 amfast/ext_src/encoder.c:1328:24: warning: initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:51,977 1328 | char *char_value = PyString_AS_STRING(PyString_value); 2021-07-08T17:49:51,977 | ^~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:51,982 amfast/ext_src/encoder.c: In function ‘class_def_from_class’: 2021-07-08T17:49:51,982 amfast/ext_src/encoder.c:1505:44: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:51,983 1505 | context->get_class_def_method_name = PyString_FromString("getClassDefByClass"); 2021-07-08T17:49:51,983 | ^ 2021-07-08T17:49:51,985 amfast/ext_src/encoder.c: In function ‘static_attr_vals_from_class_def’: 2021-07-08T17:49:51,985 amfast/ext_src/encoder.c:1563:29: warning: initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:51,985 1563 | PyObject *method_name = PyString_FromString("getStaticAttrVals"); 2021-07-08T17:49:51,985 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:51,986 amfast/ext_src/encoder.c: In function ‘dynamic_attrs_from_class_def’: 2021-07-08T17:49:51,987 amfast/ext_src/encoder.c:1584:29: warning: initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:51,987 1584 | PyObject *method_name = PyString_FromString("getDynamicAttrVals"); 2021-07-08T17:49:51,987 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:52,002 amfast/ext_src/encoder.c: In function ‘_encode_AMF0’: 2021-07-08T17:49:52,004 amfast/ext_src/encoder.c:1976:16: warning: implicit declaration of function ‘PyInt_Check’; did you mean ‘PySet_Check’? [-Wimplicit-function-declaration] 2021-07-08T17:49:52,004 1976 | } else if (PyInt_Check(value)) { 2021-07-08T17:49:52,004 | ^~~~~~~~~~~ 2021-07-08T17:49:52,004 | PySet_Check 2021-07-08T17:49:52,020 amfast/ext_src/encoder.c: In function ‘encode’: 2021-07-08T17:49:52,022 amfast/ext_src/encoder.c:2138:28: warning: implicit declaration of function ‘PyString_FromStringAndSize’; did you mean ‘PyBytes_FromStringAndSize’? [-Wimplicit-function-declaration] 2021-07-08T17:49:52,022 2138 | PyObject *return_obj = PyString_FromStringAndSize(context->buf, context->buf_len); 2021-07-08T17:49:52,022 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:52,022 | PyBytes_FromStringAndSize 2021-07-08T17:49:52,022 amfast/ext_src/encoder.c:2138:28: warning: initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:52,029 amfast/ext_src/encoder.c: In function ‘initencoder’: 2021-07-08T17:49:52,030 amfast/ext_src/encoder.c:2178:14: warning: implicit declaration of function ‘Py_InitModule’ [-Wimplicit-function-declaration] 2021-07-08T17:49:52,030 2178 | module = Py_InitModule("encoder", encoder_methods); 2021-07-08T17:49:52,030 | ^~~~~~~~~~~~~ 2021-07-08T17:49:52,031 amfast/ext_src/encoder.c:2178:12: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:52,031 2178 | module = Py_InitModule("encoder", encoder_methods); 2021-07-08T17:49:52,032 | ^ 2021-07-08T17:49:52,032 amfast/ext_src/encoder.c:2180:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:49:52,032 2180 | return; 2021-07-08T17:49:52,033 | ^~~~~~ 2021-07-08T17:49:52,033 amfast/ext_src/encoder.c:2174:1: note: declared here 2021-07-08T17:49:52,033 2174 | initencoder(void) 2021-07-08T17:49:52,034 | ^~~~~~~~~~~ 2021-07-08T17:49:52,035 amfast/ext_src/encoder.c:2186:13: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:49:52,035 2186 | return; 2021-07-08T17:49:52,035 | ^~~~~~ 2021-07-08T17:49:52,036 amfast/ext_src/encoder.c:2174:1: note: declared here 2021-07-08T17:49:52,036 2174 | initencoder(void) 2021-07-08T17:49:52,036 | ^~~~~~~~~~~ 2021-07-08T17:49:52,037 amfast/ext_src/encoder.c:2192:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:49:52,037 2192 | return; 2021-07-08T17:49:52,037 | ^~~~~~ 2021-07-08T17:49:52,038 amfast/ext_src/encoder.c:2174:1: note: declared here 2021-07-08T17:49:52,038 2174 | initencoder(void) 2021-07-08T17:49:52,038 | ^~~~~~~~~~~ 2021-07-08T17:49:52,039 amfast/ext_src/encoder.c:2197:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:49:52,039 2197 | return; 2021-07-08T17:49:52,039 | ^~~~~~ 2021-07-08T17:49:52,040 amfast/ext_src/encoder.c:2174:1: note: declared here 2021-07-08T17:49:52,040 2174 | initencoder(void) 2021-07-08T17:49:52,040 | ^~~~~~~~~~~ 2021-07-08T17:49:52,041 amfast/ext_src/encoder.c:2202:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:49:52,041 2202 | return; 2021-07-08T17:49:52,041 | ^~~~~~ 2021-07-08T17:49:52,042 amfast/ext_src/encoder.c:2174:1: note: declared here 2021-07-08T17:49:52,042 2174 | initencoder(void) 2021-07-08T17:49:52,043 | ^~~~~~~~~~~ 2021-07-08T17:49:52,043 amfast/ext_src/encoder.c:2209:13: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:49:52,043 2209 | return; 2021-07-08T17:49:52,044 | ^~~~~~ 2021-07-08T17:49:52,044 amfast/ext_src/encoder.c:2174:1: note: declared here 2021-07-08T17:49:52,045 2174 | initencoder(void) 2021-07-08T17:49:52,045 | ^~~~~~~~~~~ 2021-07-08T17:49:52,066 At top level: 2021-07-08T17:49:52,066 amfast/ext_src/encoder.c:534:12: warning: ‘_serialize_string’ defined but not used [-Wunused-function] 2021-07-08T17:49:52,066 534 | static int _serialize_string(EncoderContext *context, char *value) 2021-07-08T17:49:52,066 | ^~~~~~~~~~~~~~~~~ 2021-07-08T17:49:52,066 amfast/ext_src/encoder.c:301:12: warning: ‘_amf_write_string’ defined but not used [-Wunused-function] 2021-07-08T17:49:52,067 301 | static int _amf_write_string(EncoderContext *context, char *value) 2021-07-08T17:49:52,067 | ^~~~~~~~~~~~~~~~~ 2021-07-08T17:49:53,831 arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.9/amfast/ext_src/amf_common.o build/temp.linux-armv7l-3.9/amfast/ext_src/encoder.o -o build/lib.linux-armv7l-3.9/amfast/encoder.cpython-39-arm-linux-gnueabihf.so 2021-07-08T17:49:53,951 building 'amfast.decoder' extension 2021-07-08T17:49:53,952 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.9 -c amfast/ext_src/amf_common.c -o build/temp.linux-armv7l-3.9/amfast/ext_src/amf_common.o 2021-07-08T17:49:54,330 amfast/ext_src/amf_common.c: In function ‘destroy_object_context’: 2021-07-08T17:49:54,330 amfast/ext_src/amf_common.c:37:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 2021-07-08T17:49:54,330 37 | for (i = 0; i < context->data_len; i++) { 2021-07-08T17:49:54,330 | ^ 2021-07-08T17:49:54,337 amfast/ext_src/amf_common.c: In function ‘map_next_object_ref’: 2021-07-08T17:49:54,337 amfast/ext_src/amf_common.c:68:21: warning: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Wimplicit-function-declaration] 2021-07-08T17:49:54,337 68 | PyObject *idx = PyInt_FromLong(idx_int); 2021-07-08T17:49:54,338 | ^~~~~~~~~~~~~~ 2021-07-08T17:49:54,338 | PyLong_FromLong 2021-07-08T17:49:54,338 amfast/ext_src/amf_common.c:68:21: warning: initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:54,344 amfast/ext_src/amf_common.c: In function ‘get_idx_from_ref’: 2021-07-08T17:49:54,345 amfast/ext_src/amf_common.c:106:19: warning: implicit declaration of function ‘PyInt_AsLong’; did you mean ‘PyLong_AsLong’? [-Wimplicit-function-declaration] 2021-07-08T17:49:54,345 106 | int idx_int = PyInt_AsLong(idx); 2021-07-08T17:49:54,345 | ^~~~~~~~~~~~ 2021-07-08T17:49:54,345 | PyLong_AsLong 2021-07-08T17:49:54,345 amfast/ext_src/amf_common.c: In function ‘get_ref_from_idx’: 2021-07-08T17:49:54,346 amfast/ext_src/amf_common.c:113:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’} [-Wsign-compare] 2021-07-08T17:49:54,346 113 | if (idx >= context->data_len) { 2021-07-08T17:49:54,346 | ^~ 2021-07-08T17:49:54,496 arm-linux-gnueabihf-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.9 -c amfast/ext_src/decoder.c -o build/temp.linux-armv7l-3.9/amfast/ext_src/decoder.o 2021-07-08T17:49:54,863 amfast/ext_src/decoder.c: In function ‘decode_typed_object’: 2021-07-08T17:49:54,863 amfast/ext_src/decoder.c:352:48: warning: implicit declaration of function ‘PyString_FromString’; did you mean ‘PyLong_FromString’? [-Wimplicit-function-declaration] 2021-07-08T17:49:54,863 352 | context->apply_attr_vals_method_name = PyString_FromString("applyAttrVals"); 2021-07-08T17:49:54,863 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:54,864 | PyLong_FromString 2021-07-08T17:49:54,864 amfast/ext_src/decoder.c:352:46: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:54,864 352 | context->apply_attr_vals_method_name = PyString_FromString("applyAttrVals"); 2021-07-08T17:49:54,864 | ^ 2021-07-08T17:49:54,865 amfast/ext_src/decoder.c: In function ‘decode_externizeable’: 2021-07-08T17:49:54,865 amfast/ext_src/decoder.c:372:29: warning: initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:54,866 372 | PyObject *method_name = PyString_FromString("readByteString"); 2021-07-08T17:49:54,866 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:54,872 amfast/ext_src/decoder.c:403:20: warning: implicit declaration of function ‘PyInt_AsLong’; did you mean ‘PyLong_AsLong’? [-Wimplicit-function-declaration] 2021-07-08T17:49:54,872 403 | context->pos = PyInt_AsLong(parsed_len) + 1; 2021-07-08T17:49:54,872 | ^~~~~~~~~~~~ 2021-07-08T17:49:54,873 | PyLong_AsLong 2021-07-08T17:49:54,875 amfast/ext_src/decoder.c: In function ‘class_def_from_alias’: 2021-07-08T17:49:54,875 amfast/ext_src/decoder.c:524:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 2021-07-08T17:49:54,875 524 | if (PyUnicode_GET_SIZE(alias) == 0) { 2021-07-08T17:49:54,875 | ^~ 2021-07-08T17:49:54,876 In file included from /usr/include/python3.9/unicodeobject.h:1026, 2021-07-08T17:49:54,877 from /usr/include/python3.9/Python.h:97, 2021-07-08T17:49:54,877 from amfast/ext_src/decoder.c:1: 2021-07-08T17:49:54,877 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 2021-07-08T17:49:54,877 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { 2021-07-08T17:49:54,877 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:54,877 amfast/ext_src/decoder.c:524:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 2021-07-08T17:49:54,878 524 | if (PyUnicode_GET_SIZE(alias) == 0) { 2021-07-08T17:49:54,878 | ^~ 2021-07-08T17:49:54,878 In file included from /usr/include/python3.9/unicodeobject.h:1026, 2021-07-08T17:49:54,878 from /usr/include/python3.9/Python.h:97, 2021-07-08T17:49:54,878 from amfast/ext_src/decoder.c:1: 2021-07-08T17:49:54,878 /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 2021-07-08T17:49:54,878 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( 2021-07-08T17:49:54,879 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:54,879 amfast/ext_src/decoder.c:524:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 2021-07-08T17:49:54,879 524 | if (PyUnicode_GET_SIZE(alias) == 0) { 2021-07-08T17:49:54,879 | ^~ 2021-07-08T17:49:54,880 In file included from /usr/include/python3.9/unicodeobject.h:1026, 2021-07-08T17:49:54,880 from /usr/include/python3.9/Python.h:97, 2021-07-08T17:49:54,880 from amfast/ext_src/decoder.c:1: 2021-07-08T17:49:54,880 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 2021-07-08T17:49:54,880 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { 2021-07-08T17:49:54,880 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:54,881 amfast/ext_src/decoder.c:531:44: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:54,881 531 | context->get_class_def_method_name = PyString_FromString("getClassDefByAlias"); 2021-07-08T17:49:54,881 | ^ 2021-07-08T17:49:54,882 amfast/ext_src/decoder.c:540:33: warning: initialization of ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:54,882 540 | PyObject *error_title = PyString_FromString("Class alias not mapped: "); 2021-07-08T17:49:54,882 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:54,894 amfast/ext_src/decoder.c: In function ‘deserialize_string’: 2021-07-08T17:49:54,895 amfast/ext_src/decoder.c:825:16: warning: implicit declaration of function ‘PyString_FromStringAndSize’; did you mean ‘PyBytes_FromStringAndSize’? [-Wimplicit-function-declaration] 2021-07-08T17:49:54,896 825 | return PyString_FromStringAndSize(NULL, 0); 2021-07-08T17:49:54,896 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:54,896 | PyBytes_FromStringAndSize 2021-07-08T17:49:54,896 amfast/ext_src/decoder.c:825:16: warning: returning ‘int’ from a function with return type ‘PyObject *’ {aka ‘struct _object *’} makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:54,897 825 | return PyString_FromStringAndSize(NULL, 0); 2021-07-08T17:49:54,897 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:54,905 amfast/ext_src/decoder.c: In function ‘decode_int’: 2021-07-08T17:49:54,906 amfast/ext_src/decoder.c:1004:12: warning: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Wimplicit-function-declaration] 2021-07-08T17:49:54,906 1004 | return PyInt_FromLong(_decode_int(context)); 2021-07-08T17:49:54,906 | ^~~~~~~~~~~~~~ 2021-07-08T17:49:54,906 | PyLong_FromLong 2021-07-08T17:49:54,907 amfast/ext_src/decoder.c:1004:12: warning: returning ‘int’ from a function with return type ‘PyObject *’ {aka ‘struct _object *’} makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:54,907 1004 | return PyInt_FromLong(_decode_int(context)); 2021-07-08T17:49:54,907 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:54,910 amfast/ext_src/decoder.c: In function ‘decode_date_AMF0’: 2021-07-08T17:49:54,910 amfast/ext_src/decoder.c:1125:9: warning: unused variable ‘tz’ [-Wunused-variable] 2021-07-08T17:49:54,910 1125 | int tz = _decode_ushort(context); // timezone value. 2021-07-08T17:49:54,911 | ^~ 2021-07-08T17:49:54,912 amfast/ext_src/decoder.c: In function ‘decode_typed_object_AMF0’: 2021-07-08T17:49:54,913 amfast/ext_src/decoder.c:1191:46: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:54,913 1191 | context->apply_attr_vals_method_name = PyString_FromString("applyAttrVals"); 2021-07-08T17:49:54,913 | ^ 2021-07-08T17:49:54,917 amfast/ext_src/decoder.c: In function ‘decode_headers_AMF0’: 2021-07-08T17:49:54,918 amfast/ext_src/decoder.c:1289:13: warning: unused variable ‘byte_len’ [-Wunused-variable] 2021-07-08T17:49:54,918 1289 | int byte_len = _decode_ulong(context); // Byte length of header. 2021-07-08T17:49:54,918 | ^~~~~~~~ 2021-07-08T17:49:54,920 amfast/ext_src/decoder.c: In function ‘decode_messages_AMF0’: 2021-07-08T17:49:54,921 amfast/ext_src/decoder.c:1378:13: warning: unused variable ‘byte_len’ [-Wunused-variable] 2021-07-08T17:49:54,921 1378 | int byte_len = _decode_ulong(context); // Message byte length 2021-07-08T17:49:54,921 | ^~~~~~~~ 2021-07-08T17:49:54,938 amfast/ext_src/decoder.c: In function ‘decode’: 2021-07-08T17:49:54,939 amfast/ext_src/decoder.c:1574:20: warning: implicit declaration of function ‘PyString_AsString’ [-Wimplicit-function-declaration] 2021-07-08T17:49:54,939 1574 | context->buf = PyString_AsString(value); 2021-07-08T17:49:54,939 | ^~~~~~~~~~~~~~~~~ 2021-07-08T17:49:54,940 amfast/ext_src/decoder.c:1574:18: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:54,940 1574 | context->buf = PyString_AsString(value); 2021-07-08T17:49:54,940 | ^ 2021-07-08T17:49:54,950 amfast/ext_src/decoder.c:1578:24: warning: implicit declaration of function ‘PyString_GET_SIZE’; did you mean ‘PyList_GET_SIZE’? [-Wimplicit-function-declaration] 2021-07-08T17:49:54,951 1578 | context->buf_len = PyString_GET_SIZE(value); 2021-07-08T17:49:54,951 | ^~~~~~~~~~~~~~~~~ 2021-07-08T17:49:54,951 | PyList_GET_SIZE 2021-07-08T17:49:54,959 amfast/ext_src/decoder.c: In function ‘initdecoder’: 2021-07-08T17:49:54,960 amfast/ext_src/decoder.c:1641:14: warning: implicit declaration of function ‘Py_InitModule’ [-Wimplicit-function-declaration] 2021-07-08T17:49:54,960 1641 | module = Py_InitModule("decoder", decoder_methods); 2021-07-08T17:49:54,960 | ^~~~~~~~~~~~~ 2021-07-08T17:49:54,962 amfast/ext_src/decoder.c:1641:12: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2021-07-08T17:49:54,962 1641 | module = Py_InitModule("decoder", decoder_methods); 2021-07-08T17:49:54,962 | ^ 2021-07-08T17:49:54,963 amfast/ext_src/decoder.c:1643:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:49:54,963 1643 | return; 2021-07-08T17:49:54,963 | ^~~~~~ 2021-07-08T17:49:54,964 amfast/ext_src/decoder.c:1637:1: note: declared here 2021-07-08T17:49:54,964 1637 | initdecoder(void) 2021-07-08T17:49:54,964 | ^~~~~~~~~~~ 2021-07-08T17:49:54,966 amfast/ext_src/decoder.c:1649:13: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:49:54,966 1649 | return; 2021-07-08T17:49:54,966 | ^~~~~~ 2021-07-08T17:49:54,967 amfast/ext_src/decoder.c:1637:1: note: declared here 2021-07-08T17:49:54,967 1637 | initdecoder(void) 2021-07-08T17:49:54,967 | ^~~~~~~~~~~ 2021-07-08T17:49:54,968 amfast/ext_src/decoder.c:1655:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:49:54,968 1655 | return; 2021-07-08T17:49:54,968 | ^~~~~~ 2021-07-08T17:49:54,969 amfast/ext_src/decoder.c:1637:1: note: declared here 2021-07-08T17:49:54,969 1637 | initdecoder(void) 2021-07-08T17:49:54,970 | ^~~~~~~~~~~ 2021-07-08T17:49:54,971 amfast/ext_src/decoder.c:1660:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:49:54,971 1660 | return; 2021-07-08T17:49:54,971 | ^~~~~~ 2021-07-08T17:49:54,972 amfast/ext_src/decoder.c:1637:1: note: declared here 2021-07-08T17:49:54,972 1637 | initdecoder(void) 2021-07-08T17:49:54,972 | ^~~~~~~~~~~ 2021-07-08T17:49:54,973 amfast/ext_src/decoder.c:1665:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:49:54,973 1665 | return; 2021-07-08T17:49:54,973 | ^~~~~~ 2021-07-08T17:49:54,974 amfast/ext_src/decoder.c:1637:1: note: declared here 2021-07-08T17:49:54,975 1637 | initdecoder(void) 2021-07-08T17:49:54,975 | ^~~~~~~~~~~ 2021-07-08T17:49:54,976 amfast/ext_src/decoder.c:1672:13: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:49:54,976 1672 | return; 2021-07-08T17:49:54,976 | ^~~~~~ 2021-07-08T17:49:54,977 amfast/ext_src/decoder.c:1637:1: note: declared here 2021-07-08T17:49:54,977 1637 | initdecoder(void) 2021-07-08T17:49:54,977 | ^~~~~~~~~~~ 2021-07-08T17:49:55,376 amfast/ext_src/decoder.c: In function ‘_decode’: 2021-07-08T17:49:55,377 amfast/ext_src/decoder.c:1551:66: warning: ‘' at position: ’ directive writing 15 bytes into a region of size between 6 and 7 [-Wformat-overflow=] 2021-07-08T17:49:55,377 1551 | sprintf(error_str, "Unknown AMF3 type marker byte: '%X' at position: %d", byte, context->pos); 2021-07-08T17:49:55,377 | ~~~~~~~^~~~~~~~ 2021-07-08T17:49:55,378 In file included from /usr/include/stdio.h:867, 2021-07-08T17:49:55,378 from /usr/include/python3.9/Python.h:25, 2021-07-08T17:49:55,378 from amfast/ext_src/decoder.c:1: 2021-07-08T17:49:55,378 /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 50 and 61 bytes into a destination of size 40 2021-07-08T17:49:55,378 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-08T17:49:55,378 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:55,378 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-08T17:49:55,379 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:55,808 amfast/ext_src/decoder.c: In function ‘_decode_AMF0’: 2021-07-08T17:49:55,809 amfast/ext_src/decoder.c:1505:66: warning: ‘' at position: ’ directive writing 15 bytes into a region of size between 6 and 7 [-Wformat-overflow=] 2021-07-08T17:49:55,809 1505 | sprintf(error_str, "Unknown AMF0 type marker byte: '%X' at position: %d", byte, context->pos); 2021-07-08T17:49:55,809 | ~~~~~~~^~~~~~~~ 2021-07-08T17:49:55,809 In file included from /usr/include/stdio.h:867, 2021-07-08T17:49:55,810 from /usr/include/python3.9/Python.h:25, 2021-07-08T17:49:55,810 from amfast/ext_src/decoder.c:1: 2021-07-08T17:49:55,810 /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 50 and 61 bytes into a destination of size 40 2021-07-08T17:49:55,810 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-08T17:49:55,810 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:55,810 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-08T17:49:55,810 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:49:56,398 arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -g -fwrapv -O2 -g -ffile-prefix-map=/python3.9-3.9.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.9/amfast/ext_src/amf_common.o build/temp.linux-armv7l-3.9/amfast/ext_src/decoder.o -o build/lib.linux-armv7l-3.9/amfast/decoder.cpython-39-arm-linux-gnueabihf.so 2021-07-08T17:49:56,516 installing to build/bdist.linux-armv7l/wheel 2021-07-08T17:49:56,516 running install 2021-07-08T17:49:56,517 running install_lib 2021-07-08T17:49:56,521 creating build/bdist.linux-armv7l 2021-07-08T17:49:56,521 creating build/bdist.linux-armv7l/wheel 2021-07-08T17:49:56,523 creating build/bdist.linux-armv7l/wheel/amfast 2021-07-08T17:49:56,525 creating build/bdist.linux-armv7l/wheel/amfast/remoting 2021-07-08T17:49:56,526 copying build/lib.linux-armv7l-3.9/amfast/remoting/targets.py -> build/bdist.linux-armv7l/wheel/amfast/remoting 2021-07-08T17:49:56,528 copying build/lib.linux-armv7l-3.9/amfast/remoting/__init__.py -> build/bdist.linux-armv7l/wheel/amfast/remoting 2021-07-08T17:49:56,530 copying build/lib.linux-armv7l-3.9/amfast/remoting/flex_messages.py -> build/bdist.linux-armv7l/wheel/amfast/remoting 2021-07-08T17:49:56,533 copying build/lib.linux-armv7l-3.9/amfast/__init__.py -> build/bdist.linux-armv7l/wheel/amfast 2021-07-08T17:49:56,534 copying build/lib.linux-armv7l-3.9/amfast/decoder.cpython-39-arm-linux-gnueabihf.so -> build/bdist.linux-armv7l/wheel/amfast 2021-07-08T17:49:56,539 copying build/lib.linux-armv7l-3.9/amfast/encoder.cpython-39-arm-linux-gnueabihf.so -> build/bdist.linux-armv7l/wheel/amfast 2021-07-08T17:49:56,545 creating build/bdist.linux-armv7l/wheel/amfast/class_def 2021-07-08T17:49:56,546 copying build/lib.linux-armv7l-3.9/amfast/class_def/sa_class_def.py -> build/bdist.linux-armv7l/wheel/amfast/class_def 2021-07-08T17:49:56,548 copying build/lib.linux-armv7l-3.9/amfast/class_def/__init__.py -> build/bdist.linux-armv7l/wheel/amfast/class_def 2021-07-08T17:49:56,550 running install_egg_info 2021-07-08T17:49:56,571 running egg_info 2021-07-08T17:49:56,572 writing AmFast.egg-info/PKG-INFO 2021-07-08T17:49:56,574 writing dependency_links to AmFast.egg-info/dependency_links.txt 2021-07-08T17:49:56,576 writing top-level names to AmFast.egg-info/top_level.txt 2021-07-08T17:49:56,582 reading manifest file 'AmFast.egg-info/SOURCES.txt' 2021-07-08T17:49:56,592 writing manifest file 'AmFast.egg-info/SOURCES.txt' 2021-07-08T17:49:56,593 Copying AmFast.egg-info to build/bdist.linux-armv7l/wheel/AmFast-0.2.0-py3.9.egg-info 2021-07-08T17:49:56,601 running install_scripts 2021-07-08T17:49:56,677 creating build/bdist.linux-armv7l/wheel/AmFast-0.2.0.dist-info/WHEEL 2021-07-08T17:49:56,679 creating '/tmp/pip-wheel-attxeuet/AmFast-0.2.0-cp39-cp39-linux_armv7l.whl' and adding 'build/bdist.linux-armv7l/wheel' to it 2021-07-08T17:49:56,683 adding 'amfast/__init__.py' 2021-07-08T17:49:56,706 adding 'amfast/decoder.cpython-39-arm-linux-gnueabihf.so' 2021-07-08T17:49:56,737 adding 'amfast/encoder.cpython-39-arm-linux-gnueabihf.so' 2021-07-08T17:49:56,740 adding 'amfast/class_def/__init__.py' 2021-07-08T17:49:56,742 adding 'amfast/class_def/sa_class_def.py' 2021-07-08T17:49:56,745 adding 'amfast/remoting/__init__.py' 2021-07-08T17:49:56,747 adding 'amfast/remoting/flex_messages.py' 2021-07-08T17:49:56,748 adding 'amfast/remoting/targets.py' 2021-07-08T17:49:56,749 adding 'AmFast-0.2.0.dist-info/METADATA' 2021-07-08T17:49:56,749 adding 'AmFast-0.2.0.dist-info/WHEEL' 2021-07-08T17:49:56,750 adding 'AmFast-0.2.0.dist-info/top_level.txt' 2021-07-08T17:49:56,751 adding 'AmFast-0.2.0.dist-info/RECORD' 2021-07-08T17:49:56,754 removing build/bdist.linux-armv7l/wheel 2021-07-08T17:49:56,850 Building wheel for amfast (setup.py): finished with status 'done' 2021-07-08T17:49:56,853 Created wheel for amfast: filename=AmFast-0.2.0-cp39-cp39-linux_armv7l.whl size=113498 sha256=169075d795b5ddc3e5050dcbd1b96981c34649f0035882265d21f6dd93e2bfbe 2021-07-08T17:49:56,854 Stored in directory: /tmp/pip-ephem-wheel-cache-id6e__hb/wheels/85/fb/a9/164196d535958191354483a691a2fe92ece730b12d84ed7f65 2021-07-08T17:49:56,862 Successfully built amfast 2021-07-08T17:49:56,869 Removed build tracker: '/tmp/pip-req-tracker-ooxgciwo'