Cirrus CI / lint
failed
May 7, 2025 in 1m 9s
Task Summary
Instruction lint failed in 00:30
Details
✅ 00:03 clone
✅ 00:01 merge_base
✅ 00:31 unshallow
❌ 00:30 lint
[16:26:12.197] Compiling test_runner v0.1.0 (/tmp/cirrus-ci-build/test/lint/test_runner)
[16:26:13.839] Finished dev [unoptimized + debuginfo] target(s) in 1.76s
[16:26:13.840] Running `test/lint/test_runner/target/debug/test_runner`
[16:26:13.856] Checking commit range (HEAD~..HEAD):
[16:26:13.856] ee337033bf test: remove bdb assert in tool_wallet.py
[16:26:13.856]
[16:26:14.374] Args used : 209
[16:26:14.374] Args documented : 221
[16:26:14.374] Args undocumented: 0
[16:26:14.374] set()
[16:26:14.374] Args unknown : 12
[16:26:14.374] {'-includeconf', '-zmqpubrawblockhwm', '-zmqpubrawblock', '-testdatadir', '-zmqpubsequence', '-zmqpubhashtxhwm', '-zmqpubrawtx', '-zmqpubsequencehwm', '-zmqpubhashblock', '-zmqpubhashblockhwm', '-zmqpubrawtxhwm', '-zmqpubhashtx'}
[16:26:18.574] test/functional/tool_wallet.py:148:9: F841 Local variable `rt_dump_data` is assigned to but never used
[16:26:18.574] |
[16:26:18.574] 146 | self.assert_tool_output("The dumpfile may contain private keys. To ensure the safety of your Bitcoin, do not share the dumpfile.\n", '-wallet={}'.format(wallet_name), '-dumpfile={}'.format(rt_dumppath), 'dump')
[16:26:18.574] 147 |
[16:26:18.574] 148 | rt_dump_data = self.read_dump(rt_dumppath)
[16:26:18.574] | ^^^^^^^^^^^^ F841
[16:26:18.574] 149 | wallet_dat = self.nodes[0].wallets_path / wallet_name / "wallet.dat"
[16:26:18.574] 150 | self.assert_is_sqlite(wallet_dat)
[16:26:18.574] |
[16:26:18.574] = help: Remove assignment to unused variable `rt_dump_data`
[16:26:18.574]
[16:26:18.574] Found 1 error.
[16:26:18.574] No fixes available (1 hidden fix can be enabled with the `--unsafe-fixes` option).
[16:26:18.579] ^^^
[16:26:18.580] `ruff` found errors!
[16:26:18.580] ^---- ⚠️ Failure generated from lint check 'py_lint' (Lint Python code)!
[16:26:18.580]
[16:26:18.580]
[16:26:18.895] src/crc32c in HEAD currently refers to tree 454691a9b89ee8b9e1f71a48a7398edba49c3805
[16:26:18.898] src/crc32c in HEAD was last updated in commit 5d45552fd4303f8d668ffbc50cce1053485aeead (tree 454691a9b89ee8b9e1f71a48a7398edba49c3805)
[16:26:18.899] GOOD
[16:26:19.446] src/crypto/ctaes in HEAD currently refers to tree 1b6c31139a71f80245c09597c343936a8e41d021
[16:26:19.450] src/crypto/ctaes in HEAD was last updated in commit 8501bedd7508ac514385806e191aec21ee978891 (tree 1b6c31139a71f80245c09597c343936a8e41d021)
[16:26:19.450] GOOD
[16:26:19.483] src/leveldb in HEAD currently refers to tree 5cc97a9cb91c01ec5fc38e2588ef4b315efdbb48
[16:26:19.485] src/leveldb in HEAD was last updated in commit a130bbd154d535b80fe9f602a13bf2e322817881 (tree 5cc97a9cb91c01ec5fc38e2588ef4b315efdbb48)
[16:26:19.485] GOOD
[16:26:19.544] src/minisketch in HEAD currently refers to tree 87710f57550ac964d39e1245baa179f0800586e6
[16:26:19.546] src/minisketch in HEAD was last updated in commit f5d8b66a8cf23f9ccc51fb9702943c8a5f755f43 (tree 87710f57550ac964d39e1245baa179f0800586e6)
[16:26:19.546] GOOD
[16:26:19.588] src/secp256k1 in HEAD currently refers to tree a6dd5562b35bdbf5f959a18a8af51d526527b9b1
[16:26:19.598] src/secp256k1 in HEAD was last updated in commit 2d46a89386d34d72edf93a24b67e44b82fe6e390 (tree a6dd5562b35bdbf5f959a18a8af51d526527b9b1)
[16:26:19.598] GOOD
[16:26:27.059] doc/release-notes-27826.md:1: Additionaly ==> Additionally
[16:26:27.059] doc/zmq.md:128: mesage ==> message
[16:26:27.059] src/common/netif.cpp:307: addreses ==> addresses
[16:26:27.059] src/test/fuzz/p2p_headers_presync.cpp:37: gloabl ==> global
[16:26:27.059] test/functional/data/rpc_psbt.json:83: ot ==> to, of, or, not
[16:26:27.059] test/functional/data/rpc_psbt.json:87: ot ==> to, of, or, not
[16:26:27.059] test/functional/data/rpc_psbt.json:91: ot ==> to, of, or, not
[16:26:27.059] test/functional/mining_basic.py:107: inteference ==> interference
[16:26:27.059] ^ Warning: codespell identified likely spelling errors. Any false positives? Add them to the list of ignored words in test/lint/spelling.ignore-words.txt
[16:26:35.568] Success: no issues found in 296 source files
����
Loading