>>> rstcheck: Building community/rstcheck 3.3.1-r10 (using abuild 3.14.1-r1) started Thu, 31 Oct 2024 13:28:39 +0000 >>> rstcheck: Validating /home/buildozer/aports/community/rstcheck/APKBUILD... >>> rstcheck: Analyzing dependencies... >>> rstcheck: Installing for build: build-base python3 py3-docutils py3-setuptools bash (1/21) Installing libbz2 (1.0.8-r6) (2/21) Installing libffi (3.4.6-r0) (3/21) Installing gdbm (1.24-r0) (4/21) Installing xz-libs (5.6.3-r0) (5/21) Installing mpdecimal (4.0.0-r0) (6/21) Installing libpanelw (6.5_p20241006-r2) (7/21) Installing sqlite-libs (3.47.0-r0) (8/21) Installing python3 (3.12.7-r1) (9/21) Installing python3-pycache-pyc0 (3.12.7-r1) (10/21) Installing pyc (3.12.7-r1) (11/21) Installing python3-pyc (3.12.7-r1) (12/21) Installing py3-docutils (0.21.2-r0) (13/21) Installing py3-docutils-pyc (0.21.2-r0) (14/21) Installing py3-parsing (3.1.4-r0) (15/21) Installing py3-parsing-pyc (3.1.4-r0) (16/21) Installing py3-packaging (24.1-r0) (17/21) Installing py3-packaging-pyc (24.1-r0) (18/21) Installing py3-setuptools (70.3.0-r0) (19/21) Installing py3-setuptools-pyc (70.3.0-r0) (20/21) Installing bash (5.2.37-r0) Executing bash-5.2.37-r0.post-install (21/21) Installing .makedepends-rstcheck (20241031.132853) Executing busybox-1.37.0-r3.trigger OK: 315 MiB in 122 packages >>> rstcheck: Cleaning up srcdir >>> rstcheck: Cleaning up pkgdir >>> rstcheck: Cleaning up tmpdir >>> rstcheck: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/rstcheck-3.3.1.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> rstcheck: Fetching rstcheck-3.3.1.tar.gz::https://github.com/rstcheck/rstcheck/archive/v3.3.1.tar.gz Connecting to github.com (140.82.121.4:443) Connecting to codeload.github.com (140.82.121.9:443) saving to '/var/cache/distfiles/v3.21/rstcheck-3.3.1.tar.gz.part' rstcheck-3.3.1.tar.g 100% |********************************| 16054 0:00:00 ETA '/var/cache/distfiles/v3.21/rstcheck-3.3.1.tar.gz.part' saved >>> rstcheck: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/rstcheck-3.3.1.tar.gz >>> rstcheck: Checking sha512sums... rstcheck-3.3.1.tar.gz: OK 01-python3-test-suite.patch: OK 02-Close-the-multiprocessing.pool-after-use.patch: OK >>> rstcheck: Unpacking /var/cache/distfiles/v3.21/rstcheck-3.3.1.tar.gz... >>> rstcheck: 01-python3-test-suite.patch patching file rstcheck.py patching file test.bash >>> rstcheck: 02-Close-the-multiprocessing.pool-after-use.patch patching file rstcheck.py Hunk #1 succeeded at 965 (offset -16 lines). /home/buildozer/aports/community/rstcheck/src/rstcheck-3.3.1/setup.py:16: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead return ast.parse(line).body[0].value.s running build running build_py creating build creating build/lib copying rstcheck.py -> build/lib ......................s... ---------------------------------------------------------------------- Ran 26 tests in 0.091s OK (skipped=1) + trap 'echo -e '\''\x1b[01;31mFailed\x1b[0m'\''' ERR + for name in examples/good/*.rst + ./rstcheck.py examples/good/bom.rst + for name in examples/good/*.rst + ./rstcheck.py examples/good/good.rst + for name in examples/good/*.rst + ./rstcheck.py examples/good/good_cpp_with_local_include.rst + for name in examples/good/*.rst + ./rstcheck.py examples/good/good_markdown.rst + for name in examples/good/*.rst + ./rstcheck.py examples/good/unicode.rst + for name in examples/good/*.rst + ./rstcheck.py examples/good/unknown.rst + for name in examples/bad/*.rst + ./rstcheck.py examples/bad/bad_bash.rst examples/bad/bad_bash.rst:7: (ERROR/3) (bash) syntax error: unexpected end of file + for name in examples/bad/*.rst + ./rstcheck.py examples/bad/bad_code.rst examples/bad/bad_code.rst:9: (ERROR/3) (python) '(' was never closed + for name in examples/bad/*.rst + ./rstcheck.py examples/bad/bad_cpp.rst examples/bad/bad_cpp.rst:9: (ERROR/3) (cpp) error: 'x' was not declared in this scope + for name in examples/bad/*.rst + ./rstcheck.py examples/bad/bad_markdown.rst examples/bad/bad_markdown.rst:5: (WARNING/2) (rst) Link is formatted in Markdown style. + for name in examples/bad/*.rst + ./rstcheck.py examples/bad/bad_python.rst examples/bad/bad_python.rst:7: (ERROR/3) (python) '(' was never closed + for name in examples/bad/*.rst + ./rstcheck.py examples/bad/bad_rst.rst examples/bad/bad_rst.rst:1: (SEVERE/4) Title overline & underline mismatch. + for name in examples/bad/*.rst + ./rstcheck.py examples/bad/bad_rst_in_rst.rst examples/bad/bad_rst_in_rst.rst:8: (ERROR/3) (rst) (INFO/1) Possible title underline, too short for the title. + ./rstcheck.py examples/good/bom.rst examples/good/good.rst examples/good/good_cpp_with_local_include.rst examples/good/good_markdown.rst examples/good/unicode.rst examples/good/unknown.rst + ./rstcheck.py --ignore-directives=my-directive --ignore-role=some-custom-thing examples/custom/good_with_custom.rst + ./rstcheck.py --ignore-language=cpp examples/bad/bad_cpp.rst + ./rstcheck.py - + ./rstcheck.py examples/bad/bad_cpp.rst examples/good/good.rst examples/bad/bad_cpp.rst:9: (ERROR/3) (cpp) error: 'x' was not declared in this scope + ./rstcheck.py - examples/good/good.rst usage: rstcheck [-h] [-r] [--report level] [--ignore-language language] [--ignore-messages messages] [--ignore-directives directives] [--ignore-substitutions substitutions] [--ignore-roles roles] [--debug] [--version] files [files ...] rstcheck: error: '-' for standard in can only be checked alone + ./rstcheck.py --report=none examples/bad/bad_rst.rst + ./rstcheck.py missing_file.rst [Errno 2] No such file or directory: 'missing_file.rst' + ./rstcheck.py --recursive examples/good + ./rstcheck.py --recursive examples/bad examples/bad/bad_markdown.rst:5: (WARNING/2) (rst) Link is formatted in Markdown style. examples/bad/bad_rst.rst:1: (SEVERE/4) Title overline & underline mismatch. examples/bad/bad_bash.rst:7: (ERROR/3) (bash) syntax error: unexpected end of file examples/bad/bad_python.rst:7: (ERROR/3) (python) '(' was never closed examples/bad/bad_rst_in_rst.rst:8: (ERROR/3) (rst) (INFO/1) Possible title underline, too short for the title. examples/bad/bad_cpp.rst:9: (ERROR/3) (cpp) error: 'x' was not declared in this scope examples/bad/bad_code.rst:9: (ERROR/3) (python) '(' was never closed + ./rstcheck.py examples/bad/bad_rst.rst --ignore-messages '(Title .verline & underline mismatch\.$)' + ./rstcheck.py examples/bad/bad_rst.rst --ignore-messages '(No match\.$)' examples/bad/bad_rst.rst:1: (SEVERE/4) Title overline & underline mismatch. + ./rstcheck.py examples/with_configuration/good.rst + ./rstcheck.py examples/with_configuration/bad.rst examples/with_configuration/bad.rst:1: (ERROR/3) Unknown directive type "my-custom-directive". + ./rstcheck.py examples/with_configuration/bad-2.rst + python3 -c 'import sys; sys.exit(0 if sys.version_info >= (3,) else 1)' + python3 -m doctest -v README.rst rstcheck.py Trying: import rstcheck Expecting nothing ok Trying: list(rstcheck.check('Example\n===')) Expecting: [(2, '(INFO/1) Possible title underline, too short for the title.')] ok 1 items passed all tests: 2 tests in README.rst 2 tests in 1 items. 2 passed and 0 failed. Test passed. Trying: list(find_ignored_languages(''' Example ======= .. rstcheck: ignore-language=cpp,json .. rstcheck: ignore-language=python ''')) Expecting: ['cpp', 'json', 'python'] ok 51 items had no tests: rstcheck rstcheck.CheckTranslator rstcheck.CheckTranslator.__init__ rstcheck.CheckTranslator._add_check rstcheck.CheckTranslator.unknown_departure rstcheck.CheckTranslator.unknown_visit rstcheck.CheckTranslator.visit_doctest_block rstcheck.CheckTranslator.visit_literal_block rstcheck.CheckTranslator.visit_paragraph rstcheck.CheckWriter rstcheck.CheckWriter.__init__ rstcheck.CheckWriter.translate rstcheck.CodeBlockDirective rstcheck.CodeBlockDirective.run rstcheck.Error rstcheck.Error.__init__ rstcheck.IgnoredDirective rstcheck.IgnoredDirective.run rstcheck._check_file rstcheck._get_directives_and_roles_from_sphinx rstcheck._get_options rstcheck._ignore_role rstcheck.bash_checker rstcheck.beginning_of_code_block rstcheck.c_checker rstcheck.check rstcheck.check_doctest rstcheck.check_json rstcheck.check_python rstcheck.check_rst rstcheck.check_xml rstcheck.cpp_checker rstcheck.decode_filename rstcheck.enable_sphinx_if_possible rstcheck.find_config rstcheck.find_files rstcheck.gcc_checker rstcheck.get_and_split rstcheck.get_encoding rstcheck.ignore_directives_and_roles rstcheck.ignore_sphinx rstcheck.load_configuration_from_file rstcheck.main rstcheck.match_file rstcheck.output_message rstcheck.parse_args rstcheck.parse_gcc_style_error_message rstcheck.register_code_directive rstcheck.run_in_subprocess rstcheck.split_comma_separated rstcheck.strip_byte_order_mark 1 items passed all tests: 1 tests in rstcheck.find_ignored_languages 1 tests in 52 items. 1 passed and 0 failed. Test passed. + ./rstcheck.py README.rst + echo -e '\x1b[01;32mOkay\x1b[0m' Okay >>> rstcheck: Entering fakeroot... /home/buildozer/aports/community/rstcheck/src/rstcheck-3.3.1/setup.py:16: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead return ast.parse(line).body[0].value.s running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /home/buildozer/aports/community/rstcheck/pkg creating /home/buildozer/aports/community/rstcheck/pkg/rstcheck creating /home/buildozer/aports/community/rstcheck/pkg/rstcheck/usr creating /home/buildozer/aports/community/rstcheck/pkg/rstcheck/usr/lib creating /home/buildozer/aports/community/rstcheck/pkg/rstcheck/usr/lib/python3.12 creating /home/buildozer/aports/community/rstcheck/pkg/rstcheck/usr/lib/python3.12/site-packages copying build/lib/rstcheck.py -> /home/buildozer/aports/community/rstcheck/pkg/rstcheck/usr/lib/python3.12/site-packages byte-compiling /home/buildozer/aports/community/rstcheck/pkg/rstcheck/usr/lib/python3.12/site-packages/rstcheck.py to rstcheck.cpython-312.pyc running install_egg_info running egg_info creating rstcheck.egg-info writing rstcheck.egg-info/PKG-INFO writing dependency_links to rstcheck.egg-info/dependency_links.txt writing entry points to rstcheck.egg-info/entry_points.txt writing requirements to rstcheck.egg-info/requires.txt writing top-level names to rstcheck.egg-info/top_level.txt writing manifest file 'rstcheck.egg-info/SOURCES.txt' reading manifest file 'rstcheck.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '.travis.yml' warning: no previously-included files found matching 'Makefile' warning: no previously-included files found matching 'test.bash' warning: no previously-included files found matching 'test_rstcheck.py' no previously-included directories found matching 'examples' adding license file 'LICENSE' adding license file 'AUTHORS.rst' writing manifest file 'rstcheck.egg-info/SOURCES.txt' Copying rstcheck.egg-info to /home/buildozer/aports/community/rstcheck/pkg/rstcheck/usr/lib/python3.12/site-packages/rstcheck-3.3.1-py3.12.egg-info running install_scripts Installing rstcheck script to /home/buildozer/aports/community/rstcheck/pkg/rstcheck/usr/bin >>> rstcheck-pyc*: Running split function pyc... 'usr/lib/python3.12/site-packages/__pycache__' -> '/home/buildozer/aports/community/rstcheck/pkg/rstcheck-pyc/usr/lib/python3.12/site-packages/__pycache__' >>> rstcheck-pyc*: Preparing subpackage rstcheck-pyc... >>> rstcheck-pyc*: Running postcheck for rstcheck-pyc >>> rstcheck*: Running postcheck for rstcheck >>> rstcheck*: Preparing package rstcheck... >>> rstcheck-pyc*: Tracing dependencies... python3 py3-docutils python3~3.12 >>> rstcheck-pyc*: Package size: 38.4 KB >>> rstcheck-pyc*: Compressing data... >>> rstcheck-pyc*: Create checksum... >>> rstcheck-pyc*: Create rstcheck-pyc-3.3.1-r10.apk >>> rstcheck*: Tracing dependencies... python3 py3-docutils python3~3.12 >>> rstcheck*: Package size: 38.6 KB >>> rstcheck*: Compressing data... >>> rstcheck*: Create checksum... >>> rstcheck*: Create rstcheck-3.3.1-r10.apk >>> rstcheck: Build complete at Thu, 31 Oct 2024 13:29:03 +0000 elapsed time 0h 0m 24s >>> rstcheck: Cleaning up srcdir >>> rstcheck: Cleaning up pkgdir >>> rstcheck: Uninstalling dependencies... (1/21) Purging .makedepends-rstcheck (20241031.132853) (2/21) Purging py3-docutils-pyc (0.21.2-r0) (3/21) Purging py3-docutils (0.21.2-r0) (4/21) Purging py3-setuptools-pyc (70.3.0-r0) (5/21) Purging py3-setuptools (70.3.0-r0) (6/21) Purging py3-packaging-pyc (24.1-r0) (7/21) Purging py3-packaging (24.1-r0) (8/21) Purging py3-parsing-pyc (3.1.4-r0) (9/21) Purging py3-parsing (3.1.4-r0) (10/21) Purging python3-pyc (3.12.7-r1) (11/21) Purging python3-pycache-pyc0 (3.12.7-r1) (12/21) Purging pyc (3.12.7-r1) (13/21) Purging python3 (3.12.7-r1) (14/21) Purging bash (5.2.37-r0) Executing bash-5.2.37-r0.pre-deinstall (15/21) Purging gdbm (1.24-r0) (16/21) Purging libbz2 (1.0.8-r6) (17/21) Purging libffi (3.4.6-r0) (18/21) Purging libpanelw (6.5_p20241006-r2) (19/21) Purging mpdecimal (4.0.0-r0) (20/21) Purging sqlite-libs (3.47.0-r0) (21/21) Purging xz-libs (5.6.3-r0) Executing busybox-1.37.0-r3.trigger OK: 271 MiB in 101 packages >>> rstcheck: Updating the community/armv7 repository index... >>> rstcheck: Signing the index...