2023-09-11T14:34:50,583 Created temporary directory: /tmp/pip-build-tracker-2bov4quc 2023-09-11T14:34:50,584 Initialized build tracking at /tmp/pip-build-tracker-2bov4quc 2023-09-11T14:34:50,585 Created build tracker: /tmp/pip-build-tracker-2bov4quc 2023-09-11T14:34:50,585 Entered build tracker: /tmp/pip-build-tracker-2bov4quc 2023-09-11T14:34:50,586 Created temporary directory: /tmp/pip-wheel-lwb_4u0h 2023-09-11T14:34:50,589 Created temporary directory: /tmp/pip-ephem-wheel-cache-3kg0vyc8 2023-09-11T14:34:50,612 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-11T14:34:50,616 2 location(s) to search for versions of knlm: 2023-09-11T14:34:50,616 * https://pypi.org/simple/knlm/ 2023-09-11T14:34:50,616 * https://www.piwheels.org/simple/knlm/ 2023-09-11T14:34:50,617 Fetching project page and analyzing links: https://pypi.org/simple/knlm/ 2023-09-11T14:34:50,618 Getting page https://pypi.org/simple/knlm/ 2023-09-11T14:34:50,619 Found index url https://pypi.org/simple/ 2023-09-11T14:34:50,760 Fetched page https://pypi.org/simple/knlm/ as application/vnd.pypi.simple.v1+json 2023-09-11T14:34:50,764 Skipping link: No binaries permitted for knlm: https://files.pythonhosted.org/packages/9c/48/173a6c60e00c4bc1557173038c03ab1ba29276e6ea827740c1e61455ed47/knlm-0.1.0-cp35-cp35m-win32.whl (from https://pypi.org/simple/knlm/) 2023-09-11T14:34:50,765 Skipping link: No binaries permitted for knlm: https://files.pythonhosted.org/packages/ba/d3/c01a2869b07022ffd0f36dda8e5f43c8c9ec900202bc157be24553227b01/knlm-0.1.0-cp35-cp35m-win_amd64.whl (from https://pypi.org/simple/knlm/) 2023-09-11T14:34:50,765 Skipping link: No binaries permitted for knlm: https://files.pythonhosted.org/packages/81/42/ac487d23f41464c3f65e432dc6040bbc3e70ad7f5725699bc47c61dadf82/knlm-0.1.0-cp36-cp36m-win32.whl (from https://pypi.org/simple/knlm/) 2023-09-11T14:34:50,766 Skipping link: No binaries permitted for knlm: https://files.pythonhosted.org/packages/d4/a0/65ddabc370965dc886006bd9b8f1dde2c99b791a42586526e3337abe2d4e/knlm-0.1.0-cp36-cp36m-win_amd64.whl (from https://pypi.org/simple/knlm/) 2023-09-11T14:34:50,766 Skipping link: No binaries permitted for knlm: https://files.pythonhosted.org/packages/31/8d/33f1bef0c5eb72441202c97083d0de2784ca6b2a32248c03090b4bf77440/knlm-0.1.0-cp37-cp37m-win32.whl (from https://pypi.org/simple/knlm/) 2023-09-11T14:34:50,767 Skipping link: No binaries permitted for knlm: https://files.pythonhosted.org/packages/94/57/c622d0944ed5e9059c437793fbe4b015a03144fbaac32486addfed66cb59/knlm-0.1.0-cp37-cp37m-win_amd64.whl (from https://pypi.org/simple/knlm/) 2023-09-11T14:34:50,768 Found link https://files.pythonhosted.org/packages/53/9f/dae947e733e72c605e9734ad9f9c0bce52e77083f94f15a2433ed415582b/knlm-0.1.0.tar.gz (from https://pypi.org/simple/knlm/), version: 0.1.0 2023-09-11T14:34:50,769 Skipping link: No binaries permitted for knlm: https://files.pythonhosted.org/packages/1d/af/7781b37038ee46a1cde0aa9a5a2c6c64441bb127972f859d9c11b4088e6e/knlm-0.1.1-cp35-cp35m-win32.whl (from https://pypi.org/simple/knlm/) 2023-09-11T14:34:50,769 Skipping link: No binaries permitted for knlm: https://files.pythonhosted.org/packages/17/e7/1a6e52b4ced024bf9138886a0cdcbf4c738c24bc3fd3d3480ce10fe48148/knlm-0.1.1-cp35-cp35m-win_amd64.whl (from https://pypi.org/simple/knlm/) 2023-09-11T14:34:50,770 Skipping link: No binaries permitted for knlm: https://files.pythonhosted.org/packages/3e/c6/7b52b55f05bebff429168563b6d8e6f0b7e00d858c8284565e30aa6fad3c/knlm-0.1.1-cp36-cp36m-win32.whl (from https://pypi.org/simple/knlm/) 2023-09-11T14:34:50,770 Skipping link: No binaries permitted for knlm: https://files.pythonhosted.org/packages/cd/e6/f64501ea72c13611c989c4f201b387853428705dfe7760e7f4cd678eba68/knlm-0.1.1-cp36-cp36m-win_amd64.whl (from https://pypi.org/simple/knlm/) 2023-09-11T14:34:50,771 Skipping link: No binaries permitted for knlm: https://files.pythonhosted.org/packages/11/12/4f7599dc977be8f63ff7b648ae6ed6e0a331169cb19c152e24a1285d15d1/knlm-0.1.1-cp37-cp37m-win32.whl (from https://pypi.org/simple/knlm/) 2023-09-11T14:34:50,772 Skipping link: No binaries permitted for knlm: https://files.pythonhosted.org/packages/73/47/d9ca7a56d08e8d62c2ea0ec46f4a3548656a0ce2a9bb58612b982a954dcc/knlm-0.1.1-cp37-cp37m-win_amd64.whl (from https://pypi.org/simple/knlm/) 2023-09-11T14:34:50,772 Found link https://files.pythonhosted.org/packages/c7/8a/b93ebe80afab7f500b74e396db86fa4111254ec2425b49b9167bf8780d52/knlm-0.1.1.tar.gz (from https://pypi.org/simple/knlm/), version: 0.1.1 2023-09-11T14:34:50,773 Skipping link: No binaries permitted for knlm: https://files.pythonhosted.org/packages/64/eb/b8018c0babd575cbd97bf46befed7b1fd44407491950760056ebbf47c80c/knlm-0.1.2-cp35-cp35m-win32.whl (from https://pypi.org/simple/knlm/) 2023-09-11T14:34:50,774 Skipping link: No binaries permitted for knlm: https://files.pythonhosted.org/packages/5b/44/dbc7b3a03055c9338f35604e930a4643478ee67818f4475622d6f7de6a76/knlm-0.1.2-cp35-cp35m-win_amd64.whl (from https://pypi.org/simple/knlm/) 2023-09-11T14:34:50,774 Skipping link: No binaries permitted for knlm: https://files.pythonhosted.org/packages/b0/ca/f51cea3792ce229f7c472553a396a6b7daf49b1eda8aa881c9349fd34a87/knlm-0.1.2-cp36-cp36m-win32.whl (from https://pypi.org/simple/knlm/) 2023-09-11T14:34:50,775 Skipping link: No binaries permitted for knlm: https://files.pythonhosted.org/packages/d1/99/6622b4a66b40b0365e09a89d0f0f92a18a062c004d2cac11e7afcf637933/knlm-0.1.2-cp36-cp36m-win_amd64.whl (from https://pypi.org/simple/knlm/) 2023-09-11T14:34:50,775 Skipping link: No binaries permitted for knlm: https://files.pythonhosted.org/packages/1f/47/89ec6f4a4916130ba786fb5e376353af1491e9b8579834797ce212074e7d/knlm-0.1.2-cp37-cp37m-win32.whl (from https://pypi.org/simple/knlm/) 2023-09-11T14:34:50,776 Skipping link: No binaries permitted for knlm: https://files.pythonhosted.org/packages/0e/9d/ce9c73fbae1189ce2692435d7847b44e282687e917281eaa7a122d9e9ebe/knlm-0.1.2-cp37-cp37m-win_amd64.whl (from https://pypi.org/simple/knlm/) 2023-09-11T14:34:50,776 Found link https://files.pythonhosted.org/packages/1c/89/90d52b8445db078539321daa538361ed6ecd38ed3362ec01259631fedb8d/knlm-0.1.2.tar.gz (from https://pypi.org/simple/knlm/), version: 0.1.2 2023-09-11T14:34:50,777 Fetching project page and analyzing links: https://www.piwheels.org/simple/knlm/ 2023-09-11T14:34:50,778 Getting page https://www.piwheels.org/simple/knlm/ 2023-09-11T14:34:50,779 Found index url https://www.piwheels.org/simple/ 2023-09-11T14:34:51,051 Fetched page https://www.piwheels.org/simple/knlm/ as text/html 2023-09-11T14:34:51,058 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.2-cp39-cp39-linux_armv7l.whl#sha256=db38519bd8dd8c9cebf86b0e2dc079ceaf5f7a5f9d98d988c470a2880f124b53 (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,059 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.2-cp39-cp39-linux_armv6l.whl#sha256=db38519bd8dd8c9cebf86b0e2dc079ceaf5f7a5f9d98d988c470a2880f124b53 (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,059 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.2-cp35-cp35m-linux_armv6l.whl#sha256=77bf81ce5a492c9faf13946236635b126445a10d8bbae0663217367a54e6a7cd (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,060 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.2-cp35-cp35m-linux_armv7l.whl#sha256=77bf81ce5a492c9faf13946236635b126445a10d8bbae0663217367a54e6a7cd (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,060 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.2-cp37-cp37m-linux_armv6l.whl#sha256=8a2f65fd71ff94a3fc96d3ed73ae3f518b37ac078c0d07b2fe9530ea74193e82 (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,061 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.2-cp37-cp37m-linux_armv7l.whl#sha256=8a2f65fd71ff94a3fc96d3ed73ae3f518b37ac078c0d07b2fe9530ea74193e82 (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,062 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.2-cp34-cp34m-linux_armv6l.whl#sha256=e2bda39a0da9b80d943966656b9572e4655e4f92f70025894b3c0f0fa6e63c37 (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,062 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.2-cp34-cp34m-linux_armv7l.whl#sha256=e2bda39a0da9b80d943966656b9572e4655e4f92f70025894b3c0f0fa6e63c37 (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,063 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.1-cp311-cp311-linux_armv7l.whl#sha256=e0ad72fa63891ff42cc33fd77d697ffe32974cf0f573f136f4e8ec5607871f28 (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,063 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.1-cp311-cp311-linux_armv6l.whl#sha256=e0ad72fa63891ff42cc33fd77d697ffe32974cf0f573f136f4e8ec5607871f28 (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,064 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.1-cp39-cp39-linux_armv7l.whl#sha256=4e0637b2116be10bce85777c03288cb34ff2f40993d4db473fcaea74f016b35d (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,064 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.1-cp39-cp39-linux_armv6l.whl#sha256=4e0637b2116be10bce85777c03288cb34ff2f40993d4db473fcaea74f016b35d (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,065 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.1-cp35-cp35m-linux_armv6l.whl#sha256=3f488ba3a059e98e54d824eb62abecbafce27e30135c867d4a4d7c3178e006f2 (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,065 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.1-cp35-cp35m-linux_armv7l.whl#sha256=3f488ba3a059e98e54d824eb62abecbafce27e30135c867d4a4d7c3178e006f2 (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,066 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.1-cp37-cp37m-linux_armv6l.whl#sha256=b67953056383f3d681b8827fe6fe660d5eae34a692fa42b44f136a63fbd93728 (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,066 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.1-cp37-cp37m-linux_armv7l.whl#sha256=b67953056383f3d681b8827fe6fe660d5eae34a692fa42b44f136a63fbd93728 (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,067 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.0-cp311-cp311-linux_armv7l.whl#sha256=72ba9e4526fb5499313c3fa237b895804f620727e66e06d8271f5cf107a47d1d (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,067 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.0-cp311-cp311-linux_armv6l.whl#sha256=72ba9e4526fb5499313c3fa237b895804f620727e66e06d8271f5cf107a47d1d (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,068 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.0-cp39-cp39-linux_armv7l.whl#sha256=d782d1a08e1e1f5e537c782f713742e8f4354fe99fea9cb8321676cf83462d81 (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,068 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.0-cp39-cp39-linux_armv6l.whl#sha256=d782d1a08e1e1f5e537c782f713742e8f4354fe99fea9cb8321676cf83462d81 (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,069 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.0-cp35-cp35m-linux_armv6l.whl#sha256=233be6c29d7417986fe0afca19f659377a82a3006f5db500f8884c26bca478c6 (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,069 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.0-cp35-cp35m-linux_armv7l.whl#sha256=233be6c29d7417986fe0afca19f659377a82a3006f5db500f8884c26bca478c6 (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,070 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.0-cp37-cp37m-linux_armv6l.whl#sha256=16a54b036b5a008f425e672e5f777a51e4ea1c486cb17bd542c928fb3631c8da (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,071 Skipping link: No binaries permitted for knlm: https://www.piwheels.org/simple/knlm/knlm-0.1.0-cp37-cp37m-linux_armv7l.whl#sha256=16a54b036b5a008f425e672e5f777a51e4ea1c486cb17bd542c928fb3631c8da (from https://www.piwheels.org/simple/knlm/) 2023-09-11T14:34:51,071 Skipping link: not a file: https://www.piwheels.org/simple/knlm/ 2023-09-11T14:34:51,072 Skipping link: not a file: https://pypi.org/simple/knlm/ 2023-09-11T14:34:51,090 Given no hashes to check 1 links for project 'knlm': discarding no candidates 2023-09-11T14:34:51,108 Collecting knlm==0.1.2 2023-09-11T14:34:51,111 Created temporary directory: /tmp/pip-unpack-tumk8t9g 2023-09-11T14:34:51,324 Downloading knlm-0.1.2.tar.gz (10 kB) 2023-09-11T14:34:51,360 Added knlm==0.1.2 from https://files.pythonhosted.org/packages/1c/89/90d52b8445db078539321daa538361ed6ecd38ed3362ec01259631fedb8d/knlm-0.1.2.tar.gz to build tracker '/tmp/pip-build-tracker-2bov4quc' 2023-09-11T14:34:51,361 Running setup.py (path:/tmp/pip-wheel-lwb_4u0h/knlm_e7b9370082d44ff09df9782b00158fae/setup.py) egg_info for package knlm 2023-09-11T14:34:51,362 Created temporary directory: /tmp/pip-pip-egg-info-ywh5q9c7 2023-09-11T14:34:51,363 Preparing metadata (setup.py): started 2023-09-11T14:34:51,364 Running command python setup.py egg_info 2023-09-11T14:34:52,434 running egg_info 2023-09-11T14:34:52,436 creating /tmp/pip-pip-egg-info-ywh5q9c7/knlm.egg-info 2023-09-11T14:34:52,460 writing /tmp/pip-pip-egg-info-ywh5q9c7/knlm.egg-info/PKG-INFO 2023-09-11T14:34:52,463 writing dependency_links to /tmp/pip-pip-egg-info-ywh5q9c7/knlm.egg-info/dependency_links.txt 2023-09-11T14:34:52,465 writing top-level names to /tmp/pip-pip-egg-info-ywh5q9c7/knlm.egg-info/top_level.txt 2023-09-11T14:34:52,466 writing manifest file '/tmp/pip-pip-egg-info-ywh5q9c7/knlm.egg-info/SOURCES.txt' 2023-09-11T14:34:52,569 reading manifest file '/tmp/pip-pip-egg-info-ywh5q9c7/knlm.egg-info/SOURCES.txt' 2023-09-11T14:34:52,571 reading manifest template 'MANIFEST.in' 2023-09-11T14:34:52,574 adding license file 'LICENSE.txt' 2023-09-11T14:34:52,575 writing manifest file '/tmp/pip-pip-egg-info-ywh5q9c7/knlm.egg-info/SOURCES.txt' 2023-09-11T14:34:52,682 Preparing metadata (setup.py): finished with status 'done' 2023-09-11T14:34:52,686 Source in /tmp/pip-wheel-lwb_4u0h/knlm_e7b9370082d44ff09df9782b00158fae has version 0.1.2, which satisfies requirement knlm==0.1.2 from https://files.pythonhosted.org/packages/1c/89/90d52b8445db078539321daa538361ed6ecd38ed3362ec01259631fedb8d/knlm-0.1.2.tar.gz 2023-09-11T14:34:52,687 Removed knlm==0.1.2 from https://files.pythonhosted.org/packages/1c/89/90d52b8445db078539321daa538361ed6ecd38ed3362ec01259631fedb8d/knlm-0.1.2.tar.gz from build tracker '/tmp/pip-build-tracker-2bov4quc' 2023-09-11T14:34:52,691 Created temporary directory: /tmp/pip-unpack-l0pyq9_7 2023-09-11T14:34:52,692 Created temporary directory: /tmp/pip-unpack-upq3m_qg 2023-09-11T14:34:52,695 Building wheels for collected packages: knlm 2023-09-11T14:34:52,699 Created temporary directory: /tmp/pip-wheel-tuu4y827 2023-09-11T14:34:52,699 Building wheel for knlm (setup.py): started 2023-09-11T14:34:52,701 Destination directory: /tmp/pip-wheel-tuu4y827 2023-09-11T14:34:52,701 Running command python setup.py bdist_wheel 2023-09-11T14:34:53,672 running bdist_wheel 2023-09-11T14:34:53,764 running build 2023-09-11T14:34:53,765 running build_py 2023-09-11T14:34:53,792 creating build 2023-09-11T14:34:53,793 creating build/lib.linux-armv7l-cpython-311 2023-09-11T14:34:53,793 creating build/lib.linux-armv7l-cpython-311/knlm 2023-09-11T14:34:53,795 copying knlm/__init__.py -> build/lib.linux-armv7l-cpython-311/knlm 2023-09-11T14:34:53,797 copying knlm/__main__.py -> build/lib.linux-armv7l-cpython-311/knlm 2023-09-11T14:34:53,798 running egg_info 2023-09-11T14:34:53,853 writing knlm.egg-info/PKG-INFO 2023-09-11T14:34:53,856 writing dependency_links to knlm.egg-info/dependency_links.txt 2023-09-11T14:34:53,858 writing top-level names to knlm.egg-info/top_level.txt 2023-09-11T14:34:53,883 reading manifest file 'knlm.egg-info/SOURCES.txt' 2023-09-11T14:34:53,885 reading manifest template 'MANIFEST.in' 2023-09-11T14:34:53,888 adding license file 'LICENSE.txt' 2023-09-11T14:34:53,890 writing manifest file 'knlm.egg-info/SOURCES.txt' 2023-09-11T14:34:53,891 running build_ext 2023-09-11T14:34:54,393 building 'knlm_c' extension 2023-09-11T14:34:54,394 creating build/temp.linux-armv7l-cpython-311 2023-09-11T14:34:54,395 creating build/temp.linux-armv7l-cpython-311/src 2023-09-11T14:34:54,395 arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/include/python3.11 -c src/pyModule.cpp -o build/temp.linux-armv7l-cpython-311/src/pyModule.o -std=c++11 -O3 -fpermissive 2023-09-11T14:34:56,110 In file included from src/KNLangModel.hpp:8, 2023-09-11T14:34:56,111 from src/pyModule.cpp:7: 2023-09-11T14:34:56,111 src/Utils.hpp: In function ‘int32_t readSVFromBinStream(std::istream&)’: 2023-09-11T14:34:56,112 src/Utils.hpp:136:23: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 2023-09-11T14:34:56,113 136 | return v - (v >= vSize[i] ? (1 << ((i + 1) * 7)) : 0); 2023-09-11T14:34:56,113 | ~~^~~~~~~~~~~ 2023-09-11T14:34:56,276 src/pyModule.cpp: In function ‘PyObject* knlm__del(PyObject*, PyObject*)’: 2023-09-11T14:34:56,277 src/pyModule.cpp:61:24: warning: unused variable ‘wsize’ [-Wunused-variable] 2023-09-11T14:34:56,278 61 | size_t wsize = PyLong_AsLong(wsizeObj); 2023-09-11T14:34:56,278 | ^~~~~ 2023-09-11T14:34:56,308 src/pyModule.cpp: In function ‘PyObject* knlm__train(PyObject*, PyObject*)’: 2023-09-11T14:34:56,309 src/pyModule.cpp:127:39: warning: unused variable ‘item’ [-Wunused-variable] 2023-09-11T14:34:56,309 127 | PyObject *argSelf, *argIter, *item; 2023-09-11T14:34:56,310 | ^~~~ 2023-09-11T14:34:56,311 src/pyModule.cpp: In function ‘PyObject* knlm__optimize(PyObject*, PyObject*)’: 2023-09-11T14:34:56,312 src/pyModule.cpp:191:24: warning: unused variable ‘wsize’ [-Wunused-variable] 2023-09-11T14:34:56,312 191 | size_t wsize = PyLong_AsLong(wsizeObj); 2023-09-11T14:34:56,313 | ^~~~~ 2023-09-11T14:34:56,315 src/pyModule.cpp: In function ‘PyObject* knlm__evaluate(PyObject*, PyObject*)’: 2023-09-11T14:34:56,316 src/pyModule.cpp:207:39: warning: unused variable ‘item’ [-Wunused-variable] 2023-09-11T14:34:56,317 207 | PyObject *argSelf, *argIter, *item; 2023-09-11T14:34:56,317 | ^~~~ 2023-09-11T14:34:56,320 src/pyModule.cpp: In function ‘PyObject* knlm__evaluateSent(PyObject*, PyObject*)’: 2023-09-11T14:34:56,321 src/pyModule.cpp:254:39: warning: unused variable ‘item’ [-Wunused-variable] 2023-09-11T14:34:56,322 254 | PyObject *argSelf, *argIter, *item; 2023-09-11T14:34:56,322 | ^~~~ 2023-09-11T14:34:56,330 src/pyModule.cpp: In function ‘PyObject* knlm__evaluateEachWord(PyObject*, PyObject*)’: 2023-09-11T14:34:56,330 src/pyModule.cpp:302:39: warning: unused variable ‘item’ [-Wunused-variable] 2023-09-11T14:34:56,331 302 | PyObject *argSelf, *argIter, *item; 2023-09-11T14:34:56,332 | ^~~~ 2023-09-11T14:34:56,335 src/pyModule.cpp: In function ‘PyObject* knlm__branchingEntropy(PyObject*, PyObject*)’: 2023-09-11T14:34:56,336 src/pyModule.cpp:355:39: warning: unused variable ‘item’ [-Wunused-variable] 2023-09-11T14:34:56,336 355 | PyObject *argSelf, *argIter, *item; 2023-09-11T14:34:56,337 | ^~~~ 2023-09-11T14:34:56,339 src/pyModule.cpp: In function ‘PyObject* knlm__save(PyObject*, PyObject*)’: 2023-09-11T14:34:56,339 src/pyModule.cpp:411:24: warning: unused variable ‘wsize’ [-Wunused-variable] 2023-09-11T14:34:56,340 411 | size_t wsize = PyLong_AsLong(wsizeObj); 2023-09-11T14:34:56,340 | ^~~~~ 2023-09-11T14:34:56,349 src/pyModule.cpp: In function ‘PyObject* knlm__getattr(PyObject*, PyObject*)’: 2023-09-11T14:34:56,350 src/pyModule.cpp:524:24: warning: unused variable ‘wsize’ [-Wunused-variable] 2023-09-11T14:34:56,351 524 | size_t wsize = PyLong_AsLong(wsizeObj); 2023-09-11T14:34:56,351 | ^~~~~ 2023-09-11T14:34:56,354 src/pyModule.cpp: In function ‘PyObject* PyInit_knlm_c()’: 2023-09-11T14:34:56,354 src/pyModule.cpp:606:39: warning: ‘int PyEval_ThreadsInitialized()’ is deprecated [-Wdeprecated-declarations] 2023-09-11T14:34:56,355 606 | if (!PyEval_ThreadsInitialized()) { 2023-09-11T14:34:56,356 | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ 2023-09-11T14:34:56,357 In file included from /usr/include/python3.11/Python.h:95, 2023-09-11T14:34:56,357 from src/pyModule.cpp:5: 2023-09-11T14:34:56,358 /usr/include/python3.11/ceval.h:131:36: note: declared here 2023-09-11T14:34:56,358 131 | Py_DEPRECATED(3.9) PyAPI_FUNC(int) PyEval_ThreadsInitialized(void); 2023-09-11T14:34:56,359 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-11T14:34:56,360 src/pyModule.cpp:607:35: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] 2023-09-11T14:34:56,360 607 | PyEval_InitThreads(); 2023-09-11T14:34:56,361 | ~~~~~~~~~~~~~~~~~~^~ 2023-09-11T14:34:56,362 /usr/include/python3.11/ceval.h:132:37: note: declared here 2023-09-11T14:34:56,362 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); 2023-09-11T14:34:56,363 | ^~~~~~~~~~~~~~~~~~ 2023-09-11T14:34:56,430 src/pyModule.cpp: In instantiation of ‘std::vector<_WType> makeSeqList(PyObject*, PyObject*) [with _WType = unsigned char; PyObject = _object]’: 2023-09-11T14:34:56,431 src/pyModule.cpp:148:36: required from here 2023-09-11T14:34:56,432 src/pyModule.cpp:83:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2023-09-11T14:34:56,432 83 | while (item = PyIter_Next(iter)) 2023-09-11T14:34:56,433 | ~~~~~^~~~~~~~~~~~~~~~~~~ 2023-09-11T14:34:56,466 src/pyModule.cpp: In instantiation of ‘std::vector<_WType> makeSeqList(PyObject*, PyObject*) [with _WType = short unsigned int; PyObject = _object]’: 2023-09-11T14:34:56,466 src/pyModule.cpp:153:37: required from here 2023-09-11T14:34:56,467 src/pyModule.cpp:83:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2023-09-11T14:34:56,501 src/pyModule.cpp: In instantiation of ‘std::vector<_WType> makeSeqList(PyObject*, PyObject*) [with _WType = unsigned int; PyObject = _object]’: 2023-09-11T14:34:56,501 src/pyModule.cpp:158:37: required from here 2023-09-11T14:34:56,502 src/pyModule.cpp:83:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2023-09-11T14:34:56,503 src/pyModule.cpp:94:60: warning: left shift count >= width of type [-Wshift-count-overflow] 2023-09-11T14:34:56,503 94 | if (sizeof(_WType) < 4 && id >= (1 << (sizeof(_WType) * 8))) 2023-09-11T14:34:56,504 | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-11T14:34:56,533 src/pyModule.cpp: In instantiation of ‘std::vector<_WType> makeSeqListConst(PyObject*, PyObject*, bool) [with _WType = unsigned char; PyObject = _object]’: 2023-09-11T14:34:56,535 src/pyModule.cpp:228:40: required from here 2023-09-11T14:34:56,535 src/pyModule.cpp:112:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2023-09-11T14:34:56,536 112 | while (item = PyIter_Next(iter)) 2023-09-11T14:34:56,536 | ~~~~~^~~~~~~~~~~~~~~~~~~ 2023-09-11T14:34:56,537 src/pyModule.cpp: In instantiation of ‘std::vector<_WType> makeSeqListConst(PyObject*, PyObject*, bool) [with _WType = short unsigned int; PyObject = _object]’: 2023-09-11T14:34:56,537 src/pyModule.cpp:233:41: required from here 2023-09-11T14:34:56,538 src/pyModule.cpp:112:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2023-09-11T14:34:56,539 src/pyModule.cpp: In instantiation of ‘std::vector<_WType> makeSeqListConst(PyObject*, PyObject*, bool) [with _WType = unsigned int; PyObject = _object]’: 2023-09-11T14:34:56,539 src/pyModule.cpp:238:41: required from here 2023-09-11T14:34:56,540 src/pyModule.cpp:112:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2023-09-11T14:34:57,114 In file included from src/KNLangModel.hpp:9: 2023-09-11T14:34:57,115 src/BakedMap.hpp: In instantiation of ‘BakedMap::~BakedMap() [with Key = unsigned char; Value = int]’: 2023-09-11T14:34:57,115 src/KNLangModel.hpp:106:35: required from ‘knlm::KNLangModel<_WType>::Node::~Node() [with _WType = unsigned char]’ 2023-09-11T14:34:57,116 /usr/include/c++/12/bits/new_allocator.h:181:13: required from ‘void std::__new_allocator<_Tp>::destroy(_Up*) [with _Up = knlm::KNLangModel::Node; _Tp = knlm::KNLangModel::Node]’ 2023-09-11T14:34:57,116 /usr/include/c++/12/bits/alloc_traits.h:535:15: required from ‘static void std::allocator_traits >::destroy(allocator_type&, _Up*) [with _Up = knlm::KNLangModel::Node; _Tp = knlm::KNLangModel::Node; allocator_type = std::allocator::Node>]’ 2023-09-11T14:34:57,117 /usr/include/c++/12/bits/vector.tcc:501:28: required from ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {}; _Tp = knlm::KNLangModel::Node; _Alloc = std::allocator::Node>; iterator = std::vector::Node, std::allocator::Node> >::iterator]’ 2023-09-11T14:34:57,118 /usr/include/c++/12/bits/vector.tcc:123:21: required from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {}; _Tp = knlm::KNLangModel::Node; _Alloc = std::allocator::Node>]’ 2023-09-11T14:34:57,119 src/KNLangModel.hpp:291:21: required from ‘knlm::KNLangModel<_WType>::KNLangModel(size_t) [with _WType = unsigned char; size_t = unsigned int]’ 2023-09-11T14:34:57,119 src/pyModule.cpp:23:61: required from here 2023-09-11T14:34:57,120 src/BakedMap.hpp:161:34: warning: deleting ‘void*’ is undefined [-Wdelete-incomplete] 2023-09-11T14:34:57,121 161 | delete[] elems; 2023-09-11T14:34:57,121 | ^~~~~ 2023-09-11T14:34:57,122 src/BakedMap.hpp: In instantiation of ‘BakedMap::~BakedMap() [with Key = short unsigned int; Value = int]’: 2023-09-11T14:34:57,123 src/KNLangModel.hpp:106:35: required from ‘knlm::KNLangModel<_WType>::Node::~Node() [with _WType = short unsigned int]’ 2023-09-11T14:34:57,124 /usr/include/c++/12/bits/new_allocator.h:181:13: required from ‘void std::__new_allocator<_Tp>::destroy(_Up*) [with _Up = knlm::KNLangModel::Node; _Tp = knlm::KNLangModel::Node]’ 2023-09-11T14:34:57,124 /usr/include/c++/12/bits/alloc_traits.h:535:15: required from ‘static void std::allocator_traits >::destroy(allocator_type&, _Up*) [with _Up = knlm::KNLangModel::Node; _Tp = knlm::KNLangModel::Node; allocator_type = std::allocator::Node>]’ 2023-09-11T14:34:57,125 /usr/include/c++/12/bits/vector.tcc:501:28: required from ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {}; _Tp = knlm::KNLangModel::Node; _Alloc = std::allocator::Node>; iterator = std::vector::Node, std::allocator::Node> >::iterator]’ 2023-09-11T14:34:57,126 /usr/include/c++/12/bits/vector.tcc:123:21: required from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {}; _Tp = knlm::KNLangModel::Node; _Alloc = std::allocator::Node>]’ 2023-09-11T14:34:57,126 src/KNLangModel.hpp:291:21: required from ‘knlm::KNLangModel<_WType>::KNLangModel(size_t) [with _WType = short unsigned int; size_t = unsigned int]’ 2023-09-11T14:34:57,127 src/pyModule.cpp:26:62: required from here 2023-09-11T14:34:57,128 src/BakedMap.hpp:161:34: warning: deleting ‘void*’ is undefined [-Wdelete-incomplete] 2023-09-11T14:34:57,128 src/BakedMap.hpp: In instantiation of ‘BakedMap::~BakedMap() [with Key = unsigned int; Value = int]’: 2023-09-11T14:34:57,129 src/KNLangModel.hpp:106:35: required from ‘knlm::KNLangModel<_WType>::Node::~Node() [with _WType = unsigned int]’ 2023-09-11T14:34:57,129 /usr/include/c++/12/bits/new_allocator.h:181:13: required from ‘void std::__new_allocator<_Tp>::destroy(_Up*) [with _Up = knlm::KNLangModel::Node; _Tp = knlm::KNLangModel::Node]’ 2023-09-11T14:34:57,130 /usr/include/c++/12/bits/alloc_traits.h:535:15: required from ‘static void std::allocator_traits >::destroy(allocator_type&, _Up*) [with _Up = knlm::KNLangModel::Node; _Tp = knlm::KNLangModel::Node; allocator_type = std::allocator::Node>]’ 2023-09-11T14:34:57,131 /usr/include/c++/12/bits/vector.tcc:501:28: required from ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {}; _Tp = knlm::KNLangModel::Node; _Alloc = std::allocator::Node>; iterator = std::vector::Node, std::allocator::Node> >::iterator]’ 2023-09-11T14:34:57,131 /usr/include/c++/12/bits/vector.tcc:123:21: required from ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {}; _Tp = knlm::KNLangModel::Node; _Alloc = std::allocator::Node>]’ 2023-09-11T14:34:57,132 src/KNLangModel.hpp:291:21: required from ‘knlm::KNLangModel<_WType>::KNLangModel(size_t) [with _WType = unsigned int; size_t = unsigned int]’ 2023-09-11T14:34:57,133 src/pyModule.cpp:29:62: required from here 2023-09-11T14:34:57,133 src/BakedMap.hpp:161:34: warning: deleting ‘void*’ is undefined [-Wdelete-incomplete] 2023-09-11T14:34:57,248 src/KNLangModel.hpp: In instantiation of ‘void knlm::KNLangModel<_WType>::optimize() [with _WType = unsigned int]’: 2023-09-11T14:34:57,249 src/KNLangModel.hpp:414:7: required from here 2023-09-11T14:34:57,250 src/KNLangModel.hpp:440:66: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T14:34:57,251 440 | node.setLL(p.first, log(*(float*)&t)); 2023-09-11T14:34:57,252 | ^~~~~~~~~~ 2023-09-11T14:34:57,271 src/KNLangModel.hpp: In instantiation of ‘void knlm::KNLangModel<_WType>::optimize() [with _WType = short unsigned int]’: 2023-09-11T14:34:57,272 src/KNLangModel.hpp:414:7: required from here 2023-09-11T14:34:57,273 src/KNLangModel.hpp:440:66: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T14:34:57,288 src/KNLangModel.hpp: In instantiation of ‘void knlm::KNLangModel<_WType>::optimize() [with _WType = unsigned char]’: 2023-09-11T14:34:57,289 src/KNLangModel.hpp:414:7: required from here 2023-09-11T14:34:57,289 src/KNLangModel.hpp:440:66: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T14:34:57,333 src/KNLangModel.hpp: In instantiation of ‘void knlm::KNLangModel<_WType>::Node::setLL(_WType, float) [with _WType = unsigned int]’: 2023-09-11T14:34:57,334 src/KNLangModel.hpp:440:16: required from ‘void knlm::KNLangModel<_WType>::optimize() [with _WType = unsigned int]’ 2023-09-11T14:34:57,334 src/KNLangModel.hpp:414:7: required from here 2023-09-11T14:34:57,335 src/KNLangModel.hpp:204:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T14:34:57,336 204 | next[n] = *(int32_t*)≪ 2023-09-11T14:34:57,337 | ^~~~~~~~~~~~~ 2023-09-11T14:34:57,337 src/KNLangModel.hpp: In instantiation of ‘void knlm::KNLangModel<_WType>::Node::optimize() [with _WType = unsigned int]’: 2023-09-11T14:34:57,338 src/KNLangModel.hpp:443:17: required from ‘void knlm::KNLangModel<_WType>::optimize() [with _WType = unsigned int]’ 2023-09-11T14:34:57,339 src/KNLangModel.hpp:414:7: required from here 2023-09-11T14:34:57,340 src/KNLangModel.hpp:197:39: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class BakedMap’ with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] 2023-09-11T14:34:57,341 197 | memset(&bakedNext, 0, sizeof(bakedNext)); 2023-09-11T14:34:57,342 | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-11T14:34:57,343 src/BakedMap.hpp:27:7: note: ‘class BakedMap’ declared here 2023-09-11T14:34:57,343 27 | class BakedMap 2023-09-11T14:34:57,344 | ^~~~~~~~ 2023-09-11T14:34:57,345 src/KNLangModel.hpp: In instantiation of ‘void knlm::KNLangModel<_WType>::Node::writeToStream(std::ostream&, size_t) const [with _WType = unsigned int; std::ostream = std::basic_ostream; size_t = unsigned int]’: 2023-09-11T14:34:57,345 src/KNLangModel.hpp:254:20: required from ‘void knlm::KNLangModel<_WType>::writeToStream(std::ostream&&) const [with _WType = unsigned int; std::ostream = std::basic_ostream]’ 2023-09-11T14:34:57,346 src/KNLangModel.hpp:245:8: required from here 2023-09-11T14:34:57,347 src/KNLangModel.hpp:579:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T14:34:57,348 579 | else writeNegFixed16(str, *(float*)&p.second); 2023-09-11T14:34:57,348 | ^~~~~~~~~~~~~~~~~ 2023-09-11T14:34:57,358 src/KNLangModel.hpp: In instantiation of ‘static knlm::KNLangModel<_WType>::Node knlm::KNLangModel<_WType>::Node::readFromStream(std::istream&, size_t) [with _WType = unsigned int; std::istream = std::basic_istream; size_t = unsigned int]’: 2023-09-11T14:34:57,359 src/KNLangModel.hpp:281:44: required from ‘void knlm::KNLangModel<_WType>::readFromStream(std::istream&&) [with _WType = unsigned int; std::istream = std::basic_istream]’ 2023-09-11T14:34:57,359 src/KNLangModel.hpp:266:8: required from here 2023-09-11T14:34:57,360 src/KNLangModel.hpp:604:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T14:34:57,361 604 | p.second = *(int32_t*)&f; 2023-09-11T14:34:57,361 | ^~~~~~~~~~~~ 2023-09-11T14:34:57,401 src/KNLangModel.hpp: In instantiation of ‘void knlm::KNLangModel<_WType>::Node::setLL(_WType, float) [with _WType = short unsigned int]’: 2023-09-11T14:34:57,402 src/KNLangModel.hpp:440:16: required from ‘void knlm::KNLangModel<_WType>::optimize() [with _WType = short unsigned int]’ 2023-09-11T14:34:57,402 src/KNLangModel.hpp:414:7: required from here 2023-09-11T14:34:57,403 src/KNLangModel.hpp:204:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T14:34:57,404 204 | next[n] = *(int32_t*)≪ 2023-09-11T14:34:57,404 | ^~~~~~~~~~~~~ 2023-09-11T14:34:57,405 src/KNLangModel.hpp: In instantiation of ‘void knlm::KNLangModel<_WType>::Node::optimize() [with _WType = short unsigned int]’: 2023-09-11T14:34:57,405 src/KNLangModel.hpp:443:17: required from ‘void knlm::KNLangModel<_WType>::optimize() [with _WType = short unsigned int]’ 2023-09-11T14:34:57,406 src/KNLangModel.hpp:414:7: required from here 2023-09-11T14:34:57,407 src/KNLangModel.hpp:197:39: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class BakedMap’ with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] 2023-09-11T14:34:57,407 197 | memset(&bakedNext, 0, sizeof(bakedNext)); 2023-09-11T14:34:57,408 | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-11T14:34:57,408 src/BakedMap.hpp:27:7: note: ‘class BakedMap’ declared here 2023-09-11T14:34:57,409 27 | class BakedMap 2023-09-11T14:34:57,410 | ^~~~~~~~ 2023-09-11T14:34:57,410 src/KNLangModel.hpp: In instantiation of ‘void knlm::KNLangModel<_WType>::Node::writeToStream(std::ostream&, size_t) const [with _WType = short unsigned int; std::ostream = std::basic_ostream; size_t = unsigned int]’: 2023-09-11T14:34:57,411 src/KNLangModel.hpp:254:20: required from ‘void knlm::KNLangModel<_WType>::writeToStream(std::ostream&&) const [with _WType = short unsigned int; std::ostream = std::basic_ostream]’ 2023-09-11T14:34:57,412 src/KNLangModel.hpp:245:8: required from here 2023-09-11T14:34:57,412 src/KNLangModel.hpp:579:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T14:34:57,413 579 | else writeNegFixed16(str, *(float*)&p.second); 2023-09-11T14:34:57,414 | ^~~~~~~~~~~~~~~~~ 2023-09-11T14:34:57,424 src/KNLangModel.hpp: In instantiation of ‘static knlm::KNLangModel<_WType>::Node knlm::KNLangModel<_WType>::Node::readFromStream(std::istream&, size_t) [with _WType = short unsigned int; std::istream = std::basic_istream; size_t = unsigned int]’: 2023-09-11T14:34:57,425 src/KNLangModel.hpp:281:44: required from ‘void knlm::KNLangModel<_WType>::readFromStream(std::istream&&) [with _WType = short unsigned int; std::istream = std::basic_istream]’ 2023-09-11T14:34:57,426 src/KNLangModel.hpp:266:8: required from here 2023-09-11T14:34:57,426 src/KNLangModel.hpp:604:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T14:34:57,427 604 | p.second = *(int32_t*)&f; 2023-09-11T14:34:57,427 | ^~~~~~~~~~~~ 2023-09-11T14:34:57,467 src/KNLangModel.hpp: In instantiation of ‘void knlm::KNLangModel<_WType>::Node::setLL(_WType, float) [with _WType = unsigned char]’: 2023-09-11T14:34:57,468 src/KNLangModel.hpp:440:16: required from ‘void knlm::KNLangModel<_WType>::optimize() [with _WType = unsigned char]’ 2023-09-11T14:34:57,469 src/KNLangModel.hpp:414:7: required from here 2023-09-11T14:34:57,470 src/KNLangModel.hpp:204:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T14:34:57,471 204 | next[n] = *(int32_t*)≪ 2023-09-11T14:34:57,471 | ^~~~~~~~~~~~~ 2023-09-11T14:34:57,472 src/KNLangModel.hpp: In instantiation of ‘void knlm::KNLangModel<_WType>::Node::optimize() [with _WType = unsigned char]’: 2023-09-11T14:34:57,472 src/KNLangModel.hpp:443:17: required from ‘void knlm::KNLangModel<_WType>::optimize() [with _WType = unsigned char]’ 2023-09-11T14:34:57,473 src/KNLangModel.hpp:414:7: required from here 2023-09-11T14:34:57,474 src/KNLangModel.hpp:197:39: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘class BakedMap’ with no trivial copy-assignment; use value-initialization instead [-Wclass-memaccess] 2023-09-11T14:34:57,474 197 | memset(&bakedNext, 0, sizeof(bakedNext)); 2023-09-11T14:34:57,475 | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-11T14:34:57,475 src/BakedMap.hpp:27:7: note: ‘class BakedMap’ declared here 2023-09-11T14:34:57,476 27 | class BakedMap 2023-09-11T14:34:57,477 | ^~~~~~~~ 2023-09-11T14:34:57,477 src/KNLangModel.hpp: In instantiation of ‘void knlm::KNLangModel<_WType>::Node::writeToStream(std::ostream&, size_t) const [with _WType = unsigned char; std::ostream = std::basic_ostream; size_t = unsigned int]’: 2023-09-11T14:34:57,478 src/KNLangModel.hpp:254:20: required from ‘void knlm::KNLangModel<_WType>::writeToStream(std::ostream&&) const [with _WType = unsigned char; std::ostream = std::basic_ostream]’ 2023-09-11T14:34:57,478 src/KNLangModel.hpp:245:8: required from here 2023-09-11T14:34:57,479 src/KNLangModel.hpp:579:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T14:34:57,480 579 | else writeNegFixed16(str, *(float*)&p.second); 2023-09-11T14:34:57,481 | ^~~~~~~~~~~~~~~~~ 2023-09-11T14:34:57,493 src/KNLangModel.hpp: In instantiation of ‘static knlm::KNLangModel<_WType>::Node knlm::KNLangModel<_WType>::Node::readFromStream(std::istream&, size_t) [with _WType = unsigned char; std::istream = std::basic_istream; size_t = unsigned int]’: 2023-09-11T14:34:57,494 src/KNLangModel.hpp:281:44: required from ‘void knlm::KNLangModel<_WType>::readFromStream(std::istream&&) [with _WType = unsigned char; std::istream = std::basic_istream]’ 2023-09-11T14:34:57,495 src/KNLangModel.hpp:266:8: required from here 2023-09-11T14:34:57,496 src/KNLangModel.hpp:604:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T14:34:57,496 604 | p.second = *(int32_t*)&f; 2023-09-11T14:34:57,497 | ^~~~~~~~~~~~ 2023-09-11T14:35:13,553 arm-linux-gnueabihf-g++ -shared -Wl,-O1 -Wl,-Bsymbolic-functions -g -fwrapv -O2 build/temp.linux-armv7l-cpython-311/src/pyModule.o -L/usr/lib/arm-linux-gnueabihf -o build/lib.linux-armv7l-cpython-311/knlm_c.cpython-311-arm-linux-gnueabihf.so 2023-09-11T14:35:13,902 /usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. 2023-09-11T14:35:13,903 !! 2023-09-11T14:35:13,904 ******************************************************************************** 2023-09-11T14:35:13,904 Please avoid running ``setup.py`` directly. 2023-09-11T14:35:13,905 Instead, use pypa/build, pypa/installer or other 2023-09-11T14:35:13,906 standards-based tools. 2023-09-11T14:35:13,907 See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. 2023-09-11T14:35:13,907 ******************************************************************************** 2023-09-11T14:35:13,909 !! 2023-09-11T14:35:13,909 self.initialize_options() 2023-09-11T14:35:13,927 installing to build/bdist.linux-armv7l/wheel 2023-09-11T14:35:13,928 running install 2023-09-11T14:35:13,952 running install_lib 2023-09-11T14:35:13,977 creating build/bdist.linux-armv7l 2023-09-11T14:35:13,978 creating build/bdist.linux-armv7l/wheel 2023-09-11T14:35:13,979 copying build/lib.linux-armv7l-cpython-311/knlm_c.cpython-311-arm-linux-gnueabihf.so -> build/bdist.linux-armv7l/wheel 2023-09-11T14:35:14,005 creating build/bdist.linux-armv7l/wheel/knlm 2023-09-11T14:35:14,006 copying build/lib.linux-armv7l-cpython-311/knlm/__init__.py -> build/bdist.linux-armv7l/wheel/knlm 2023-09-11T14:35:14,008 copying build/lib.linux-armv7l-cpython-311/knlm/__main__.py -> build/bdist.linux-armv7l/wheel/knlm 2023-09-11T14:35:14,010 running install_egg_info 2023-09-11T14:35:14,041 Copying knlm.egg-info to build/bdist.linux-armv7l/wheel/knlm-0.1.2-py3.11.egg-info 2023-09-11T14:35:14,049 running install_scripts 2023-09-11T14:35:14,099 creating build/bdist.linux-armv7l/wheel/knlm-0.1.2.dist-info/WHEEL 2023-09-11T14:35:14,101 creating '/tmp/pip-wheel-tuu4y827/knlm-0.1.2-cp311-cp311-linux_armv7l.whl' and adding 'build/bdist.linux-armv7l/wheel' to it 2023-09-11T14:35:14,363 adding 'knlm_c.cpython-311-arm-linux-gnueabihf.so' 2023-09-11T14:35:14,377 adding 'knlm/__init__.py' 2023-09-11T14:35:14,378 adding 'knlm/__main__.py' 2023-09-11T14:35:14,380 adding 'knlm-0.1.2.dist-info/LICENSE.txt' 2023-09-11T14:35:14,381 adding 'knlm-0.1.2.dist-info/METADATA' 2023-09-11T14:35:14,382 adding 'knlm-0.1.2.dist-info/WHEEL' 2023-09-11T14:35:14,383 adding 'knlm-0.1.2.dist-info/top_level.txt' 2023-09-11T14:35:14,384 adding 'knlm-0.1.2.dist-info/RECORD' 2023-09-11T14:35:14,395 removing build/bdist.linux-armv7l/wheel 2023-09-11T14:35:14,540 Building wheel for knlm (setup.py): finished with status 'done' 2023-09-11T14:35:14,549 Created wheel for knlm: filename=knlm-0.1.2-cp311-cp311-linux_armv7l.whl size=517744 sha256=b9424c2c38e2f98ba36391fb389624f2a3a4cb309e6f7858b66fe780ace64093 2023-09-11T14:35:14,550 Stored in directory: /tmp/pip-ephem-wheel-cache-3kg0vyc8/wheels/43/c1/95/86c305d26a4b6a4fab0a042e4d0b0e8518042673f0888333b8 2023-09-11T14:35:14,560 Successfully built knlm 2023-09-11T14:35:14,582 Removed build tracker: '/tmp/pip-build-tracker-2bov4quc'