Skip to content

util: Abort on failing CHECK_NONFATAL in debug builds

Cirrus CI / lint failed Jul 24, 2025 in 1m 1s

Task Summary

Instruction lint failed in 00:25

Details

✅ 00:02 clone
✅ 00:01 merge_base
✅ 00:30 unshallow
❌ 00:25 lint

[10:59:35.277] 
[10:59:35.561] Args used        : 205
[10:59:35.561] Args documented  : 217
[10:59:35.561] Args undocumented: 0
[10:59:35.561] set()
[10:59:35.561] Args unknown     : 12
[10:59:35.561] {'-zmqpubrawblockhwm', '-zmqpubrawblock', '-testdatadir', '-zmqpubhashblock', '-zmqpubrawtxhwm', '-zmqpubsequencehwm', '-zmqpubrawtx', '-includeconf', '-zmqpubhashblockhwm', '-zmqpubsequence', '-zmqpubhashtx', '-zmqpubhashtxhwm'}
[10:59:39.200] test/functional/rpc_misc.py:19:8: F401 [*] `platform` imported but unused
[10:59:39.200]    |
[10:59:39.200] 18 | import http
[10:59:39.200] 19 | import platform
[10:59:39.200]    |        ^^^^^^^^ F401
[10:59:39.200]    |
[10:59:39.200]    = help: Remove unused import: `platform`
[10:59:39.200] 
[10:59:39.200] test/functional/rpc_misc.py:35:83: F841 [*] Local variable `e` is assigned to but never used
[10:59:39.200]    |
[10:59:39.200] 33 |             node.echo(arg9="trigger_internal_bug")
[10:59:39.200] 34 |             assert False  # Must hit one of the exceptions below
[10:59:39.200] 35 |         except (http.client.CannotSendRequest, http.client.RemoteDisconnected) as e:
[10:59:39.200]    |                                                                                   ^ F841
[10:59:39.200] 36 |             self.log.info("Restart node after crash")
[10:59:39.200] 37 |             node.wait_until_stopped(
[10:59:39.200]    |
[10:59:39.200]    = help: Remove assignment to unused variable `e`
[10:59:39.200] 
[10:59:39.200] Found 2 errors.
[10:59:39.200] [*] 2 fixable with the `--fix` option.
[10:59:39.202] ^^^
[10:59:39.202] `ruff` found errors!
[10:59:39.202] ^---- ⚠️ Failure generated from lint check 'py_lint' (Lint Python code)!
[10:59:39.202] 
[10:59:39.202] 
[10:59:39.506] src/crc32c in HEAD currently refers to tree 454691a9b89ee8b9e1f71a48a7398edba49c3805
[10:59:39.508] src/crc32c in HEAD was last updated in commit 5d45552fd4303f8d668ffbc50cce1053485aeead (tree 454691a9b89ee8b9e1f71a48a7398edba49c3805)
[10:59:39.508] GOOD
[10:59:39.966] src/crypto/ctaes in HEAD currently refers to tree 1b6c31139a71f80245c09597c343936a8e41d021
[10:59:39.968] src/crypto/ctaes in HEAD was last updated in commit 8501bedd7508ac514385806e191aec21ee978891 (tree 1b6c31139a71f80245c09597c343936a8e41d021)
[10:59:39.968] GOOD
[10:59:39.990] src/ipc/libmultiprocess in HEAD currently refers to tree 918b3c8915a1163c2f7aba7df2ddddd8d295f037
[10:59:39.992] src/ipc/libmultiprocess in HEAD was last updated in commit 154af1eea1170f5626aa1c5f19cc77d1434bcc9d (tree 918b3c8915a1163c2f7aba7df2ddddd8d295f037)
[10:59:39.992] GOOD
[10:59:40.008] src/leveldb in HEAD currently refers to tree d14157fb2064132c65fef31feb2aba21d0aff025
[10:59:40.010] src/leveldb in HEAD was last updated in commit 240a4fb95d5b843826081807019cd405aa654e2b (tree d14157fb2064132c65fef31feb2aba21d0aff025)
[10:59:40.010] GOOD
[10:59:40.046] src/minisketch in HEAD currently refers to tree a79ef74c72212ddba7435e63769685157782ed6a
[10:59:40.048] src/minisketch in HEAD was last updated in commit bf25a0918f94524bda8e8fb7505d68a772e88b45 (tree a79ef74c72212ddba7435e63769685157782ed6a)
[10:59:40.048] GOOD
[10:59:40.064] src/secp256k1 in HEAD currently refers to tree 3f467adddb01e5dcfe47d10314822f004f471647
[10:59:40.066] src/secp256k1 in HEAD was last updated in commit 5600e6fc4bb4f8e82adc58fc676ec44730e3cec4 (tree 3f467adddb01e5dcfe47d10314822f004f471647)
[10:59:40.066] GOOD
[10:59:47.776] src/node/txorphanage.cpp:54: tranaction ==> transaction
[10:59:47.776] src/node/txorphanage.cpp:198: tranactions ==> transactions
[10:59:47.776] ^ Warning: codespell identified likely spelling errors. Any false positives? Add them to the list of ignored words in test/lint/spelling.ignore-words.txt
[10:59:55.504] Success: no issues found in 299 source files
����