Skip to content

ci: Supply `--platform` argument to `docker` commands.

Cirrus CI / lint failed Jan 16, 2025 in 2m 16s

Task Summary

Instruction lint failed in 00:52

Details

✅ 00:05 clone
✅ 00:29 merge_base
✅ 00:01 test_runner
✅ 00:09 python
✅ 00:34 unshallow
❌ 00:52 lint

[23:59:42.870] ++ git rev-list -1 HEAD
[23:59:42.886] ++ git rev-list -1 --merges HEAD
[23:59:42.894] + '[' f9290ac955f53d4fcdccc49100d15fa1d1944cbe '!=' f9290ac955f53d4fcdccc49100d15fa1d1944cbe ']'
[23:59:42.894] + export COMMIT_RANGE
[23:59:42.894] + echo
[23:59:42.894] 
[23:59:42.894] + git log --no-merges --oneline HEAD~..HEAD
[23:59:42.902] bc2d8434b5 ci: Supply `--platform` argument to `docker` commands.
[23:59:42.902] + echo
[23:59:42.902] 
[23:59:42.902] + test/lint/commit-script-check.sh HEAD~..HEAD
[23:59:43.053] + RUST_BACKTRACE=1
[23:59:43.054] + /lint_test_runner/test_runner
[23:59:44.052] Args used        : 214
[23:59:44.052] Args documented  : 226
[23:59:44.052] Args undocumented: 0
[23:59:44.052] set()
[23:59:44.052] Args unknown     : 12
[23:59:44.052] {'-zmqpubrawblockhwm', '-zmqpubrawblock', '-zmqpubhashtx', '-zmqpubhashblock', '-zmqpubrawtxhwm', '-includeconf', '-zmqpubsequence', '-zmqpubsequencehwm', '-zmqpubhashblockhwm', '-zmqpubhashtxhwm', '-zmqpubrawtx', '-testdatadir'}
[23:59:49.087] All checks passed!
[23:59:49.666] src/crc32c in HEAD currently refers to tree 454691a9b89ee8b9e1f71a48a7398edba49c3805
[23:59:49.671] src/crc32c in HEAD was last updated in commit 5d45552fd4303f8d668ffbc50cce1053485aeead (tree 454691a9b89ee8b9e1f71a48a7398edba49c3805)
[23:59:49.671] GOOD
[23:59:50.272] src/crypto/ctaes in HEAD currently refers to tree 1b6c31139a71f80245c09597c343936a8e41d021
[23:59:50.280] src/crypto/ctaes in HEAD was last updated in commit 8501bedd7508ac514385806e191aec21ee978891 (tree 1b6c31139a71f80245c09597c343936a8e41d021)
[23:59:50.280] GOOD
[23:59:50.547] src/leveldb in HEAD currently refers to tree cb176f0f0a9a93bcef89bdd70424cae01ad21629
[23:59:50.557] src/leveldb in HEAD was last updated in commit a37778d4d32b4ddeff96f68a130dc8da3a84b278 (tree cb176f0f0a9a93bcef89bdd70424cae01ad21629)
[23:59:50.557] GOOD
[23:59:50.687] src/minisketch in HEAD currently refers to tree 85cb93120ae68ef1f6fa597da30e18298848e0e9
[23:59:50.690] src/minisketch in HEAD was last updated in commit cb59af38e72ab189b052ec84e2d1027473235ba4 (tree 85cb93120ae68ef1f6fa597da30e18298848e0e9)
[23:59:50.690] GOOD
[23:59:50.782] src/secp256k1 in HEAD currently refers to tree a6dd5562b35bdbf5f959a18a8af51d526527b9b1
[23:59:50.794] src/secp256k1 in HEAD was last updated in commit 2d46a89386d34d72edf93a24b67e44b82fe6e390 (tree a6dd5562b35bdbf5f959a18a8af51d526527b9b1)
[23:59:50.795] GOOD
[00:00:01.870] Success: no issues found in 304 source files
[00:00:05.084] src/test/miner_tests.cpp:708: explictly ==> explicitly
[00:00:05.084] test/functional/wallet_encryption.py:161: theres ==> there's
[00:00:05.084] ^ Warning: codespell identified likely spelling errors. Any false positives? Add them to the list of ignored words in test/lint/spelling.ignore-words.txt
[00:00:12.222] 
[00:00:12.222] In ci/test/02_run_container.sh line 17:
[00:00:12.222]   docker run $CI_IMAGE_PLATFORM --rm "${CI_IMAGE_NAME_TAG}" bash -c "env | grep --extended-regexp '^(HOME|PATH|USER)='" | tee --append "/tmp/env-$USER-$CONTAINER_NAME"
[00:00:12.222]              ^----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
[00:00:12.222] 
[00:00:12.222] Did you mean: 
[00:00:12.222]   docker run "$CI_IMAGE_PLATFORM" --rm "${CI_IMAGE_NAME_TAG}" bash -c "env | grep --extended-regexp '^(HOME|PATH|USER)='" | tee --append "/tmp/env-$USER-$CONTAINER_NAME"
[00:00:12.222] 
[00:00:12.222] For more information:
[00:00:12.222]   https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
[00:00:12.234] ^---- ⚠️ Failure generated from lint-shell.py
[00:00:19.886] ^^^
[00:00:19.886] 
[00:00:19.886] ^---- ⚠️ Failure generated from lint check 'all_python_linters' (Run all linters of the form: test/lint/lint-*.py)!
[00:00:19.886] 
[00:00:19.886] 
��������