Skip to content

Bech32 decoding logic

Cirrus CI / lint failed Feb 23, 2025 in 1m 47s

Task Summary

Instruction lint failed in 00:47

Details

✅ 00:03 clone
✅ 00:12 merge_base
✅ 00:01 test_runner
✅ 00:05 python
✅ 00:33 unshallow
❌ 00:47 lint

[08:57:08.357] [notice] To update, run: pip install --upgrade pip
[08:57:09.444] /tmp/cirrus-ci-build
[08:57:09.447] + '[' -n 27260 ']'
[08:57:09.447] + export COMMIT_RANGE=HEAD~..HEAD
[08:57:09.447] + COMMIT_RANGE=HEAD~..HEAD
[08:57:09.447] ++ git rev-list -1 HEAD
[08:57:09.450] ++ git rev-list -1 --merges HEAD
[08:57:09.452] + '[' 12fd597aeb26dad85dbcea4f560aa92f074f48d0 '!=' 12fd597aeb26dad85dbcea4f560aa92f074f48d0 ']'
[08:57:09.452] + RUST_BACKTRACE=1
[08:57:09.452] + /lint_test_runner/test_runner
[08:57:09.458] Checking commit range (HEAD~..HEAD):
[08:57:09.458] 1bed97a784 Bech32 decoding logic
[08:57:09.458] 6e7cf4c583 Base58 decoding logic + bech32 decoding network awareness
[08:57:09.458] 3fda88d78e Include Base58 encoded prefixes in chainparams
[08:57:09.458] 8f9629bddd Added chaintype user-facing string display
[08:57:09.458] 
[08:57:09.747] Args used        : 215
[08:57:09.747] Args documented  : 227
[08:57:09.747] Args undocumented: 0
[08:57:09.747] set()
[08:57:09.747] Args unknown     : 12
[08:57:09.747] {'-includeconf', '-testdatadir', '-zmqpubhashtx', '-zmqpubhashblockhwm', '-zmqpubhashblock', '-zmqpubrawtx', '-zmqpubrawtxhwm', '-zmqpubhashtxhwm', '-zmqpubrawblockhwm', '-zmqpubsequence', '-zmqpubrawblock', '-zmqpubsequencehwm'}
[08:57:15.984] All checks passed!
[08:57:16.300] src/crc32c in HEAD currently refers to tree 454691a9b89ee8b9e1f71a48a7398edba49c3805
[08:57:16.302] src/crc32c in HEAD was last updated in commit 5d45552fd4303f8d668ffbc50cce1053485aeead (tree 454691a9b89ee8b9e1f71a48a7398edba49c3805)
[08:57:16.302] GOOD
[08:57:16.789] src/crypto/ctaes in HEAD currently refers to tree 1b6c31139a71f80245c09597c343936a8e41d021
[08:57:16.791] src/crypto/ctaes in HEAD was last updated in commit 8501bedd7508ac514385806e191aec21ee978891 (tree 1b6c31139a71f80245c09597c343936a8e41d021)
[08:57:16.791] GOOD
[08:57:16.844] src/leveldb in HEAD currently refers to tree 2028d572e583eb7e45ffb378a57b8e096c1a3687
[08:57:16.846] src/leveldb in HEAD was last updated in commit d336b7ab85dd2b4f049f2f6fe176ffdd2621215e (tree 2028d572e583eb7e45ffb378a57b8e096c1a3687)
[08:57:16.846] GOOD
[08:57:16.904] src/minisketch in HEAD currently refers to tree 85cb93120ae68ef1f6fa597da30e18298848e0e9
[08:57:16.907] src/minisketch in HEAD was last updated in commit cb59af38e72ab189b052ec84e2d1027473235ba4 (tree 85cb93120ae68ef1f6fa597da30e18298848e0e9)
[08:57:16.907] GOOD
[08:57:16.940] src/secp256k1 in HEAD currently refers to tree a6dd5562b35bdbf5f959a18a8af51d526527b9b1
[08:57:16.942] src/secp256k1 in HEAD was last updated in commit 2d46a89386d34d72edf93a24b67e44b82fe6e390 (tree a6dd5562b35bdbf5f959a18a8af51d526527b9b1)
[08:57:16.942] GOOD
[08:57:17.162] src/key_io.cpp:98:    
[08:57:17.162] src/key_io.cpp:127:            const std::vector<std::string_view>& script_prefixes = params.Base58EncodedPrefix(CChainParams::SCRIPT_ADDRESS);   
[08:57:17.415] ^^^
[08:57:17.415] Trailing whitespace (including Windows line endings [CR LF]) is problematic, because git may warn
[08:57:17.415] about it, or editors may remove it by default, forcing developers in the future to either undo the
[08:57:17.415] changes manually or spend time on review.
[08:57:17.415] 
[08:57:17.415] Thus, it is best to remove the trailing space now.
[08:57:17.415] 
[08:57:17.415] Please add any false positives, such as subtrees, Windows-related files, patch files, or externally
[08:57:17.415] sourced files to the exclude list.
[08:57:17.415] ^---- ⚠️ Failure generated from lint check 'trailing_whitespace' (Check for trailing whitespace)!
[08:57:17.415] 
[08:57:17.415] 
[08:57:29.185] Success: no issues found in 305 source files
[08:57:39.734] contrib/devtools/deterministic-fuzz-coverage/src/main.rs:168: determinstic ==> deterministic
[08:57:39.734] ^ Warning: codespell identified likely spelling errors. Any false positives? Add them to the list of ignored words in test/lint/spelling.ignore-words.txt
����