2023-09-11T12:09:56,154 Created temporary directory: /tmp/pip-build-tracker-y8t5sx67 2023-09-11T12:09:56,155 Initialized build tracking at /tmp/pip-build-tracker-y8t5sx67 2023-09-11T12:09:56,156 Created build tracker: /tmp/pip-build-tracker-y8t5sx67 2023-09-11T12:09:56,156 Entered build tracker: /tmp/pip-build-tracker-y8t5sx67 2023-09-11T12:09:56,157 Created temporary directory: /tmp/pip-wheel-vo3vch0s 2023-09-11T12:09:56,160 Created temporary directory: /tmp/pip-ephem-wheel-cache-jwotwxt4 2023-09-11T12:09:56,181 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-11T12:09:56,185 2 location(s) to search for versions of knlm: 2023-09-11T12:09:56,185 * https://pypi.org/simple/knlm/ 2023-09-11T12:09:56,185 * https://www.piwheels.org/simple/knlm/ 2023-09-11T12:09:56,186 Fetching project page and analyzing links: https://pypi.org/simple/knlm/ 2023-09-11T12:09:56,187 Getting page https://pypi.org/simple/knlm/ 2023-09-11T12:09:56,188 Found index url https://pypi.org/simple/ 2023-09-11T12:09:56,330 Fetched page https://pypi.org/simple/knlm/ as application/vnd.pypi.simple.v1+json 2023-09-11T12:09:56,335 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-11T12:09:56,335 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-11T12:09:56,336 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-11T12:09:56,336 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-11T12:09:56,337 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-11T12:09:56,338 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-11T12:09:56,338 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-11T12:09:56,339 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-11T12:09:56,340 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-11T12:09:56,340 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-11T12:09:56,341 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-11T12:09:56,342 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-11T12:09:56,342 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-11T12:09:56,343 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-11T12:09:56,344 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-11T12:09:56,344 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-11T12:09:56,345 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-11T12:09:56,345 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-11T12:09:56,346 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-11T12:09:56,346 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-11T12:09:56,347 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-11T12:09:56,347 Fetching project page and analyzing links: https://www.piwheels.org/simple/knlm/ 2023-09-11T12:09:56,348 Getting page https://www.piwheels.org/simple/knlm/ 2023-09-11T12:09:56,350 Found index url https://www.piwheels.org/simple/ 2023-09-11T12:09:56,632 Fetched page https://www.piwheels.org/simple/knlm/ as text/html 2023-09-11T12:09:56,638 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-11T12:09:56,639 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-11T12:09:56,640 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-11T12:09:56,640 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-11T12:09:56,641 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-11T12:09:56,642 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-11T12:09:56,642 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-11T12:09:56,643 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-11T12:09:56,643 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-11T12:09:56,644 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-11T12:09:56,644 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-11T12:09:56,645 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-11T12:09:56,645 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-11T12:09:56,646 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-11T12:09:56,646 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-11T12:09:56,647 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-11T12:09:56,647 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-11T12:09:56,648 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-11T12:09:56,648 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-11T12:09:56,649 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-11T12:09:56,649 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-11T12:09:56,650 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-11T12:09:56,650 Skipping link: not a file: https://www.piwheels.org/simple/knlm/ 2023-09-11T12:09:56,651 Skipping link: not a file: https://pypi.org/simple/knlm/ 2023-09-11T12:09:56,671 Given no hashes to check 1 links for project 'knlm': discarding no candidates 2023-09-11T12:09:56,690 Collecting knlm==0.1.1 2023-09-11T12:09:56,692 Created temporary directory: /tmp/pip-unpack-fwdcanfs 2023-09-11T12:09:56,904 Downloading knlm-0.1.1.tar.gz (10 kB) 2023-09-11T12:09:56,939 Added knlm==0.1.1 from https://files.pythonhosted.org/packages/c7/8a/b93ebe80afab7f500b74e396db86fa4111254ec2425b49b9167bf8780d52/knlm-0.1.1.tar.gz to build tracker '/tmp/pip-build-tracker-y8t5sx67' 2023-09-11T12:09:56,941 Running setup.py (path:/tmp/pip-wheel-vo3vch0s/knlm_d1f3af03cd274fe2b7169a4de1bafcbf/setup.py) egg_info for package knlm 2023-09-11T12:09:56,941 Created temporary directory: /tmp/pip-pip-egg-info-h53lz3fy 2023-09-11T12:09:56,942 Preparing metadata (setup.py): started 2023-09-11T12:09:56,943 Running command python setup.py egg_info 2023-09-11T12:09:57,958 running egg_info 2023-09-11T12:09:57,960 creating /tmp/pip-pip-egg-info-h53lz3fy/knlm.egg-info 2023-09-11T12:09:57,984 writing /tmp/pip-pip-egg-info-h53lz3fy/knlm.egg-info/PKG-INFO 2023-09-11T12:09:57,987 writing dependency_links to /tmp/pip-pip-egg-info-h53lz3fy/knlm.egg-info/dependency_links.txt 2023-09-11T12:09:57,989 writing top-level names to /tmp/pip-pip-egg-info-h53lz3fy/knlm.egg-info/top_level.txt 2023-09-11T12:09:57,991 writing manifest file '/tmp/pip-pip-egg-info-h53lz3fy/knlm.egg-info/SOURCES.txt' 2023-09-11T12:09:58,089 reading manifest file '/tmp/pip-pip-egg-info-h53lz3fy/knlm.egg-info/SOURCES.txt' 2023-09-11T12:09:58,091 reading manifest template 'MANIFEST.in' 2023-09-11T12:09:58,093 adding license file 'LICENSE.txt' 2023-09-11T12:09:58,095 writing manifest file '/tmp/pip-pip-egg-info-h53lz3fy/knlm.egg-info/SOURCES.txt' 2023-09-11T12:09:58,203 Preparing metadata (setup.py): finished with status 'done' 2023-09-11T12:09:58,207 Source in /tmp/pip-wheel-vo3vch0s/knlm_d1f3af03cd274fe2b7169a4de1bafcbf has version 0.1.1, which satisfies requirement knlm==0.1.1 from https://files.pythonhosted.org/packages/c7/8a/b93ebe80afab7f500b74e396db86fa4111254ec2425b49b9167bf8780d52/knlm-0.1.1.tar.gz 2023-09-11T12:09:58,208 Removed knlm==0.1.1 from https://files.pythonhosted.org/packages/c7/8a/b93ebe80afab7f500b74e396db86fa4111254ec2425b49b9167bf8780d52/knlm-0.1.1.tar.gz from build tracker '/tmp/pip-build-tracker-y8t5sx67' 2023-09-11T12:09:58,212 Created temporary directory: /tmp/pip-unpack-zebglj2y 2023-09-11T12:09:58,213 Created temporary directory: /tmp/pip-unpack-jfpubzbg 2023-09-11T12:09:58,215 Building wheels for collected packages: knlm 2023-09-11T12:09:58,220 Created temporary directory: /tmp/pip-wheel-p9poi5oe 2023-09-11T12:09:58,220 Building wheel for knlm (setup.py): started 2023-09-11T12:09:58,222 Destination directory: /tmp/pip-wheel-p9poi5oe 2023-09-11T12:09:58,222 Running command python setup.py bdist_wheel 2023-09-11T12:09:59,197 running bdist_wheel 2023-09-11T12:09:59,305 running build 2023-09-11T12:09:59,306 running build_py 2023-09-11T12:09:59,332 creating build 2023-09-11T12:09:59,333 creating build/lib.linux-armv7l-cpython-311 2023-09-11T12:09:59,334 creating build/lib.linux-armv7l-cpython-311/knlm 2023-09-11T12:09:59,335 copying knlm/__main__.py -> build/lib.linux-armv7l-cpython-311/knlm 2023-09-11T12:09:59,337 copying knlm/__init__.py -> build/lib.linux-armv7l-cpython-311/knlm 2023-09-11T12:09:59,339 running egg_info 2023-09-11T12:09:59,393 writing knlm.egg-info/PKG-INFO 2023-09-11T12:09:59,396 writing dependency_links to knlm.egg-info/dependency_links.txt 2023-09-11T12:09:59,398 writing top-level names to knlm.egg-info/top_level.txt 2023-09-11T12:09:59,423 reading manifest file 'knlm.egg-info/SOURCES.txt' 2023-09-11T12:09:59,425 reading manifest template 'MANIFEST.in' 2023-09-11T12:09:59,428 adding license file 'LICENSE.txt' 2023-09-11T12:09:59,430 writing manifest file 'knlm.egg-info/SOURCES.txt' 2023-09-11T12:09:59,431 running build_ext 2023-09-11T12:09:59,930 building 'knlm_c' extension 2023-09-11T12:09:59,931 creating build/temp.linux-armv7l-cpython-311 2023-09-11T12:09:59,931 creating build/temp.linux-armv7l-cpython-311/src 2023-09-11T12:09:59,932 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++1y -O3 -fpermissive 2023-09-11T12:10:02,928 In file included from src/KNLangModel.hpp:8, 2023-09-11T12:10:02,928 from src/pyModule.cpp:7: 2023-09-11T12:10:02,929 src/Utils.hpp: In function ‘int32_t readSVFromBinStream(std::istream&)’: 2023-09-11T12:10:02,930 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-11T12:10:02,931 136 | return v - (v >= vSize[i] ? (1 << ((i + 1) * 7)) : 0); 2023-09-11T12:10:02,932 | ~~^~~~~~~~~~~ 2023-09-11T12:10:03,110 src/pyModule.cpp: In function ‘PyObject* knlm__del(PyObject*, PyObject*)’: 2023-09-11T12:10:03,111 src/pyModule.cpp:61:24: warning: unused variable ‘wsize’ [-Wunused-variable] 2023-09-11T12:10:03,112 61 | size_t wsize = PyLong_AsLong(wsizeObj); 2023-09-11T12:10:03,112 | ^~~~~ 2023-09-11T12:10:03,139 src/pyModule.cpp: In function ‘PyObject* knlm__train(PyObject*, PyObject*)’: 2023-09-11T12:10:03,140 src/pyModule.cpp:127:39: warning: unused variable ‘item’ [-Wunused-variable] 2023-09-11T12:10:03,140 127 | PyObject *argSelf, *argIter, *item; 2023-09-11T12:10:03,141 | ^~~~ 2023-09-11T12:10:03,142 src/pyModule.cpp: In function ‘PyObject* knlm__optimize(PyObject*, PyObject*)’: 2023-09-11T12:10:03,142 src/pyModule.cpp:191:24: warning: unused variable ‘wsize’ [-Wunused-variable] 2023-09-11T12:10:03,143 191 | size_t wsize = PyLong_AsLong(wsizeObj); 2023-09-11T12:10:03,144 | ^~~~~ 2023-09-11T12:10:03,146 src/pyModule.cpp: In function ‘PyObject* knlm__evaluate(PyObject*, PyObject*)’: 2023-09-11T12:10:03,147 src/pyModule.cpp:207:39: warning: unused variable ‘item’ [-Wunused-variable] 2023-09-11T12:10:03,148 207 | PyObject *argSelf, *argIter, *item; 2023-09-11T12:10:03,148 | ^~~~ 2023-09-11T12:10:03,151 src/pyModule.cpp: In function ‘PyObject* knlm__evaluateSent(PyObject*, PyObject*)’: 2023-09-11T12:10:03,152 src/pyModule.cpp:254:39: warning: unused variable ‘item’ [-Wunused-variable] 2023-09-11T12:10:03,152 254 | PyObject *argSelf, *argIter, *item; 2023-09-11T12:10:03,153 | ^~~~ 2023-09-11T12:10:03,160 src/pyModule.cpp: In function ‘PyObject* knlm__evaluateEachWord(PyObject*, PyObject*)’: 2023-09-11T12:10:03,161 src/pyModule.cpp:302:39: warning: unused variable ‘item’ [-Wunused-variable] 2023-09-11T12:10:03,162 302 | PyObject *argSelf, *argIter, *item; 2023-09-11T12:10:03,162 | ^~~~ 2023-09-11T12:10:03,165 src/pyModule.cpp: In function ‘PyObject* knlm__branchingEntropy(PyObject*, PyObject*)’: 2023-09-11T12:10:03,166 src/pyModule.cpp:355:39: warning: unused variable ‘item’ [-Wunused-variable] 2023-09-11T12:10:03,166 355 | PyObject *argSelf, *argIter, *item; 2023-09-11T12:10:03,167 | ^~~~ 2023-09-11T12:10:03,169 src/pyModule.cpp: In function ‘PyObject* knlm__save(PyObject*, PyObject*)’: 2023-09-11T12:10:03,170 src/pyModule.cpp:411:24: warning: unused variable ‘wsize’ [-Wunused-variable] 2023-09-11T12:10:03,171 411 | size_t wsize = PyLong_AsLong(wsizeObj); 2023-09-11T12:10:03,172 | ^~~~~ 2023-09-11T12:10:03,180 src/pyModule.cpp: In function ‘PyObject* knlm__getattr(PyObject*, PyObject*)’: 2023-09-11T12:10:03,180 src/pyModule.cpp:524:24: warning: unused variable ‘wsize’ [-Wunused-variable] 2023-09-11T12:10:03,181 524 | size_t wsize = PyLong_AsLong(wsizeObj); 2023-09-11T12:10:03,181 | ^~~~~ 2023-09-11T12:10:03,184 src/pyModule.cpp: In function ‘PyObject* PyInit_knlm_c()’: 2023-09-11T12:10:03,184 src/pyModule.cpp:606:39: warning: ‘int PyEval_ThreadsInitialized()’ is deprecated [-Wdeprecated-declarations] 2023-09-11T12:10:03,185 606 | if (!PyEval_ThreadsInitialized()) { 2023-09-11T12:10:03,186 | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ 2023-09-11T12:10:03,186 In file included from /usr/include/python3.11/Python.h:95, 2023-09-11T12:10:03,187 from src/pyModule.cpp:5: 2023-09-11T12:10:03,187 /usr/include/python3.11/ceval.h:131:36: note: declared here 2023-09-11T12:10:03,188 131 | Py_DEPRECATED(3.9) PyAPI_FUNC(int) PyEval_ThreadsInitialized(void); 2023-09-11T12:10:03,189 | ^~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-11T12:10:03,189 src/pyModule.cpp:607:35: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations] 2023-09-11T12:10:03,190 607 | PyEval_InitThreads(); 2023-09-11T12:10:03,190 | ~~~~~~~~~~~~~~~~~~^~ 2023-09-11T12:10:03,191 /usr/include/python3.11/ceval.h:132:37: note: declared here 2023-09-11T12:10:03,192 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); 2023-09-11T12:10:03,192 | ^~~~~~~~~~~~~~~~~~ 2023-09-11T12:10:03,345 src/pyModule.cpp: In instantiation of ‘std::vector<_WType> makeSeqList(PyObject*, PyObject*) [with _WType = unsigned char; PyObject = _object]’: 2023-09-11T12:10:03,346 src/pyModule.cpp:148:36: required from here 2023-09-11T12:10:03,346 src/pyModule.cpp:83:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2023-09-11T12:10:03,347 83 | while (item = PyIter_Next(iter)) 2023-09-11T12:10:03,348 | ~~~~~^~~~~~~~~~~~~~~~~~~ 2023-09-11T12:10:03,353 src/pyModule.cpp: In instantiation of ‘std::vector<_WType> makeSeqList(PyObject*, PyObject*) [with _WType = short unsigned int; PyObject = _object]’: 2023-09-11T12:10:03,354 src/pyModule.cpp:153:37: required from here 2023-09-11T12:10:03,354 src/pyModule.cpp:83:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2023-09-11T12:10:03,361 src/pyModule.cpp: In instantiation of ‘std::vector<_WType> makeSeqList(PyObject*, PyObject*) [with _WType = unsigned int; PyObject = _object]’: 2023-09-11T12:10:03,361 src/pyModule.cpp:158:37: required from here 2023-09-11T12:10:03,362 src/pyModule.cpp:83:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2023-09-11T12:10:03,363 src/pyModule.cpp:94:60: warning: left shift count >= width of type [-Wshift-count-overflow] 2023-09-11T12:10:03,363 94 | if (sizeof(_WType) < 4 && id >= (1 << (sizeof(_WType) * 8))) 2023-09-11T12:10:03,364 | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-11T12:10:03,366 src/pyModule.cpp: In instantiation of ‘std::vector<_WType> makeSeqListConst(PyObject*, PyObject*, bool) [with _WType = unsigned char; PyObject = _object]’: 2023-09-11T12:10:03,367 src/pyModule.cpp:228:40: required from here 2023-09-11T12:10:03,368 src/pyModule.cpp:112:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2023-09-11T12:10:03,368 112 | while (item = PyIter_Next(iter)) 2023-09-11T12:10:03,369 | ~~~~~^~~~~~~~~~~~~~~~~~~ 2023-09-11T12:10:03,370 src/pyModule.cpp: In instantiation of ‘std::vector<_WType> makeSeqListConst(PyObject*, PyObject*, bool) [with _WType = short unsigned int; PyObject = _object]’: 2023-09-11T12:10:03,370 src/pyModule.cpp:233:41: required from here 2023-09-11T12:10:03,371 src/pyModule.cpp:112:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2023-09-11T12:10:03,371 src/pyModule.cpp: In instantiation of ‘std::vector<_WType> makeSeqListConst(PyObject*, PyObject*, bool) [with _WType = unsigned int; PyObject = _object]’: 2023-09-11T12:10:03,372 src/pyModule.cpp:238:41: required from here 2023-09-11T12:10:03,373 src/pyModule.cpp:112:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2023-09-11T12:10:03,973 In file included from src/KNLangModel.hpp:9: 2023-09-11T12:10:03,973 src/BakedMap.hpp: In instantiation of ‘BakedMap::~BakedMap() [with Key = unsigned char; Value = int]’: 2023-09-11T12:10:03,974 src/KNLangModel.hpp:106:35: required from ‘knlm::KNLangModel<_WType>::Node::~Node() [with _WType = unsigned char]’ 2023-09-11T12:10:03,975 /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-11T12:10:03,976 /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-11T12:10:03,977 /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-11T12:10:03,978 /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-11T12:10:03,979 src/KNLangModel.hpp:224:22: required from ‘knlm::KNLangModel<_WType>::KNLangModel(size_t) [with _WType = unsigned char; size_t = unsigned int]’ 2023-09-11T12:10:03,980 src/pyModule.cpp:23:61: required from here 2023-09-11T12:10:03,981 src/BakedMap.hpp:161:34: warning: deleting ‘void*’ is undefined [-Wdelete-incomplete] 2023-09-11T12:10:03,982 161 | delete[] elems; 2023-09-11T12:10:03,983 | ^~~~~ 2023-09-11T12:10:03,984 src/BakedMap.hpp: In instantiation of ‘BakedMap::~BakedMap() [with Key = short unsigned int; Value = int]’: 2023-09-11T12:10:03,985 src/KNLangModel.hpp:106:35: required from ‘knlm::KNLangModel<_WType>::Node::~Node() [with _WType = short unsigned int]’ 2023-09-11T12:10:03,986 /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-11T12:10:03,986 /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-11T12:10:03,987 /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-11T12:10:03,988 /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-11T12:10:03,989 src/KNLangModel.hpp:224:22: required from ‘knlm::KNLangModel<_WType>::KNLangModel(size_t) [with _WType = short unsigned int; size_t = unsigned int]’ 2023-09-11T12:10:03,990 src/pyModule.cpp:26:62: required from here 2023-09-11T12:10:03,991 src/BakedMap.hpp:161:34: warning: deleting ‘void*’ is undefined [-Wdelete-incomplete] 2023-09-11T12:10:03,992 src/BakedMap.hpp: In instantiation of ‘BakedMap::~BakedMap() [with Key = unsigned int; Value = int]’: 2023-09-11T12:10:03,992 src/KNLangModel.hpp:106:35: required from ‘knlm::KNLangModel<_WType>::Node::~Node() [with _WType = unsigned int]’ 2023-09-11T12:10:03,993 /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-11T12:10:03,994 /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-11T12:10:03,995 /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-11T12:10:03,996 /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-11T12:10:03,997 src/KNLangModel.hpp:224:22: required from ‘knlm::KNLangModel<_WType>::KNLangModel(size_t) [with _WType = unsigned int; size_t = unsigned int]’ 2023-09-11T12:10:03,998 src/pyModule.cpp:29:62: required from here 2023-09-11T12:10:03,999 src/BakedMap.hpp:161:34: warning: deleting ‘void*’ is undefined [-Wdelete-incomplete] 2023-09-11T12:10:04,116 src/KNLangModel.hpp: In instantiation of ‘void knlm::KNLangModel<_WType>::optimize() [with _WType = unsigned int]’: 2023-09-11T12:10:04,117 src/KNLangModel.hpp:417:7: required from here 2023-09-11T12:10:04,118 src/KNLangModel.hpp:443:66: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T12:10:04,118 443 | node.setLL(p.first, log(*(float*)&t)); 2023-09-11T12:10:04,119 | ^~~~~~~~~~ 2023-09-11T12:10:04,134 src/KNLangModel.hpp: In instantiation of ‘void knlm::KNLangModel<_WType>::optimize() [with _WType = short unsigned int]’: 2023-09-11T12:10:04,134 src/KNLangModel.hpp:417:7: required from here 2023-09-11T12:10:04,135 src/KNLangModel.hpp:443:66: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T12:10:04,150 src/KNLangModel.hpp: In instantiation of ‘void knlm::KNLangModel<_WType>::optimize() [with _WType = unsigned char]’: 2023-09-11T12:10:04,151 src/KNLangModel.hpp:417:7: required from here 2023-09-11T12:10:04,152 src/KNLangModel.hpp:443:66: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T12:10:04,197 src/KNLangModel.hpp: In instantiation of ‘void knlm::KNLangModel<_WType>::Node::setLL(_WType, float) [with _WType = unsigned int]’: 2023-09-11T12:10:04,198 src/KNLangModel.hpp:443:16: required from ‘void knlm::KNLangModel<_WType>::optimize() [with _WType = unsigned int]’ 2023-09-11T12:10:04,199 src/KNLangModel.hpp:417:7: required from here 2023-09-11T12:10:04,199 src/KNLangModel.hpp:204:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T12:10:04,200 204 | next[n] = *(int32_t*)≪ 2023-09-11T12:10:04,200 | ^~~~~~~~~~~~~ 2023-09-11T12:10:04,201 src/KNLangModel.hpp: In instantiation of ‘void knlm::KNLangModel<_WType>::Node::optimize() [with _WType = unsigned int]’: 2023-09-11T12:10:04,201 src/KNLangModel.hpp:446:17: required from ‘void knlm::KNLangModel<_WType>::optimize() [with _WType = unsigned int]’ 2023-09-11T12:10:04,202 src/KNLangModel.hpp:417:7: required from here 2023-09-11T12:10:04,202 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-11T12:10:04,203 197 | memset(&bakedNext, 0, sizeof(bakedNext)); 2023-09-11T12:10:04,204 | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-11T12:10:04,204 src/BakedMap.hpp:27:7: note: ‘class BakedMap’ declared here 2023-09-11T12:10:04,205 27 | class BakedMap 2023-09-11T12:10:04,206 | ^~~~~~~~ 2023-09-11T12:10:04,206 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-11T12:10:04,207 src/KNLangModel.hpp:261:20: required from ‘void knlm::KNLangModel<_WType>::writeToStream(std::ostream&&) const [with _WType = unsigned int; std::ostream = std::basic_ostream]’ 2023-09-11T12:10:04,208 src/KNLangModel.hpp:252:8: required from here 2023-09-11T12:10:04,208 src/KNLangModel.hpp:582:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T12:10:04,209 582 | else writeNegFixed16(str, *(float*)&p.second); 2023-09-11T12:10:04,210 | ^~~~~~~~~~~~~~~~~ 2023-09-11T12:10:04,222 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-11T12:10:04,223 src/KNLangModel.hpp:288:44: required from ‘void knlm::KNLangModel<_WType>::readFromStream(std::istream&&) [with _WType = unsigned int; std::istream = std::basic_istream]’ 2023-09-11T12:10:04,223 src/KNLangModel.hpp:273:8: required from here 2023-09-11T12:10:04,224 src/KNLangModel.hpp:607:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T12:10:04,225 607 | p.second = *(int32_t*)&f; 2023-09-11T12:10:04,225 | ^~~~~~~~~~~~ 2023-09-11T12:10:04,266 src/KNLangModel.hpp: In instantiation of ‘void knlm::KNLangModel<_WType>::Node::setLL(_WType, float) [with _WType = short unsigned int]’: 2023-09-11T12:10:04,267 src/KNLangModel.hpp:443:16: required from ‘void knlm::KNLangModel<_WType>::optimize() [with _WType = short unsigned int]’ 2023-09-11T12:10:04,268 src/KNLangModel.hpp:417:7: required from here 2023-09-11T12:10:04,268 src/KNLangModel.hpp:204:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T12:10:04,269 204 | next[n] = *(int32_t*)≪ 2023-09-11T12:10:04,270 | ^~~~~~~~~~~~~ 2023-09-11T12:10:04,270 src/KNLangModel.hpp: In instantiation of ‘void knlm::KNLangModel<_WType>::Node::optimize() [with _WType = short unsigned int]’: 2023-09-11T12:10:04,271 src/KNLangModel.hpp:446:17: required from ‘void knlm::KNLangModel<_WType>::optimize() [with _WType = short unsigned int]’ 2023-09-11T12:10:04,272 src/KNLangModel.hpp:417:7: required from here 2023-09-11T12:10:04,272 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-11T12:10:04,273 197 | memset(&bakedNext, 0, sizeof(bakedNext)); 2023-09-11T12:10:04,273 | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-11T12:10:04,274 src/BakedMap.hpp:27:7: note: ‘class BakedMap’ declared here 2023-09-11T12:10:04,275 27 | class BakedMap 2023-09-11T12:10:04,275 | ^~~~~~~~ 2023-09-11T12:10:04,276 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-11T12:10:04,276 src/KNLangModel.hpp:261:20: required from ‘void knlm::KNLangModel<_WType>::writeToStream(std::ostream&&) const [with _WType = short unsigned int; std::ostream = std::basic_ostream]’ 2023-09-11T12:10:04,277 src/KNLangModel.hpp:252:8: required from here 2023-09-11T12:10:04,277 src/KNLangModel.hpp:582:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T12:10:04,278 582 | else writeNegFixed16(str, *(float*)&p.second); 2023-09-11T12:10:04,279 | ^~~~~~~~~~~~~~~~~ 2023-09-11T12:10:04,289 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-11T12:10:04,290 src/KNLangModel.hpp:288:44: required from ‘void knlm::KNLangModel<_WType>::readFromStream(std::istream&&) [with _WType = short unsigned int; std::istream = std::basic_istream]’ 2023-09-11T12:10:04,290 src/KNLangModel.hpp:273:8: required from here 2023-09-11T12:10:04,291 src/KNLangModel.hpp:607:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T12:10:04,292 607 | p.second = *(int32_t*)&f; 2023-09-11T12:10:04,292 | ^~~~~~~~~~~~ 2023-09-11T12:10:04,336 src/KNLangModel.hpp: In instantiation of ‘void knlm::KNLangModel<_WType>::Node::setLL(_WType, float) [with _WType = unsigned char]’: 2023-09-11T12:10:04,337 src/KNLangModel.hpp:443:16: required from ‘void knlm::KNLangModel<_WType>::optimize() [with _WType = unsigned char]’ 2023-09-11T12:10:04,338 src/KNLangModel.hpp:417:7: required from here 2023-09-11T12:10:04,338 src/KNLangModel.hpp:204:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T12:10:04,339 204 | next[n] = *(int32_t*)≪ 2023-09-11T12:10:04,340 | ^~~~~~~~~~~~~ 2023-09-11T12:10:04,341 src/KNLangModel.hpp: In instantiation of ‘void knlm::KNLangModel<_WType>::Node::optimize() [with _WType = unsigned char]’: 2023-09-11T12:10:04,342 src/KNLangModel.hpp:446:17: required from ‘void knlm::KNLangModel<_WType>::optimize() [with _WType = unsigned char]’ 2023-09-11T12:10:04,342 src/KNLangModel.hpp:417:7: required from here 2023-09-11T12:10:04,343 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-11T12:10:04,343 197 | memset(&bakedNext, 0, sizeof(bakedNext)); 2023-09-11T12:10:04,344 | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2023-09-11T12:10:04,344 src/BakedMap.hpp:27:7: note: ‘class BakedMap’ declared here 2023-09-11T12:10:04,345 27 | class BakedMap 2023-09-11T12:10:04,346 | ^~~~~~~~ 2023-09-11T12:10:04,346 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-11T12:10:04,347 src/KNLangModel.hpp:261:20: required from ‘void knlm::KNLangModel<_WType>::writeToStream(std::ostream&&) const [with _WType = unsigned char; std::ostream = std::basic_ostream]’ 2023-09-11T12:10:04,347 src/KNLangModel.hpp:252:8: required from here 2023-09-11T12:10:04,348 src/KNLangModel.hpp:582:52: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T12:10:04,348 582 | else writeNegFixed16(str, *(float*)&p.second); 2023-09-11T12:10:04,349 | ^~~~~~~~~~~~~~~~~ 2023-09-11T12:10:04,359 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-11T12:10:04,360 src/KNLangModel.hpp:288:44: required from ‘void knlm::KNLangModel<_WType>::readFromStream(std::istream&&) [with _WType = unsigned char; std::istream = std::basic_istream]’ 2023-09-11T12:10:04,361 src/KNLangModel.hpp:273:8: required from here 2023-09-11T12:10:04,362 src/KNLangModel.hpp:607:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 2023-09-11T12:10:04,362 607 | p.second = *(int32_t*)&f; 2023-09-11T12:10:04,363 | ^~~~~~~~~~~~ 2023-09-11T12:10:20,564 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-11T12:10:20,906 /usr/local/lib/python3.11/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. 2023-09-11T12:10:20,907 !! 2023-09-11T12:10:20,908 ******************************************************************************** 2023-09-11T12:10:20,909 Please avoid running ``setup.py`` directly. 2023-09-11T12:10:20,909 Instead, use pypa/build, pypa/installer or other 2023-09-11T12:10:20,910 standards-based tools. 2023-09-11T12:10:20,911 See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. 2023-09-11T12:10:20,911 ******************************************************************************** 2023-09-11T12:10:20,913 !! 2023-09-11T12:10:20,913 self.initialize_options() 2023-09-11T12:10:20,933 installing to build/bdist.linux-armv7l/wheel 2023-09-11T12:10:20,934 running install 2023-09-11T12:10:20,957 running install_lib 2023-09-11T12:10:20,982 creating build/bdist.linux-armv7l 2023-09-11T12:10:20,983 creating build/bdist.linux-armv7l/wheel 2023-09-11T12:10:20,984 copying build/lib.linux-armv7l-cpython-311/knlm_c.cpython-311-arm-linux-gnueabihf.so -> build/bdist.linux-armv7l/wheel 2023-09-11T12:10:21,068 creating build/bdist.linux-armv7l/wheel/knlm 2023-09-11T12:10:21,070 copying build/lib.linux-armv7l-cpython-311/knlm/__main__.py -> build/bdist.linux-armv7l/wheel/knlm 2023-09-11T12:10:21,071 copying build/lib.linux-armv7l-cpython-311/knlm/__init__.py -> build/bdist.linux-armv7l/wheel/knlm 2023-09-11T12:10:21,073 running install_egg_info 2023-09-11T12:10:21,102 Copying knlm.egg-info to build/bdist.linux-armv7l/wheel/knlm-0.1.1-py3.11.egg-info 2023-09-11T12:10:21,110 running install_scripts 2023-09-11T12:10:21,163 creating build/bdist.linux-armv7l/wheel/knlm-0.1.1.dist-info/WHEEL 2023-09-11T12:10:21,165 creating '/tmp/pip-wheel-p9poi5oe/knlm-0.1.1-cp311-cp311-linux_armv7l.whl' and adding 'build/bdist.linux-armv7l/wheel' to it 2023-09-11T12:10:21,427 adding 'knlm_c.cpython-311-arm-linux-gnueabihf.so' 2023-09-11T12:10:21,441 adding 'knlm/__init__.py' 2023-09-11T12:10:21,442 adding 'knlm/__main__.py' 2023-09-11T12:10:21,444 adding 'knlm-0.1.1.dist-info/LICENSE.txt' 2023-09-11T12:10:21,445 adding 'knlm-0.1.1.dist-info/METADATA' 2023-09-11T12:10:21,446 adding 'knlm-0.1.1.dist-info/WHEEL' 2023-09-11T12:10:21,447 adding 'knlm-0.1.1.dist-info/top_level.txt' 2023-09-11T12:10:21,448 adding 'knlm-0.1.1.dist-info/RECORD' 2023-09-11T12:10:21,454 removing build/bdist.linux-armv7l/wheel 2023-09-11T12:10:21,601 Building wheel for knlm (setup.py): finished with status 'done' 2023-09-11T12:10:21,612 Created wheel for knlm: filename=knlm-0.1.1-cp311-cp311-linux_armv7l.whl size=515121 sha256=e0ad72fa63891ff42cc33fd77d697ffe32974cf0f573f136f4e8ec5607871f28 2023-09-11T12:10:21,613 Stored in directory: /tmp/pip-ephem-wheel-cache-jwotwxt4/wheels/3a/09/7f/fc6847ca414426d16b57b11433dc44ddbe7422e2cfebbac899 2023-09-11T12:10:21,626 Successfully built knlm 2023-09-11T12:10:21,659 Removed build tracker: '/tmp/pip-build-tracker-y8t5sx67'