Skip to content

Change default help arg to `-help` and mention `-h` and `-?` as alter…

Cirrus CI / lint failed Oct 21, 2024 in 1m 50s

Task Summary

Instruction lint failed in 00:39

Details

✅ 00:04 clone
✅ 00:25 merge_base
✅ 00:01 test_runner
✅ 00:06 python
✅ 00:31 unshallow
❌ 00:39 lint

[09:05:49.635] /tmp/cirrus-ci-build
[09:05:49.639] + '[' -n 31118 ']'
[09:05:49.639] + COMMIT_RANGE=HEAD~..HEAD
[09:05:49.644] ++ git rev-list -1 HEAD
[09:05:49.647] ++ git rev-list -1 --merges HEAD
[09:05:49.649] + '[' 0c1f034d22e20aba7da21248ca9e9375a921ec88 '!=' 0c1f034d22e20aba7da21248ca9e9375a921ec88 ']'
[09:05:49.649] + export COMMIT_RANGE
[09:05:49.649] + echo
[09:05:49.649] 
[09:05:49.649] + git log --no-merges --oneline HEAD~..HEAD
[09:05:49.652] 4c25a4533e Change default help arg to `-help` and mention `-h` and `-?` as alternatives
[09:05:49.652] f0130ab1a1 doc: replace `-?` with `-h` for bench_bitcoin help
[09:05:49.652] + echo
[09:05:49.652] 
[09:05:49.652] + test/lint/commit-script-check.sh HEAD~..HEAD
[09:05:49.709] + RUST_BACKTRACE=1
[09:05:49.710] + /lint_test_runner/test_runner
[09:05:49.876] Args used        : 215
[09:05:49.876] Args documented  : 226
[09:05:49.876] Args undocumented: 1
[09:05:49.876] {'-?'}
[09:05:49.876] Args unknown     : 12
[09:05:49.876] {'-includeconf', '-zmqpubhashtxhwm', '-zmqpubhashblockhwm', '-zmqpubrawblock', '-zmqpubhashtx', '-zmqpubrawtx', '-zmqpubsequence', '-zmqpubrawtxhwm', '-testdatadir', '-zmqpubrawblockhwm', '-zmqpubsequencehwm', '-zmqpubhashblock'}
[09:05:49.876] Traceback (most recent call last):
[09:05:49.876]   File "/tmp/cirrus-ci-build/test/lint/check-doc.py", line 66, in <module>
[09:05:49.876]     main()
[09:05:49.876]   File "/tmp/cirrus-ci-build/test/lint/check-doc.py", line 61, in main
[09:05:49.876]     lint_missing_argument_documentation()
[09:05:49.876]   File "/tmp/cirrus-ci-build/test/lint/check-doc.py", line 45, in lint_missing_argument_documentation
[09:05:49.877]     assert 0 == len(args_need_doc), "Please document the following arguments: {}".format(args_need_doc)
[09:05:49.877] AssertionError: Please document the following arguments: {'-?'}
[09:05:49.893] 
[09:05:49.893] ^---- ⚠️ Failure generated from lint check 'doc'!
[09:05:49.893] Check that all command line arguments are documented.
[09:05:53.946] All checks passed!
[09:05:54.168] src/crc32c in HEAD currently refers to tree 454691a9b89ee8b9e1f71a48a7398edba49c3805
[09:05:54.170] src/crc32c in HEAD was last updated in commit 5d45552fd4303f8d668ffbc50cce1053485aeead (tree 454691a9b89ee8b9e1f71a48a7398edba49c3805)
[09:05:54.170] GOOD
[09:05:54.664] src/crypto/ctaes in HEAD currently refers to tree 1b6c31139a71f80245c09597c343936a8e41d021
[09:05:54.666] src/crypto/ctaes in HEAD was last updated in commit 8501bedd7508ac514385806e191aec21ee978891 (tree 1b6c31139a71f80245c09597c343936a8e41d021)
[09:05:54.666] GOOD
[09:05:54.795] src/leveldb in HEAD currently refers to tree cb176f0f0a9a93bcef89bdd70424cae01ad21629
[09:05:54.795] src/leveldb in HEAD was last updated in commit a37778d4d32b4ddeff96f68a130dc8da3a84b278 (tree cb176f0f0a9a93bcef89bdd70424cae01ad21629)
[09:05:54.795] GOOD
[09:05:54.868] src/minisketch in HEAD currently refers to tree 85cb93120ae68ef1f6fa597da30e18298848e0e9
[09:05:54.870] src/minisketch in HEAD was last updated in commit cb59af38e72ab189b052ec84e2d1027473235ba4 (tree 85cb93120ae68ef1f6fa597da30e18298848e0e9)
[09:05:54.870] GOOD
[09:05:54.928] src/secp256k1 in HEAD currently refers to tree 8664fa7a12899d879cab995b49d9457b22accf9d
[09:05:54.936] src/secp256k1 in HEAD was last updated in commit 611562806cf3fd3028e24e6c5a8e8dcb8805be38 (tree 8664fa7a12899d879cab995b49d9457b22accf9d)
[09:05:54.936] GOOD
[09:06:07.543] Success: no issues found in 301 source files
[09:06:17.234] src/cluster_linearize.h:674: Unusued ==> Unused
[09:06:17.234] src/ipc/protocol.h:57: neccessary ==> necessary
[09:06:17.234] src/pow.cpp:138: signficant ==> significant
[09:06:17.234] ^ Warning: codespell identified likely spelling errors. Any false positives? Add them to the list of ignored words in test/lint/spelling.ignore-words.txt
����