Cirrus CI / lint
failed
Nov 30, 2024 in 1m 24s
Task Summary
Instruction lint failed in 00:33
Details
✅ 00:02 clone
✅ 00:10 merge_base
✅ 00:01 test_runner
✅ 00:05 python
✅ 00:29 unshallow
❌ 00:33 lint
[22:35:54.452] + '[' 4b235780b43fc3dcf1ce19e0ebb7bc1ddb10fb7c '!=' 4b235780b43fc3dcf1ce19e0ebb7bc1ddb10fb7c ']'
[22:35:54.452] + export COMMIT_RANGE
[22:35:54.452] + echo
[22:35:54.452]
[22:35:54.452] + git log --no-merges --oneline HEAD~..HEAD
[22:35:54.455] e8ead38f88 doc: add release notes
[22:35:54.455] 32ced99020 init: fail to start when `-blockmaxweight` exceeds `MAX_BLOCK_WEIGHT`
[22:35:54.455] fbdf30893d test: add `-blockmaxweight` startup option functional test
[22:35:54.455] 77c3e22021 miner: bugfix: remove duplicate space reservation for coinbase tx
[22:35:54.455] + echo
[22:35:54.455]
[22:35:54.455] + test/lint/commit-script-check.sh HEAD~..HEAD
[22:35:54.502] + RUST_BACKTRACE=1
[22:35:54.502] + /lint_test_runner/test_runner
[22:35:54.824] Args used : 214
[22:35:54.824] Args documented : 226
[22:35:54.824] Args undocumented: 0
[22:35:54.824] set()
[22:35:54.824] Args unknown : 12
[22:35:54.824] {'-zmqpubhashtx', '-includeconf', '-zmqpubrawtxhwm', '-zmqpubsequence', '-zmqpubrawblock', '-testdatadir', '-zmqpubhashblock', '-zmqpubrawtx', '-zmqpubsequencehwm', '-zmqpubhashtxhwm', '-zmqpubrawblockhwm', '-zmqpubhashblockhwm'}
[22:35:59.201] test/functional/mining_basic.py:31:38: F401 [*] `test_framework.test_node.ErrorMatch` imported but unused
[22:35:59.201] |
[22:35:59.201] 29 | )
[22:35:59.201] 30 | from test_framework.p2p import P2PDataStore
[22:35:59.201] 31 | from test_framework.test_node import ErrorMatch
[22:35:59.201] | ^^^^^^^^^^ F401
[22:35:59.201] 32 | from test_framework.test_framework import BitcoinTestFramework
[22:35:59.201] 33 | from test_framework.util import (
[22:35:59.201] |
[22:35:59.201] = help: Remove unused import: `test_framework.test_node.ErrorMatch`
[22:35:59.201]
[22:35:59.201] Found 1 error.
[22:35:59.201] [*] 1 fixable with the `--fix` option.
[22:35:59.203] `ruff` found errors!
[22:35:59.203] ^---- ⚠️ Failure generated from lint check 'py_lint'!
[22:35:59.203] Lint Python code
[22:35:59.417] src/crc32c in HEAD currently refers to tree 454691a9b89ee8b9e1f71a48a7398edba49c3805
[22:35:59.419] src/crc32c in HEAD was last updated in commit 5d45552fd4303f8d668ffbc50cce1053485aeead (tree 454691a9b89ee8b9e1f71a48a7398edba49c3805)
[22:35:59.419] GOOD
[22:35:59.845] src/crypto/ctaes in HEAD currently refers to tree 1b6c31139a71f80245c09597c343936a8e41d021
[22:35:59.847] src/crypto/ctaes in HEAD was last updated in commit 8501bedd7508ac514385806e191aec21ee978891 (tree 1b6c31139a71f80245c09597c343936a8e41d021)
[22:35:59.847] GOOD
[22:35:59.964] src/leveldb in HEAD currently refers to tree cb176f0f0a9a93bcef89bdd70424cae01ad21629
[22:35:59.966] src/leveldb in HEAD was last updated in commit a37778d4d32b4ddeff96f68a130dc8da3a84b278 (tree cb176f0f0a9a93bcef89bdd70424cae01ad21629)
[22:35:59.966] GOOD
[22:36:00.011] src/minisketch in HEAD currently refers to tree 85cb93120ae68ef1f6fa597da30e18298848e0e9
[22:36:00.013] src/minisketch in HEAD was last updated in commit cb59af38e72ab189b052ec84e2d1027473235ba4 (tree 85cb93120ae68ef1f6fa597da30e18298848e0e9)
[22:36:00.013] GOOD
[22:36:00.030] src/secp256k1 in HEAD currently refers to tree a6dd5562b35bdbf5f959a18a8af51d526527b9b1
[22:36:00.033] src/secp256k1 in HEAD was last updated in commit 2d46a89386d34d72edf93a24b67e44b82fe6e390 (tree a6dd5562b35bdbf5f959a18a8af51d526527b9b1)
[22:36:00.033] GOOD
[22:36:03.959] src/txmempool.cpp:445: tranaction ==> transaction
[22:36:03.959] src/txmempool.h:813: transacion ==> transaction
[22:36:03.959] ^ Warning: codespell identified likely spelling errors. Any false positives? Add them to the list of ignored words in test/lint/spelling.ignore-words.txt
[22:36:16.910] Success: no issues found in 303 source files
����
Loading