2021-07-08T17:50:15,645 Created temporary directory: /tmp/pip-ephem-wheel-cache-m0d7fgit 2021-07-08T17:50:15,650 Created temporary directory: /tmp/pip-req-tracker-qeq6f2_v 2021-07-08T17:50:15,651 Initialized build tracking at /tmp/pip-req-tracker-qeq6f2_v 2021-07-08T17:50:15,651 Created build tracker: /tmp/pip-req-tracker-qeq6f2_v 2021-07-08T17:50:15,651 Entered build tracker: /tmp/pip-req-tracker-qeq6f2_v 2021-07-08T17:50:15,652 Created temporary directory: /tmp/pip-wheel-ufrto52m 2021-07-08T17:50:15,686 1 location(s) to search for versions of amfast: 2021-07-08T17:50:15,686 * https://pypi.org/simple/amfast/ 2021-07-08T17:50:15,687 Fetching project page and analyzing links: https://pypi.org/simple/amfast/ 2021-07-08T17:50:15,687 Getting page https://pypi.org/simple/amfast/ 2021-07-08T17:50:15,689 Found index url https://pypi.org/simple 2021-07-08T17:50:15,788 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:50:15,788 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:50:15,789 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:50:15,789 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:50:15,789 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:50:15,790 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:50:15,790 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:50:15,790 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:50:15,791 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:50:15,791 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:50:15,791 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:50:15,791 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:50:15,792 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:50:15,792 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:50:15,792 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:50:15,793 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:50:15,793 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:50:15,793 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:50:15,793 Skipping link: not a file: https://pypi.org/simple/amfast/ 2021-07-08T17:50:15,812 Given no hashes to check 1 links for project 'amfast': discarding no candidates 2021-07-08T17:50:15,829 Collecting amfast==0.2.1 2021-07-08T17:50:15,831 Created temporary directory: /tmp/pip-unpack-1zfm9roo 2021-07-08T17:50:15,873 Downloading AmFast-0.2.1.tar.gz (630 kB) 2021-07-08T17:50:16,076 Added amfast==0.2.1 from https://files.pythonhosted.org/packages/52/6d/07115523547af0c83566ef1f4787492e7041d250be4cbbef9eca312f4efb/AmFast-0.2.1.tar.gz#sha256=e58185847c7e02f406586281022e2dec6d628c9147a9686191d68522b02bfa3d to build tracker '/tmp/pip-req-tracker-qeq6f2_v' 2021-07-08T17:50:16,077 Running setup.py (path:/tmp/pip-wheel-ufrto52m/amfast_e5108a9f57e74e30bfb8217514314ca7/setup.py) egg_info for package amfast 2021-07-08T17:50:16,078 Created temporary directory: /tmp/pip-pip-egg-info-n4s97lro 2021-07-08T17:50:16,079 Running command python setup.py egg_info 2021-07-08T17:50:16,818 running egg_info 2021-07-08T17:50:16,820 creating /tmp/pip-pip-egg-info-n4s97lro/AmFast.egg-info 2021-07-08T17:50:16,821 writing /tmp/pip-pip-egg-info-n4s97lro/AmFast.egg-info/PKG-INFO 2021-07-08T17:50:16,823 writing dependency_links to /tmp/pip-pip-egg-info-n4s97lro/AmFast.egg-info/dependency_links.txt 2021-07-08T17:50:16,825 writing top-level names to /tmp/pip-pip-egg-info-n4s97lro/AmFast.egg-info/top_level.txt 2021-07-08T17:50:16,827 writing manifest file '/tmp/pip-pip-egg-info-n4s97lro/AmFast.egg-info/SOURCES.txt' 2021-07-08T17:50:17,157 reading manifest file '/tmp/pip-pip-egg-info-n4s97lro/AmFast.egg-info/SOURCES.txt' 2021-07-08T17:50:17,161 writing manifest file '/tmp/pip-pip-egg-info-n4s97lro/AmFast.egg-info/SOURCES.txt' 2021-07-08T17:50:17,236 Source in /tmp/pip-wheel-ufrto52m/amfast_e5108a9f57e74e30bfb8217514314ca7 has version 0.2.1, which satisfies requirement amfast==0.2.1 from https://files.pythonhosted.org/packages/52/6d/07115523547af0c83566ef1f4787492e7041d250be4cbbef9eca312f4efb/AmFast-0.2.1.tar.gz#sha256=e58185847c7e02f406586281022e2dec6d628c9147a9686191d68522b02bfa3d 2021-07-08T17:50:17,237 Removed amfast==0.2.1 from https://files.pythonhosted.org/packages/52/6d/07115523547af0c83566ef1f4787492e7041d250be4cbbef9eca312f4efb/AmFast-0.2.1.tar.gz#sha256=e58185847c7e02f406586281022e2dec6d628c9147a9686191d68522b02bfa3d from build tracker '/tmp/pip-req-tracker-qeq6f2_v' 2021-07-08T17:50:17,241 Created temporary directory: /tmp/pip-unpack-g9apprcn 2021-07-08T17:50:17,242 Building wheels for collected packages: amfast 2021-07-08T17:50:17,246 Created temporary directory: /tmp/pip-wheel-ocsplo79 2021-07-08T17:50:17,246 Building wheel for amfast (setup.py): started 2021-07-08T17:50:17,246 Destination directory: /tmp/pip-wheel-ocsplo79 2021-07-08T17:50:17,247 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-ufrto52m/amfast_e5108a9f57e74e30bfb8217514314ca7/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-ufrto52m/amfast_e5108a9f57e74e30bfb8217514314ca7/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-ocsplo79 2021-07-08T17:50:18,028 running bdist_wheel 2021-07-08T17:50:18,181 running build 2021-07-08T17:50:18,182 running build_py 2021-07-08T17:50:18,322 creating build 2021-07-08T17:50:18,323 creating build/lib.linux-armv7l-3.9 2021-07-08T17:50:18,324 creating build/lib.linux-armv7l-3.9/amfast 2021-07-08T17:50:18,325 copying amfast/__init__.py -> build/lib.linux-armv7l-3.9/amfast 2021-07-08T17:50:18,327 creating build/lib.linux-armv7l-3.9/amfast/class_def 2021-07-08T17:50:18,328 copying amfast/class_def/sa_class_def.py -> build/lib.linux-armv7l-3.9/amfast/class_def 2021-07-08T17:50:18,330 copying amfast/class_def/__init__.py -> build/lib.linux-armv7l-3.9/amfast/class_def 2021-07-08T17:50:18,333 creating build/lib.linux-armv7l-3.9/amfast/remoting 2021-07-08T17:50:18,334 copying amfast/remoting/flex_messages.py -> build/lib.linux-armv7l-3.9/amfast/remoting 2021-07-08T17:50:18,336 copying amfast/remoting/__init__.py -> build/lib.linux-armv7l-3.9/amfast/remoting 2021-07-08T17:50:18,339 copying amfast/remoting/targets.py -> build/lib.linux-armv7l-3.9/amfast/remoting 2021-07-08T17:50:18,342 running build_ext 2021-07-08T17:50:18,349 building 'amfast.encoder' extension 2021-07-08T17:50:18,349 creating build/temp.linux-armv7l-3.9 2021-07-08T17:50:18,350 creating build/temp.linux-armv7l-3.9/amfast 2021-07-08T17:50:18,351 creating build/temp.linux-armv7l-3.9/amfast/ext_src 2021-07-08T17:50:18,351 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:50:18,707 amfast/ext_src/amf_common.c: In function ‘destroy_object_context’: 2021-07-08T17:50:18,707 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:50:18,707 37 | for (i = 0; i < context->data_len; i++) { 2021-07-08T17:50:18,708 | ^ 2021-07-08T17:50:18,713 amfast/ext_src/amf_common.c: In function ‘map_next_object_ref’: 2021-07-08T17:50:18,713 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:50:18,714 68 | PyObject *idx = PyInt_FromLong(idx_int); 2021-07-08T17:50:18,714 | ^~~~~~~~~~~~~~ 2021-07-08T17:50:18,714 | PyLong_FromLong 2021-07-08T17:50:18,714 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:50:18,719 amfast/ext_src/amf_common.c: In function ‘get_idx_from_ref’: 2021-07-08T17:50:18,719 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:50:18,720 106 | int idx_int = PyInt_AsLong(idx); 2021-07-08T17:50:18,720 | ^~~~~~~~~~~~ 2021-07-08T17:50:18,720 | PyLong_AsLong 2021-07-08T17:50:18,720 amfast/ext_src/amf_common.c: In function ‘get_ref_from_idx’: 2021-07-08T17:50:18,721 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:50:18,721 113 | if (idx >= context->data_len) { 2021-07-08T17:50:18,722 | ^~ 2021-07-08T17:50:18,868 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:50:19,246 amfast/ext_src/encoder.c: In function ‘write_int’: 2021-07-08T17:50:19,246 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:50:19,246 407 | long n = PyInt_AsLong(value); 2021-07-08T17:50:19,247 | ^~~~~~~~~~~~ 2021-07-08T17:50:19,247 | PyLong_AsLong 2021-07-08T17:50:19,247 amfast/ext_src/encoder.c: In function ‘serialize_unicode’: 2021-07-08T17:50:19,247 amfast/ext_src/encoder.c:441:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 2021-07-08T17:50:19,247 441 | if (PyUnicode_GET_SIZE(value) == 0) { 2021-07-08T17:50:19,247 | ^~ 2021-07-08T17:50:19,248 In file included from /usr/include/python3.9/unicodeobject.h:1026, 2021-07-08T17:50:19,248 from /usr/include/python3.9/Python.h:97, 2021-07-08T17:50:19,248 from amfast/ext_src/encoder.c:1: 2021-07-08T17:50:19,248 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 2021-07-08T17:50:19,248 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { 2021-07-08T17:50:19,248 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:19,249 amfast/ext_src/encoder.c:441:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 2021-07-08T17:50:19,249 441 | if (PyUnicode_GET_SIZE(value) == 0) { 2021-07-08T17:50:19,249 | ^~ 2021-07-08T17:50:19,249 In file included from /usr/include/python3.9/unicodeobject.h:1026, 2021-07-08T17:50:19,249 from /usr/include/python3.9/Python.h:97, 2021-07-08T17:50:19,249 from amfast/ext_src/encoder.c:1: 2021-07-08T17:50:19,249 /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 2021-07-08T17:50:19,249 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( 2021-07-08T17:50:19,250 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:19,250 amfast/ext_src/encoder.c:441:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 2021-07-08T17:50:19,250 441 | if (PyUnicode_GET_SIZE(value) == 0) { 2021-07-08T17:50:19,250 | ^~ 2021-07-08T17:50:19,250 In file included from /usr/include/python3.9/unicodeobject.h:1026, 2021-07-08T17:50:19,250 from /usr/include/python3.9/Python.h:97, 2021-07-08T17:50:19,250 from amfast/ext_src/encoder.c:1: 2021-07-08T17:50:19,250 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 2021-07-08T17:50:19,250 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { 2021-07-08T17:50:19,251 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:19,258 amfast/ext_src/encoder.c: In function ‘encode_unicode’: 2021-07-08T17:50:19,258 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:50:19,259 462 | char *char_value = PyString_AS_STRING(PyString_value); 2021-07-08T17:50:19,259 | ^~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:19,259 | PyBytes_AS_STRING 2021-07-08T17:50:19,259 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:50:19,267 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:50:19,267 463 | int string_len = PyString_GET_SIZE(PyString_value); 2021-07-08T17:50:19,268 | ^~~~~~~~~~~~~~~~~ 2021-07-08T17:50:19,268 | PyList_GET_SIZE 2021-07-08T17:50:19,274 amfast/ext_src/encoder.c: In function ‘serialize_string_or_unicode’: 2021-07-08T17:50:19,274 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:50:19,274 510 | else if (PyString_Check(value)) { 2021-07-08T17:50:19,275 | ^~~~~~~~~~~~~~ 2021-07-08T17:50:19,275 | PyMapping_Check 2021-07-08T17:50:19,282 amfast/ext_src/encoder.c: In function ‘_serialize_string’: 2021-07-08T17:50:19,282 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:50:19,282 536 | PyObject *string_value = PyString_FromString(value); 2021-07-08T17:50:19,282 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:19,283 | PyLong_FromString 2021-07-08T17:50:19,283 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:50:19,283 amfast/ext_src/encoder.c: In function ‘_encode_array_collection_header’: 2021-07-08T17:50:19,283 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:50:19,283 551 | PyObject *method_name = PyString_FromString("getClassDefByAlias"); 2021-07-08T17:50:19,283 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:19,284 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:50:19,284 555 | PyObject *alias = PyString_FromString("flex.messaging.io.ArrayCollection"); 2021-07-08T17:50:19,284 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:19,286 amfast/ext_src/encoder.c: In function ‘_encode_object_proxy_header’: 2021-07-08T17:50:19,286 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:50:19,286 696 | PyObject *method_name = PyString_FromString("getClassDefByAlias"); 2021-07-08T17:50:19,286 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:19,286 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:50:19,286 700 | PyObject *alias = PyString_FromString("flex.messaging.io.ObjectProxy"); 2021-07-08T17:50:19,287 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:19,298 amfast/ext_src/encoder.c: In function ‘serialize_byte_array’: 2021-07-08T17:50:19,299 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:50:19,299 898 | if (PyString_CheckExact(value)) { 2021-07-08T17:50:19,299 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:19,299 | PyLong_CheckExact 2021-07-08T17:50:19,300 amfast/ext_src/encoder.c: In function ‘encode_byte_array’: 2021-07-08T17:50:19,300 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:50:19,300 926 | byte_value = PyString_AS_STRING(value); 2021-07-08T17:50:19,300 | ^ 2021-07-08T17:50:19,303 amfast/ext_src/encoder.c: In function ‘encode_object’: 2021-07-08T17:50:19,303 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:50:19,303 1044 | PyObject *method_name = PyString_FromString("writeByteString"); 2021-07-08T17:50:19,304 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:19,308 amfast/ext_src/encoder.c: In function ‘write_unicode_AMF0’: 2021-07-08T17:50:19,309 amfast/ext_src/encoder.c:1289:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 2021-07-08T17:50:19,309 1289 | int string_len = PyUnicode_GET_SIZE(value); 2021-07-08T17:50:19,309 | ^~~ 2021-07-08T17:50:19,309 In file included from /usr/include/python3.9/unicodeobject.h:1026, 2021-07-08T17:50:19,309 from /usr/include/python3.9/Python.h:97, 2021-07-08T17:50:19,309 from amfast/ext_src/encoder.c:1: 2021-07-08T17:50:19,310 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 2021-07-08T17:50:19,310 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { 2021-07-08T17:50:19,310 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:19,311 amfast/ext_src/encoder.c:1289:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 2021-07-08T17:50:19,311 1289 | int string_len = PyUnicode_GET_SIZE(value); 2021-07-08T17:50:19,311 | ^~~ 2021-07-08T17:50:19,311 In file included from /usr/include/python3.9/unicodeobject.h:1026, 2021-07-08T17:50:19,311 from /usr/include/python3.9/Python.h:97, 2021-07-08T17:50:19,311 from amfast/ext_src/encoder.c:1: 2021-07-08T17:50:19,311 /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 2021-07-08T17:50:19,311 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( 2021-07-08T17:50:19,312 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:19,312 amfast/ext_src/encoder.c:1289:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 2021-07-08T17:50:19,312 1289 | int string_len = PyUnicode_GET_SIZE(value); 2021-07-08T17:50:19,312 | ^~~ 2021-07-08T17:50:19,312 In file included from /usr/include/python3.9/unicodeobject.h:1026, 2021-07-08T17:50:19,312 from /usr/include/python3.9/Python.h:97, 2021-07-08T17:50:19,312 from amfast/ext_src/encoder.c:1: 2021-07-08T17:50:19,313 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 2021-07-08T17:50:19,313 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { 2021-07-08T17:50:19,313 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:19,313 amfast/ext_src/encoder.c: In function ‘encode_unicode_AMF0’: 2021-07-08T17:50:19,314 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:50:19,314 1328 | char *char_value = PyString_AS_STRING(PyString_value); 2021-07-08T17:50:19,314 | ^~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:19,319 amfast/ext_src/encoder.c: In function ‘class_def_from_class’: 2021-07-08T17:50:19,320 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:50:19,320 1505 | context->get_class_def_method_name = PyString_FromString("getClassDefByClass"); 2021-07-08T17:50:19,320 | ^ 2021-07-08T17:50:19,322 amfast/ext_src/encoder.c: In function ‘static_attr_vals_from_class_def’: 2021-07-08T17:50:19,322 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:50:19,323 1563 | PyObject *method_name = PyString_FromString("getStaticAttrVals"); 2021-07-08T17:50:19,323 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:19,323 amfast/ext_src/encoder.c: In function ‘dynamic_attrs_from_class_def’: 2021-07-08T17:50:19,324 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:50:19,324 1584 | PyObject *method_name = PyString_FromString("getDynamicAttrVals"); 2021-07-08T17:50:19,324 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:19,340 amfast/ext_src/encoder.c: In function ‘_encode_AMF0’: 2021-07-08T17:50:19,341 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:50:19,341 1976 | } else if (PyInt_Check(value)) { 2021-07-08T17:50:19,341 | ^~~~~~~~~~~ 2021-07-08T17:50:19,341 | PySet_Check 2021-07-08T17:50:19,357 amfast/ext_src/encoder.c: In function ‘encode’: 2021-07-08T17:50:19,359 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:50:19,359 2138 | PyObject *return_obj = PyString_FromStringAndSize(context->buf, context->buf_len); 2021-07-08T17:50:19,359 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:19,359 | PyBytes_FromStringAndSize 2021-07-08T17:50:19,359 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:50:19,366 amfast/ext_src/encoder.c: In function ‘initencoder’: 2021-07-08T17:50:19,367 amfast/ext_src/encoder.c:2178:14: warning: implicit declaration of function ‘Py_InitModule’ [-Wimplicit-function-declaration] 2021-07-08T17:50:19,367 2178 | module = Py_InitModule("encoder", encoder_methods); 2021-07-08T17:50:19,368 | ^~~~~~~~~~~~~ 2021-07-08T17:50:19,368 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:50:19,369 2178 | module = Py_InitModule("encoder", encoder_methods); 2021-07-08T17:50:19,369 | ^ 2021-07-08T17:50:19,369 amfast/ext_src/encoder.c:2180:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:50:19,370 2180 | return; 2021-07-08T17:50:19,370 | ^~~~~~ 2021-07-08T17:50:19,371 amfast/ext_src/encoder.c:2174:1: note: declared here 2021-07-08T17:50:19,371 2174 | initencoder(void) 2021-07-08T17:50:19,371 | ^~~~~~~~~~~ 2021-07-08T17:50:19,372 amfast/ext_src/encoder.c:2186:13: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:50:19,372 2186 | return; 2021-07-08T17:50:19,372 | ^~~~~~ 2021-07-08T17:50:19,373 amfast/ext_src/encoder.c:2174:1: note: declared here 2021-07-08T17:50:19,373 2174 | initencoder(void) 2021-07-08T17:50:19,373 | ^~~~~~~~~~~ 2021-07-08T17:50:19,374 amfast/ext_src/encoder.c:2192:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:50:19,374 2192 | return; 2021-07-08T17:50:19,374 | ^~~~~~ 2021-07-08T17:50:19,375 amfast/ext_src/encoder.c:2174:1: note: declared here 2021-07-08T17:50:19,375 2174 | initencoder(void) 2021-07-08T17:50:19,376 | ^~~~~~~~~~~ 2021-07-08T17:50:19,376 amfast/ext_src/encoder.c:2197:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:50:19,376 2197 | return; 2021-07-08T17:50:19,377 | ^~~~~~ 2021-07-08T17:50:19,377 amfast/ext_src/encoder.c:2174:1: note: declared here 2021-07-08T17:50:19,378 2174 | initencoder(void) 2021-07-08T17:50:19,378 | ^~~~~~~~~~~ 2021-07-08T17:50:19,379 amfast/ext_src/encoder.c:2202:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:50:19,379 2202 | return; 2021-07-08T17:50:19,379 | ^~~~~~ 2021-07-08T17:50:19,380 amfast/ext_src/encoder.c:2174:1: note: declared here 2021-07-08T17:50:19,380 2174 | initencoder(void) 2021-07-08T17:50:19,380 | ^~~~~~~~~~~ 2021-07-08T17:50:19,381 amfast/ext_src/encoder.c:2209:13: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:50:19,381 2209 | return; 2021-07-08T17:50:19,381 | ^~~~~~ 2021-07-08T17:50:19,382 amfast/ext_src/encoder.c:2174:1: note: declared here 2021-07-08T17:50:19,382 2174 | initencoder(void) 2021-07-08T17:50:19,382 | ^~~~~~~~~~~ 2021-07-08T17:50:19,403 At top level: 2021-07-08T17:50:19,404 amfast/ext_src/encoder.c:534:12: warning: ‘_serialize_string’ defined but not used [-Wunused-function] 2021-07-08T17:50:19,404 534 | static int _serialize_string(EncoderContext *context, char *value) 2021-07-08T17:50:19,404 | ^~~~~~~~~~~~~~~~~ 2021-07-08T17:50:19,404 amfast/ext_src/encoder.c:301:12: warning: ‘_amf_write_string’ defined but not used [-Wunused-function] 2021-07-08T17:50:19,404 301 | static int _amf_write_string(EncoderContext *context, char *value) 2021-07-08T17:50:19,404 | ^~~~~~~~~~~~~~~~~ 2021-07-08T17:50:21,128 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:50:21,243 building 'amfast.decoder' extension 2021-07-08T17:50:21,244 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:50:21,595 amfast/ext_src/amf_common.c: In function ‘destroy_object_context’: 2021-07-08T17:50:21,595 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:50:21,595 37 | for (i = 0; i < context->data_len; i++) { 2021-07-08T17:50:21,595 | ^ 2021-07-08T17:50:21,601 amfast/ext_src/amf_common.c: In function ‘map_next_object_ref’: 2021-07-08T17:50:21,601 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:50:21,601 68 | PyObject *idx = PyInt_FromLong(idx_int); 2021-07-08T17:50:21,602 | ^~~~~~~~~~~~~~ 2021-07-08T17:50:21,602 | PyLong_FromLong 2021-07-08T17:50:21,602 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:50:21,607 amfast/ext_src/amf_common.c: In function ‘get_idx_from_ref’: 2021-07-08T17:50:21,607 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:50:21,607 106 | int idx_int = PyInt_AsLong(idx); 2021-07-08T17:50:21,608 | ^~~~~~~~~~~~ 2021-07-08T17:50:21,608 | PyLong_AsLong 2021-07-08T17:50:21,608 amfast/ext_src/amf_common.c: In function ‘get_ref_from_idx’: 2021-07-08T17:50:21,609 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:50:21,610 113 | if (idx >= context->data_len) { 2021-07-08T17:50:21,610 | ^~ 2021-07-08T17:50:21,753 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:50:22,128 amfast/ext_src/decoder.c: In function ‘decode_typed_object’: 2021-07-08T17:50:22,128 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:50:22,128 352 | context->apply_attr_vals_method_name = PyString_FromString("applyAttrVals"); 2021-07-08T17:50:22,129 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:22,129 | PyLong_FromString 2021-07-08T17:50:22,129 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:50:22,129 352 | context->apply_attr_vals_method_name = PyString_FromString("applyAttrVals"); 2021-07-08T17:50:22,130 | ^ 2021-07-08T17:50:22,130 amfast/ext_src/decoder.c: In function ‘decode_externizeable’: 2021-07-08T17:50:22,131 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:50:22,131 372 | PyObject *method_name = PyString_FromString("readByteString"); 2021-07-08T17:50:22,131 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:22,137 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:50:22,138 403 | context->pos = PyInt_AsLong(parsed_len) + 1; 2021-07-08T17:50:22,138 | ^~~~~~~~~~~~ 2021-07-08T17:50:22,138 | PyLong_AsLong 2021-07-08T17:50:22,140 amfast/ext_src/decoder.c: In function ‘class_def_from_alias’: 2021-07-08T17:50:22,141 amfast/ext_src/decoder.c:524:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 2021-07-08T17:50:22,141 524 | if (PyUnicode_GET_SIZE(alias) == 0) { 2021-07-08T17:50:22,141 | ^~ 2021-07-08T17:50:22,142 In file included from /usr/include/python3.9/unicodeobject.h:1026, 2021-07-08T17:50:22,142 from /usr/include/python3.9/Python.h:97, 2021-07-08T17:50:22,143 from amfast/ext_src/decoder.c:1: 2021-07-08T17:50:22,143 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 2021-07-08T17:50:22,143 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { 2021-07-08T17:50:22,143 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:22,144 amfast/ext_src/decoder.c:524:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 2021-07-08T17:50:22,144 524 | if (PyUnicode_GET_SIZE(alias) == 0) { 2021-07-08T17:50:22,144 | ^~ 2021-07-08T17:50:22,144 In file included from /usr/include/python3.9/unicodeobject.h:1026, 2021-07-08T17:50:22,144 from /usr/include/python3.9/Python.h:97, 2021-07-08T17:50:22,144 from amfast/ext_src/decoder.c:1: 2021-07-08T17:50:22,145 /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here 2021-07-08T17:50:22,145 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( 2021-07-08T17:50:22,145 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:22,145 amfast/ext_src/decoder.c:524:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 2021-07-08T17:50:22,146 524 | if (PyUnicode_GET_SIZE(alias) == 0) { 2021-07-08T17:50:22,146 | ^~ 2021-07-08T17:50:22,146 In file included from /usr/include/python3.9/unicodeobject.h:1026, 2021-07-08T17:50:22,146 from /usr/include/python3.9/Python.h:97, 2021-07-08T17:50:22,146 from amfast/ext_src/decoder.c:1: 2021-07-08T17:50:22,146 /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here 2021-07-08T17:50:22,146 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { 2021-07-08T17:50:22,147 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:22,147 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:50:22,147 531 | context->get_class_def_method_name = PyString_FromString("getClassDefByAlias"); 2021-07-08T17:50:22,148 | ^ 2021-07-08T17:50:22,148 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:50:22,149 540 | PyObject *error_title = PyString_FromString("Class alias not mapped: "); 2021-07-08T17:50:22,149 | ^~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:22,162 amfast/ext_src/decoder.c: In function ‘deserialize_string’: 2021-07-08T17:50:22,163 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:50:22,163 825 | return PyString_FromStringAndSize(NULL, 0); 2021-07-08T17:50:22,163 | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:22,163 | PyBytes_FromStringAndSize 2021-07-08T17:50:22,164 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:50:22,164 825 | return PyString_FromStringAndSize(NULL, 0); 2021-07-08T17:50:22,164 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:22,173 amfast/ext_src/decoder.c: In function ‘decode_int’: 2021-07-08T17:50:22,174 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:50:22,174 1004 | return PyInt_FromLong(_decode_int(context)); 2021-07-08T17:50:22,174 | ^~~~~~~~~~~~~~ 2021-07-08T17:50:22,174 | PyLong_FromLong 2021-07-08T17:50:22,175 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:50:22,175 1004 | return PyInt_FromLong(_decode_int(context)); 2021-07-08T17:50:22,175 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:22,178 amfast/ext_src/decoder.c: In function ‘decode_date_AMF0’: 2021-07-08T17:50:22,179 amfast/ext_src/decoder.c:1125:9: warning: unused variable ‘tz’ [-Wunused-variable] 2021-07-08T17:50:22,179 1125 | int tz = _decode_ushort(context); // timezone value. 2021-07-08T17:50:22,179 | ^~ 2021-07-08T17:50:22,181 amfast/ext_src/decoder.c: In function ‘decode_typed_object_AMF0’: 2021-07-08T17:50:22,182 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:50:22,182 1191 | context->apply_attr_vals_method_name = PyString_FromString("applyAttrVals"); 2021-07-08T17:50:22,182 | ^ 2021-07-08T17:50:22,186 amfast/ext_src/decoder.c: In function ‘decode_headers_AMF0’: 2021-07-08T17:50:22,187 amfast/ext_src/decoder.c:1289:13: warning: unused variable ‘byte_len’ [-Wunused-variable] 2021-07-08T17:50:22,187 1289 | int byte_len = _decode_ulong(context); // Byte length of header. 2021-07-08T17:50:22,187 | ^~~~~~~~ 2021-07-08T17:50:22,189 amfast/ext_src/decoder.c: In function ‘decode_messages_AMF0’: 2021-07-08T17:50:22,190 amfast/ext_src/decoder.c:1378:13: warning: unused variable ‘byte_len’ [-Wunused-variable] 2021-07-08T17:50:22,191 1378 | int byte_len = _decode_ulong(context); // Message byte length 2021-07-08T17:50:22,191 | ^~~~~~~~ 2021-07-08T17:50:22,209 amfast/ext_src/decoder.c: In function ‘decode’: 2021-07-08T17:50:22,210 amfast/ext_src/decoder.c:1574:20: warning: implicit declaration of function ‘PyString_AsString’ [-Wimplicit-function-declaration] 2021-07-08T17:50:22,211 1574 | context->buf = PyString_AsString(value); 2021-07-08T17:50:22,211 | ^~~~~~~~~~~~~~~~~ 2021-07-08T17:50:22,212 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:50:22,212 1574 | context->buf = PyString_AsString(value); 2021-07-08T17:50:22,212 | ^ 2021-07-08T17:50:22,223 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:50:22,223 1578 | context->buf_len = PyString_GET_SIZE(value); 2021-07-08T17:50:22,223 | ^~~~~~~~~~~~~~~~~ 2021-07-08T17:50:22,223 | PyList_GET_SIZE 2021-07-08T17:50:22,232 amfast/ext_src/decoder.c: In function ‘initdecoder’: 2021-07-08T17:50:22,233 amfast/ext_src/decoder.c:1641:14: warning: implicit declaration of function ‘Py_InitModule’ [-Wimplicit-function-declaration] 2021-07-08T17:50:22,233 1641 | module = Py_InitModule("decoder", decoder_methods); 2021-07-08T17:50:22,233 | ^~~~~~~~~~~~~ 2021-07-08T17:50:22,235 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:50:22,235 1641 | module = Py_InitModule("decoder", decoder_methods); 2021-07-08T17:50:22,235 | ^ 2021-07-08T17:50:22,236 amfast/ext_src/decoder.c:1643:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:50:22,236 1643 | return; 2021-07-08T17:50:22,236 | ^~~~~~ 2021-07-08T17:50:22,238 amfast/ext_src/decoder.c:1637:1: note: declared here 2021-07-08T17:50:22,238 1637 | initdecoder(void) 2021-07-08T17:50:22,238 | ^~~~~~~~~~~ 2021-07-08T17:50:22,240 amfast/ext_src/decoder.c:1649:13: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:50:22,240 1649 | return; 2021-07-08T17:50:22,240 | ^~~~~~ 2021-07-08T17:50:22,241 amfast/ext_src/decoder.c:1637:1: note: declared here 2021-07-08T17:50:22,241 1637 | initdecoder(void) 2021-07-08T17:50:22,241 | ^~~~~~~~~~~ 2021-07-08T17:50:22,243 amfast/ext_src/decoder.c:1655:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:50:22,243 1655 | return; 2021-07-08T17:50:22,243 | ^~~~~~ 2021-07-08T17:50:22,244 amfast/ext_src/decoder.c:1637:1: note: declared here 2021-07-08T17:50:22,244 1637 | initdecoder(void) 2021-07-08T17:50:22,244 | ^~~~~~~~~~~ 2021-07-08T17:50:22,246 amfast/ext_src/decoder.c:1660:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:50:22,246 1660 | return; 2021-07-08T17:50:22,246 | ^~~~~~ 2021-07-08T17:50:22,247 amfast/ext_src/decoder.c:1637:1: note: declared here 2021-07-08T17:50:22,247 1637 | initdecoder(void) 2021-07-08T17:50:22,247 | ^~~~~~~~~~~ 2021-07-08T17:50:22,249 amfast/ext_src/decoder.c:1665:9: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:50:22,249 1665 | return; 2021-07-08T17:50:22,249 | ^~~~~~ 2021-07-08T17:50:22,250 amfast/ext_src/decoder.c:1637:1: note: declared here 2021-07-08T17:50:22,250 1637 | initdecoder(void) 2021-07-08T17:50:22,250 | ^~~~~~~~~~~ 2021-07-08T17:50:22,252 amfast/ext_src/decoder.c:1672:13: warning: ‘return’ with no value, in function returning non-void [-Wreturn-type] 2021-07-08T17:50:22,252 1672 | return; 2021-07-08T17:50:22,252 | ^~~~~~ 2021-07-08T17:50:22,253 amfast/ext_src/decoder.c:1637:1: note: declared here 2021-07-08T17:50:22,253 1637 | initdecoder(void) 2021-07-08T17:50:22,253 | ^~~~~~~~~~~ 2021-07-08T17:50:22,639 amfast/ext_src/decoder.c: In function ‘_decode’: 2021-07-08T17:50:22,641 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:50:22,641 1551 | sprintf(error_str, "Unknown AMF3 type marker byte: '%X' at position: %d", byte, context->pos); 2021-07-08T17:50:22,641 | ~~~~~~~^~~~~~~~ 2021-07-08T17:50:22,641 In file included from /usr/include/stdio.h:867, 2021-07-08T17:50:22,641 from /usr/include/python3.9/Python.h:25, 2021-07-08T17:50:22,641 from amfast/ext_src/decoder.c:1: 2021-07-08T17:50:22,642 /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:50:22,642 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-08T17:50:22,642 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:22,642 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-08T17:50:22,642 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:23,071 amfast/ext_src/decoder.c: In function ‘_decode_AMF0’: 2021-07-08T17:50:23,073 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:50:23,073 1505 | sprintf(error_str, "Unknown AMF0 type marker byte: '%X' at position: %d", byte, context->pos); 2021-07-08T17:50:23,073 | ~~~~~~~^~~~~~~~ 2021-07-08T17:50:23,073 In file included from /usr/include/stdio.h:867, 2021-07-08T17:50:23,073 from /usr/include/python3.9/Python.h:25, 2021-07-08T17:50:23,074 from amfast/ext_src/decoder.c:1: 2021-07-08T17:50:23,074 /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:50:23,074 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, 2021-07-08T17:50:23,074 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:23,074 37 | __bos (__s), __fmt, __va_arg_pack ()); 2021-07-08T17:50:23,074 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2021-07-08T17:50:23,641 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:50:23,760 installing to build/bdist.linux-armv7l/wheel 2021-07-08T17:50:23,760 running install 2021-07-08T17:50:23,761 running install_lib 2021-07-08T17:50:23,766 creating build/bdist.linux-armv7l 2021-07-08T17:50:23,766 creating build/bdist.linux-armv7l/wheel 2021-07-08T17:50:23,769 creating build/bdist.linux-armv7l/wheel/amfast 2021-07-08T17:50:23,770 copying build/lib.linux-armv7l-3.9/amfast/encoder.cpython-39-arm-linux-gnueabihf.so -> build/bdist.linux-armv7l/wheel/amfast 2021-07-08T17:50:23,777 copying build/lib.linux-armv7l-3.9/amfast/decoder.cpython-39-arm-linux-gnueabihf.so -> build/bdist.linux-armv7l/wheel/amfast 2021-07-08T17:50:23,786 copying build/lib.linux-armv7l-3.9/amfast/__init__.py -> build/bdist.linux-armv7l/wheel/amfast 2021-07-08T17:50:23,789 creating build/bdist.linux-armv7l/wheel/amfast/remoting 2021-07-08T17:50:23,790 copying build/lib.linux-armv7l-3.9/amfast/remoting/flex_messages.py -> build/bdist.linux-armv7l/wheel/amfast/remoting 2021-07-08T17:50:23,793 copying build/lib.linux-armv7l-3.9/amfast/remoting/__init__.py -> build/bdist.linux-armv7l/wheel/amfast/remoting 2021-07-08T17:50:23,796 copying build/lib.linux-armv7l-3.9/amfast/remoting/targets.py -> build/bdist.linux-armv7l/wheel/amfast/remoting 2021-07-08T17:50:23,799 creating build/bdist.linux-armv7l/wheel/amfast/class_def 2021-07-08T17:50:23,800 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:50:23,803 copying build/lib.linux-armv7l-3.9/amfast/class_def/__init__.py -> build/bdist.linux-armv7l/wheel/amfast/class_def 2021-07-08T17:50:23,805 running install_egg_info 2021-07-08T17:50:23,827 running egg_info 2021-07-08T17:50:23,828 writing AmFast.egg-info/PKG-INFO 2021-07-08T17:50:23,830 writing dependency_links to AmFast.egg-info/dependency_links.txt 2021-07-08T17:50:23,832 writing top-level names to AmFast.egg-info/top_level.txt 2021-07-08T17:50:23,838 reading manifest file 'AmFast.egg-info/SOURCES.txt' 2021-07-08T17:50:23,848 writing manifest file 'AmFast.egg-info/SOURCES.txt' 2021-07-08T17:50:23,850 Copying AmFast.egg-info to build/bdist.linux-armv7l/wheel/AmFast-0.2.1-py3.9.egg-info 2021-07-08T17:50:23,859 running install_scripts 2021-07-08T17:50:23,936 creating build/bdist.linux-armv7l/wheel/AmFast-0.2.1.dist-info/WHEEL 2021-07-08T17:50:23,938 creating '/tmp/pip-wheel-ocsplo79/AmFast-0.2.1-cp39-cp39-linux_armv7l.whl' and adding 'build/bdist.linux-armv7l/wheel' to it 2021-07-08T17:50:23,941 adding 'amfast/__init__.py' 2021-07-08T17:50:23,964 adding 'amfast/decoder.cpython-39-arm-linux-gnueabihf.so' 2021-07-08T17:50:23,995 adding 'amfast/encoder.cpython-39-arm-linux-gnueabihf.so' 2021-07-08T17:50:23,999 adding 'amfast/class_def/__init__.py' 2021-07-08T17:50:24,000 adding 'amfast/class_def/sa_class_def.py' 2021-07-08T17:50:24,003 adding 'amfast/remoting/__init__.py' 2021-07-08T17:50:24,005 adding 'amfast/remoting/flex_messages.py' 2021-07-08T17:50:24,006 adding 'amfast/remoting/targets.py' 2021-07-08T17:50:24,007 adding 'AmFast-0.2.1.dist-info/METADATA' 2021-07-08T17:50:24,008 adding 'AmFast-0.2.1.dist-info/WHEEL' 2021-07-08T17:50:24,009 adding 'AmFast-0.2.1.dist-info/top_level.txt' 2021-07-08T17:50:24,010 adding 'AmFast-0.2.1.dist-info/RECORD' 2021-07-08T17:50:24,014 removing build/bdist.linux-armv7l/wheel 2021-07-08T17:50:24,109 Building wheel for amfast (setup.py): finished with status 'done' 2021-07-08T17:50:24,112 Created wheel for amfast: filename=AmFast-0.2.1-cp39-cp39-linux_armv7l.whl size=113512 sha256=f9d22dc5acb9235ab9d0b74560fea06fe8cbbd8eaa4b0cfb61199d89bde71136 2021-07-08T17:50:24,113 Stored in directory: /tmp/pip-ephem-wheel-cache-m0d7fgit/wheels/df/2f/c8/e3118c6135ffc32d3709e60ac2a8d7dd861ed11b6d93714670 2021-07-08T17:50:24,121 Successfully built amfast 2021-07-08T17:50:24,129 Removed build tracker: '/tmp/pip-req-tracker-qeq6f2_v'