Skip to content

preserve llvm profile env

Cirrus CI / lint failed Apr 3, 2025 in 1m 12s

Task Summary

Instruction lint failed in 00:31

Details

✅ 00:03 clone
✅ 00:01 merge_base
✅ 00:34 unshallow
❌ 00:31 lint

[06:50:01.861] Args used        : 215
[06:50:01.861] Args documented  : 227
[06:50:01.861] Args undocumented: 0
[06:50:01.861] set()
[06:50:01.861] Args unknown     : 12
[06:50:01.861] {'-zmqpubsequence', '-zmqpubrawtx', '-includeconf', '-zmqpubsequencehwm', '-zmqpubhashtx', '-zmqpubrawtxhwm', '-zmqpubhashblockhwm', '-zmqpubrawblockhwm', '-zmqpubrawblock', '-zmqpubhashtxhwm', '-testdatadir', '-zmqpubhashblock'}
[06:50:08.651] test/fuzz/test_runner.py:33:72: W291 [*] Trailing whitespace
[06:50:08.651]    |
[06:50:08.651] 31 |     # Preserve LLVM_PROFILE_FILE if set
[06:50:08.651] 32 |     if 'LLVM_PROFILE_FILE' in os.environ:
[06:50:08.651] 33 |         fuzz_env['LLVM_PROFILE_FILE'] = os.environ['LLVM_PROFILE_FILE']    
[06:50:08.651]    |                                                                        ^^^^ W291
[06:50:08.651] 34 |     if platform.system() == "Windows":
[06:50:08.651] 35 |         # On Windows, `env` option must include valid `SystemRoot`.
[06:50:08.651]    |
[06:50:08.651]    = help: Remove trailing whitespace
[06:50:08.651] 
[06:50:08.651] Found 1 error.
[06:50:08.651] [*] 1 fixable with the `--fix` option.
[06:50:08.653] ^^^
[06:50:08.653] `ruff` found errors!
[06:50:08.653] ^---- ⚠️ Failure generated from lint check 'py_lint' (Lint Python code)!
[06:50:08.653] 
[06:50:08.653] 
[06:50:09.000] src/crc32c in HEAD currently refers to tree 454691a9b89ee8b9e1f71a48a7398edba49c3805
[06:50:09.003] src/crc32c in HEAD was last updated in commit 5d45552fd4303f8d668ffbc50cce1053485aeead (tree 454691a9b89ee8b9e1f71a48a7398edba49c3805)
[06:50:09.003] GOOD
[06:50:09.503] src/crypto/ctaes in HEAD currently refers to tree 1b6c31139a71f80245c09597c343936a8e41d021
[06:50:09.506] src/crypto/ctaes in HEAD was last updated in commit 8501bedd7508ac514385806e191aec21ee978891 (tree 1b6c31139a71f80245c09597c343936a8e41d021)
[06:50:09.506] GOOD
[06:50:09.538] src/leveldb in HEAD currently refers to tree 5cc97a9cb91c01ec5fc38e2588ef4b315efdbb48
[06:50:09.540] src/leveldb in HEAD was last updated in commit a130bbd154d535b80fe9f602a13bf2e322817881 (tree 5cc97a9cb91c01ec5fc38e2588ef4b315efdbb48)
[06:50:09.540] GOOD
[06:50:09.596] src/minisketch in HEAD currently refers to tree 87710f57550ac964d39e1245baa179f0800586e6
[06:50:09.598] src/minisketch in HEAD was last updated in commit f5d8b66a8cf23f9ccc51fb9702943c8a5f755f43 (tree 87710f57550ac964d39e1245baa179f0800586e6)
[06:50:09.598] GOOD
[06:50:09.639] src/secp256k1 in HEAD currently refers to tree a6dd5562b35bdbf5f959a18a8af51d526527b9b1
[06:50:09.642] src/secp256k1 in HEAD was last updated in commit 2d46a89386d34d72edf93a24b67e44b82fe6e390 (tree a6dd5562b35bdbf5f959a18a8af51d526527b9b1)
[06:50:09.642] GOOD
[06:50:10.046] test/fuzz/test_runner.py:33:        fuzz_env['LLVM_PROFILE_FILE'] = os.environ['LLVM_PROFILE_FILE']    
[06:50:10.048] ^^^
[06:50:10.048] Trailing whitespace (including Windows line endings [CR LF]) is problematic, because git may warn
[06:50:10.048] about it, or editors may remove it by default, forcing developers in the future to either undo the
[06:50:10.048] changes manually or spend time on review.
[06:50:10.048] 
[06:50:10.048] Thus, it is best to remove the trailing space now.
[06:50:10.048] 
[06:50:10.048] Please add any false positives, such as subtrees, Windows-related files, patch files, or externally
[06:50:10.048] sourced files to the exclude list.
[06:50:10.048] ^---- ⚠️ Failure generated from lint check 'trailing_whitespace' (Check for trailing whitespace)!
[06:50:10.048] 
[06:50:10.048] 
[06:50:12.656] test/functional/mining_basic.py:107: inteference ==> interference
[06:50:12.656] ^ Warning: codespell identified likely spelling errors. Any false positives? Add them to the list of ignored words in test/lint/spelling.ignore-words.txt
[06:50:27.921] Success: no issues found in 306 source files
��������