Cirrus CI / lint
failed
Apr 18, 2025 in 1m 2s
Task Summary
Instruction lint failed in 00:26
Details
✅ 00:03 clone
✅ 00:01 merge_base
✅ 00:29 unshallow
❌ 00:26 lint
[16:40:11.485] ++ git rev-list -1 HEAD
[16:40:11.487] ++ git rev-list -1 --merges HEAD
[16:40:11.489] + '[' 6f2f82066f455d0e2f584bcd4e247e152aefc4a1 '!=' 6f2f82066f455d0e2f584bcd4e247e152aefc4a1 ']'
[16:40:11.489] + RUST_BACKTRACE=1
[16:40:11.489] + cargo run --manifest-path ./test/lint/test_runner/Cargo.toml
[16:40:11.582] Compiling test_runner v0.1.0 (/tmp/cirrus-ci-build/test/lint/test_runner)
[16:40:12.521] Finished dev [unoptimized + debuginfo] target(s) in 1.02s
[16:40:12.521] Running `test/lint/test_runner/target/debug/test_runner`
[16:40:12.527] Checking commit range (HEAD~..HEAD):
[16:40:12.527] d8caa42060 test: test MAX_SCRIPT_SIZE for block validity
[16:40:12.527]
[16:40:12.853] Args used : 215
[16:40:12.853] Args documented : 227
[16:40:12.853] Args undocumented: 0
[16:40:12.853] set()
[16:40:12.853] Args unknown : 12
[16:40:12.853] {'-zmqpubsequencehwm', '-testdatadir', '-zmqpubhashtxhwm', '-zmqpubhashtx', '-zmqpubrawblockhwm', '-zmqpubhashblockhwm', '-zmqpubsequence', '-zmqpubrawtx', '-zmqpubrawtxhwm', '-includeconf', '-zmqpubrawblock', '-zmqpubhashblock'}
[16:40:17.215] test/functional/feature_block.py:34:5: F401 [*] `test_framework.script.OP_1` imported but unused
[16:40:17.215] |
[16:40:17.215] 32 | MAX_SCRIPT_ELEMENT_SIZE,
[16:40:17.215] 33 | MAX_SCRIPT_SIZE,
[16:40:17.215] 34 | OP_1,
[16:40:17.215] | ^^^^ F401
[16:40:17.215] 35 | OP_2DUP,
[16:40:17.215] 36 | OP_CHECKMULTISIG,
[16:40:17.215] |
[16:40:17.215] = help: Remove unused import: `test_framework.script.OP_1`
[16:40:17.215]
[16:40:17.215] Found 1 error.
[16:40:17.215] [*] 1 fixable with the `--fix` option.
[16:40:17.217] ^^^
[16:40:17.217] `ruff` found errors!
[16:40:17.217] ^---- ⚠️ Failure generated from lint check 'py_lint' (Lint Python code)!
[16:40:17.217]
[16:40:17.217]
[16:40:17.518] src/crc32c in HEAD currently refers to tree 454691a9b89ee8b9e1f71a48a7398edba49c3805
[16:40:17.520] src/crc32c in HEAD was last updated in commit 5d45552fd4303f8d668ffbc50cce1053485aeead (tree 454691a9b89ee8b9e1f71a48a7398edba49c3805)
[16:40:17.520] GOOD
[16:40:17.958] src/crypto/ctaes in HEAD currently refers to tree 1b6c31139a71f80245c09597c343936a8e41d021
[16:40:17.960] src/crypto/ctaes in HEAD was last updated in commit 8501bedd7508ac514385806e191aec21ee978891 (tree 1b6c31139a71f80245c09597c343936a8e41d021)
[16:40:17.960] GOOD
[16:40:17.979] src/leveldb in HEAD currently refers to tree 5cc97a9cb91c01ec5fc38e2588ef4b315efdbb48
[16:40:17.981] src/leveldb in HEAD was last updated in commit a130bbd154d535b80fe9f602a13bf2e322817881 (tree 5cc97a9cb91c01ec5fc38e2588ef4b315efdbb48)
[16:40:17.981] GOOD
[16:40:18.030] src/minisketch in HEAD currently refers to tree 87710f57550ac964d39e1245baa179f0800586e6
[16:40:18.040] src/minisketch in HEAD was last updated in commit f5d8b66a8cf23f9ccc51fb9702943c8a5f755f43 (tree 87710f57550ac964d39e1245baa179f0800586e6)
[16:40:18.040] GOOD
[16:40:18.075] src/secp256k1 in HEAD currently refers to tree a6dd5562b35bdbf5f959a18a8af51d526527b9b1
[16:40:18.077] src/secp256k1 in HEAD was last updated in commit 2d46a89386d34d72edf93a24b67e44b82fe6e390 (tree a6dd5562b35bdbf5f959a18a8af51d526527b9b1)
[16:40:18.077] GOOD
[16:40:20.702] doc/zmq.md:128: mesage ==> message
[16:40:20.702] src/test/fuzz/p2p_headers_presync.cpp:37: gloabl ==> global
[16:40:20.702] test/functional/mining_basic.py:107: inteference ==> interference
[16:40:20.702] ^ 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:40:33.147] Success: no issues found in 306 source files
����
Loading