==> Building on q ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-irc ./ PKGBUILD 1,145 100% 0.00kB/s 0:00:00 1,145 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) python-irc-19.0.1-3.log 349 100% 340.82kB/s 0:00:00 349 100% 340.82kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 1,003 bytes received 99 bytes 440.80 bytes/sec total size is 1,333 speedup is 1.21 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix2 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix2]...done ==> Making package: python-irc 19.0.1-3 (Sun Mar 27 17:09:06 2022) ==> Retrieving sources...  -> Downloading irc-19.0.1.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 115k 100 115k 0 0 511k 0 --:--:-- --:--:-- --:--:-- 511k ==> Validating source files with sha256sums... irc-19.0.1.tar.gz ... Passed ==> Making package: python-irc 19.0.1-3 (Sun 27 Mar 2022 05:09:25 PM CEST) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (9) New Version Net Change Download Size core/libnsl 2.0.0-2 0.06 MiB core/python 3.10.1-2 79.11 MiB community/python-jaraco.context 4.1.1-2 0.02 MiB 0.01 MiB community/python-toml 0.10.2-7 0.14 MiB community/python-jaraco 2022.2.21-1 0.37 MiB 0.06 MiB community/python-more-itertools 8.12.0-1 0.48 MiB community/python-pytz 2022.1-1 0.14 MiB extra/python-six 1.16.0-5 0.09 MiB community/python-tempora 5.0.1-1 0.12 MiB 0.03 MiB Total Download Size: 0.10 MiB Total Installed Size: 80.53 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-jaraco-2022.2.21-1-any downloading... python-tempora-5.0.1-1-any downloading... python-jaraco.context-4.1.1-2-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnsl... installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing python-six... installing python-pytz... installing python-more-itertools... installing python-toml... installing python-jaraco.context... installing python-jaraco... installing python-tempora... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (33) New Version Net Change Download Size community/flake8 1:4.0.1-4 0.52 MiB 0.10 MiB community/mypy 0.941-1 15.11 MiB 2.43 MiB community/python-apipkg 2.1.0-1 0.03 MiB extra/python-appdirs 1.4.4-6 0.07 MiB extra/python-attrs 21.4.0-1 0.45 MiB community/python-black 22.1.0-2 0.84 MiB 0.23 MiB community/python-click 8.0.4-1 0.89 MiB community/python-coverage 6.1.1-3 1.19 MiB community/python-entrypoints 0.4-1 0.01 MiB community/python-filelock 3.4.2-1 0.05 MiB community/python-iniconfig 1.1.1-5 0.02 MiB community/python-mccabe 0.7.0-1 0.04 MiB community/python-mypy_extensions 0.4.3-5 0.02 MiB extra/python-ordered-set 4.0.2-6 0.06 MiB extra/python-packaging 21.0-1 0.26 MiB community/python-pathspec 0.9.0-3 0.21 MiB extra/python-platformdirs 2.5.0-1 0.12 MiB community/python-pluggy 1.0.0-1 0.10 MiB community/python-psutil 5.9.0-1 2.08 MiB community/python-py 1.11.0-1 0.71 MiB community/python-pycodestyle 2.8.0-5 0.27 MiB community/python-pyflakes 2.4.0-3 0.90 MiB extra/python-pyparsing 3.0.7-1 0.96 MiB extra/python-setuptools 1:59.1.0-1 2.95 MiB extra/python-tomli 2.0.1-1 0.08 MiB community/python-typed-ast 1.5.2-1 0.55 MiB community/python-typing_extensions 4.1.0-1 0.20 MiB community/python-pytest 7.1.1-1 2.62 MiB community/python-pytest-black 0.3.12-5 0.02 MiB 0.01 MiB community/python-pytest-cov 2.12.1-6 0.11 MiB community/python-pytest-flake8 1.0.7-3 0.03 MiB community/python-pytest-mypy 0.9.1-1 0.03 MiB 0.01 MiB community/python-setuptools-scm 6.4.2-1 0.21 MiB Total Download Size: 2.78 MiB Total Installed Size: 31.69 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... mypy-0.941-1-any downloading... python-black-22.1.0-2-any downloading... flake8-1:4.0.1-4-any downloading... python-pytest-mypy-0.9.1-1-any downloading... python-pytest-black-0.3.12-5-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-pyparsing... Optional dependencies for python-pyparsing python-railroad-diagrams: for generating Railroad Diagrams python-jinja: for generating Railroad Diagrams installing python-packaging... installing python-appdirs... installing python-ordered-set... installing python-setuptools... installing python-tomli... installing python-setuptools-scm... installing python-attrs... installing python-iniconfig... installing python-pluggy... installing python-apipkg... installing python-py... installing python-pytest... installing python-pyflakes... installing python-mccabe... installing python-pycodestyle... installing python-entrypoints... installing flake8... installing python-pytest-flake8... installing python-click... installing python-mypy_extensions... installing python-pathspec... installing python-platformdirs... installing python-typing_extensions... installing python-black... Optional dependencies for python-black ipython: for Jupyter notebook support python-tokenize-rt: for Jupyter notebook support python-aiohttp: for the blackd HTTP server python-colorama: for colored diffs installing python-pytest-black... installing python-coverage... Optional dependencies for python-coverage python-tomli: for pyproject.toml support [installed] installing python-pytest-cov... installing python-psutil... installing python-typed-ast... installing mypy... installing python-filelock... installing python-pytest-mypy... [?25h==> Retrieving sources...  -> Found irc-19.0.1.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting irc-19.0.1.tar.gz with bsdtar ==> Starting build()... running build running build_py creating build creating build/lib creating build/lib/irc copying irc/__init__.py -> build/lib/irc copying irc/bot.py -> build/lib/irc copying irc/client.py -> build/lib/irc copying irc/client_aio.py -> build/lib/irc copying irc/connection.py -> build/lib/irc copying irc/ctcp.py -> build/lib/irc copying irc/dict.py -> build/lib/irc copying irc/events.py -> build/lib/irc copying irc/features.py -> build/lib/irc copying irc/message.py -> build/lib/irc copying irc/modes.py -> build/lib/irc copying irc/rfc.py -> build/lib/irc copying irc/schedule.py -> build/lib/irc copying irc/server.py -> build/lib/irc copying irc/strings.py -> build/lib/irc creating build/lib/irc/tests copying irc/tests/__init__.py -> build/lib/irc/tests copying irc/tests/test_bot.py -> build/lib/irc/tests copying irc/tests/test_client.py -> build/lib/irc/tests copying irc/tests/test_client_aio.py -> build/lib/irc/tests running egg_info writing irc.egg-info/PKG-INFO writing dependency_links to irc.egg-info/dependency_links.txt writing requirements to irc.egg-info/requires.txt writing top-level names to irc.egg-info/top_level.txt reading manifest file 'irc.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'irc.egg-info/SOURCES.txt' copying irc/rfc2812.txt -> build/lib/irc ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-7.1.1, pluggy-1.0.0 rootdir: /build/python-irc/src/irc-19.0.1, configfile: pytest.ini plugins: flake8-1.0.7, black-0.3.12, cov-2.12.1, mypy-0.9.1 collected 125 items conftest.py .... [ 3%] docs/conf.py ... [ 5%] irc/__init__.py ... [ 8%] irc/bot.py .... [ 11%] irc/client.py .F..... [ 16%] irc/client_aio.py ... [ 19%] irc/connection.py ... [ 21%] irc/ctcp.py ... [ 24%] irc/dict.py .... [ 27%] irc/events.py ... [ 29%] irc/features.py ...... [ 34%] irc/message.py ..... [ 38%] irc/modes.py ...... [ 43%] irc/rfc.py ... [ 45%] irc/schedule.py ... [ 48%] irc/server.py ... [ 50%] irc/strings.py .... [ 53%] irc/tests/__init__.py ... [ 56%] irc/tests/test_bot.py ................ [ 68%] irc/tests/test_client.py ........ [ 75%] irc/tests/test_client_aio.py .... [ 78%] scripts/dccreceive.py ... [ 80%] scripts/dccsend.py ... [ 83%] scripts/irccat-aio.py ... [ 85%] scripts/irccat.py ... [ 88%] scripts/irccat2-aio.py ... [ 90%] scripts/irccat2.py ... [ 92%] scripts/servermap.py ... [ 95%] scripts/ssl-cat.py ... [ 97%] scripts/testbot.py ... [100%] =================================== FAILURES =================================== ______________________________ Black format check ______________________________ --- /build/python-irc/src/irc-19.0.1/irc/client.py 2022-03-27 15:09:02 +0000 +++ /build/python-irc/src/irc-19.0.1/irc/client.py 2022-03-27 15:15:40.310562 +0000 @@ -246,11 +246,11 @@ def process_data(self): "read and process input from self.socket" try: reader = getattr(self.socket, 'read', self.socket.recv) - new_data = reader(2 ** 14) + new_data = reader(2**14) except socket.error: # The server hung up. self.disconnect("Connection reset by peer") return if not new_data: @@ -1041,11 +1041,11 @@ self, Event("dcc_connect", self.peeraddress, None, None) ) return try: - new_data = self.socket.recv(2 ** 14) + new_data = self.socket.recv(2**14) except socket.error: # The server hung up. self.disconnect("Connection reset by peer") return if not new_data: @@ -1056,11 +1056,11 @@ if self.dcctype == "chat": self.buffer.feed(new_data) chunks = list(self.buffer) - if len(self.buffer) > 2 ** 14: + if len(self.buffer) > 2**14: # Bad peer! Naughty peer! log.info( "Received >16k from a peer without a newline; " "disconnecting." ) self.disconnect() =============================== warnings summary =============================== ../../../../usr/lib/python3.10/site-packages/_pytest/nodes.py:146: 30 warnings /usr/lib/python3.10/site-packages/_pytest/nodes.py:146: PytestDeprecationWarning: is not using a cooperative constructor and only takes {'fspath', 'parent'}. See https://docs.pytest.org/en/stable/deprecations.html#constructors-of-custom-pytest-node-subclasses-should-take-kwargs for more details. warnings.warn( ../../../../usr/lib/python3.10/site-packages/_pytest/nodes.py:672: 30 warnings /usr/lib/python3.10/site-packages/_pytest/nodes.py:672: PytestRemovedIn8Warning: The (fspath: py.path.local) argument to BlackItem is deprecated. Please use the (path: pathlib.Path) argument instead. See https://docs.pytest.org/en/latest/deprecations.html#fspath-argument-for-node-constructors-replaced-with-pathlib-path super().__init__( ../../../../usr/lib/python3.10/site-packages/_pytest/nodes.py:708 /usr/lib/python3.10/site-packages/_pytest/nodes.py:708: PytestWarning: BlackItem is an Item subclass and should not be a collector, however its bases File are collectors. Please split the Collectors and the Item into separate node types. Pytest Doc example: https://docs.pytest.org/en/latest/example/nonpython.html example pull request on a plugin: https://github.com/asmeurer/pytest-flakes/pull/40/ warnings.warn( ../../../../usr/lib/python3.10/site-packages/_pytest/nodes.py:146: 30 warnings /usr/lib/python3.10/site-packages/_pytest/nodes.py:146: PytestDeprecationWarning: is not using a cooperative constructor and only takes {'fspath', 'parent'}. See https://docs.pytest.org/en/stable/deprecations.html#constructors-of-custom-pytest-node-subclasses-should-take-kwargs for more details. warnings.warn( ../../../../usr/lib/python3.10/site-packages/_pytest/nodes.py:672: 30 warnings /usr/lib/python3.10/site-packages/_pytest/nodes.py:672: PytestRemovedIn8Warning: The (fspath: py.path.local) argument to Flake8Item is deprecated. Please use the (path: pathlib.Path) argument instead. See https://docs.pytest.org/en/latest/deprecations.html#fspath-argument-for-node-constructors-replaced-with-pathlib-path super().__init__( ../../../../usr/lib/python3.10/site-packages/_pytest/nodes.py:708 /usr/lib/python3.10/site-packages/_pytest/nodes.py:708: PytestWarning: Flake8Item is an Item subclass and should not be a collector, however its bases File are collectors. Please split the Collectors and the Item into separate node types. Pytest Doc example: https://docs.pytest.org/en/latest/example/nonpython.html example pull request on a plugin: https://github.com/asmeurer/pytest-flakes/pull/40/ warnings.warn( irc/tests/test_bot.py:89 /build/python-irc/src/irc-19.0.1/irc/tests/test_bot.py:89: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def disconnecting_server(): conftest.py: 2 warnings docs/conf.py: 2 warnings irc/__init__.py: 2 warnings irc/bot.py: 2 warnings irc/client.py: 2 warnings irc/client_aio.py: 2 warnings irc/connection.py: 2 warnings irc/ctcp.py: 2 warnings irc/dict.py: 2 warnings irc/events.py: 2 warnings irc/features.py: 2 warnings irc/message.py: 2 warnings irc/modes.py: 2 warnings irc/rfc.py: 2 warnings irc/schedule.py: 2 warnings irc/server.py: 2 warnings irc/strings.py: 2 warnings irc/tests/__init__.py: 2 warnings irc/tests/test_bot.py: 2 warnings irc/tests/test_client.py: 2 warnings irc/tests/test_client_aio.py: 2 warnings scripts/dccreceive.py: 2 warnings scripts/dccsend.py: 2 warnings scripts/irccat-aio.py: 2 warnings scripts/irccat.py: 2 warnings scripts/irccat2-aio.py: 2 warnings scripts/irccat2.py: 2 warnings scripts/servermap.py: 2 warnings scripts/ssl-cat.py: 2 warnings scripts/testbot.py: 2 warnings /usr/lib/python3.10/site-packages/flake8/plugins/manager.py:261: DeprecationWarning: SelectableGroups dict interface is deprecated. Use select. eps = importlib_metadata.entry_points().get(self.namespace, ()) irc/tests/test_client_aio.py::test_privmsg_sends_msg /build/python-irc/src/irc-19.0.1/irc/tests/test_client_aio.py:20: DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ---------- coverage: platform linux, python 3.10.1-final-0 ----------- Name Stmts Miss Cover Missing ------------------------------------------------------------ conftest.py 8 3 62% 8-10 docs/conf.py 3 0 100% irc/__init__.py 9 3 67% 5-6, 12 irc/bot.py 233 88 62% 46, 169-173, 203-204, 211-215, 218-224, 227-236, 254-264, 267-271, 274-280, 283-286, 296-297, 308, 325, 336-346, 349, 353-354, 379, 384, 388, 392, 396, 412, 416, 420, 438-439, 442-443, 457, 472-474, 477, 480, 483, 486, 489, 492, 495, 498, 501-504, 507 irc/client.py 569 222 61% 171, 187-188, 194, 203, 213-215, 232, 239-244, 256-268, 282, 285-286, 290, 292, 302-343, 348, 350, 355-356, 378-379, 400, 404, 408, 426-446, 450-452, 456, 474, 482, 486, 490, 499, 503, 507, 511, 515, 519, 523, 527, 531, 540, 544, 548, 552, 556, 560, 568-569, 587-588, 603, 614, 618, 622, 626, 630, 639, 643, 647, 651, 655, 659, 663, 670, 678-679, 844-846, 850-852, 890-896, 908-911, 924, 928-930, 959-960, 972-983, 995-1006, 1015-1029, 1034-1085, 1093-1095, 1101-1105, 1162, 1174-1176, 1189-1190, 1197-1198, 1202, 1253, 1349 irc/client_aio.py 83 21 75% 78, 81-82, 141, 168, 179-186, 195, 205-214, 278, 295 irc/connection.py 23 1 96% 44 irc/ctcp.py 25 16 36% 18-22, 41-49, 53-70 irc/dict.py 9 0 100% irc/events.py 5 0 100% irc/features.py 51 9 82% 38-39, 49, 54, 57-58, 105-107 irc/message.py 27 2 93% 43-44 irc/modes.py 17 0 100% irc/rfc.py 20 11 45% 5-7, 15-16, 20-21, 25, 29-30, 34 irc/schedule.py 18 2 89% 32, 35 irc/server.py 276 204 26% 72-73, 76, 80, 89-92, 118-125, 131-145, 148-159, 162-185, 188-195, 201-248, 254-263, 269-270, 277-317, 323-347, 354-356, 362-381, 387-401, 407-413, 419-428, 431-443, 462-467, 469, 476, 504-523, 527-540, 544 irc/strings.py 8 1 88% 38 irc/tests/__init__.py 0 0 100% irc/tests/test_bot.py 92 0 100% irc/tests/test_client.py 29 0 100% irc/tests/test_client_aio.py 17 0 100% scripts/dccreceive.py 57 40 30% 25-26, 29-42, 45-48, 51-53, 56, 60-68, 72-81, 85 scripts/dccsend.py 65 46 29% 22-27, 30-42, 45-48, 51-52, 55-60, 63, 66-67, 70-72, 76-85, 89-98, 102 scripts/irccat2-aio.py 52 37 29% 18-19, 22-25, 30, 35-36, 39-47, 51-58, 62-78, 82 scripts/irccat2.py 46 36 22% 16-17, 20-23, 26, 29, 32-37, 41-65, 69 scripts/irccat-aio.py 55 39 29% 21-23, 27, 33-34, 38-43, 47, 51-58, 64-92, 96 scripts/irccat.py 48 33 31% 22-25, 29, 33-34, 38-41, 45, 49-55, 61-76, 80 scripts/servermap.py 75 61 19% 53-55, 59-60, 66, 72-92, 96, 100-112, 116-121, 125-130, 136-156, 160 scripts/ssl-cat.py 47 32 32% 22-25, 29, 33-34, 38-41, 45, 49-54, 60-77, 81 scripts/testbot.py 74 59 20% 35-36, 39, 42, 45, 48-53, 57-58, 61-70, 73-99, 103-123, 127 ------------------------------------------------------------ TOTAL 2041 966 53% ===================================== mypy ===================================== Success: no issues found in 30 source files =========================== short test summary info ============================ FAILED irc/client.py::BLACK =========== 1 failed, 124 passed, 184 warnings in 406.38s (0:06:46) ============ ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix2/build receiving incremental file list python-irc-19.0.1-3-riscv64-build.log python-irc-19.0.1-3-riscv64-check.log sent 62 bytes received 3,931 bytes 2,662.00 bytes/sec total size is 13,923 speedup is 3.49