@@ -14,136 +14,136 @@ function PIN_RELEASE_DEPS {
1414PIN_RELEASE_DEPS # pin the release dependencies in our main workspace
1515
1616# The backtrace v0.3.75 crate relies on rustc 1.82
17- [ " $RUSTC_MINOR_VERSION " -lt 82 ] && cargo update -p backtrace --precise " 0.3.74" --verbose
17+ [ " $RUSTC_MINOR_VERSION " -lt 82 ] && cargo update -p backtrace --precise " 0.3.74" --quiet
1818
1919# proptest 1.9.0 requires rustc 1.82.0
20- [ " $RUSTC_MINOR_VERSION " -lt 82 ] && cargo update -p proptest --precise " 1.8.0" --verbose
20+ [ " $RUSTC_MINOR_VERSION " -lt 82 ] && cargo update -p proptest --precise " 1.8.0" --quiet
2121
2222# Starting with version 1.2.0, the `idna_adapter` crate has an MSRV of rustc 1.81.0.
23- [ " $RUSTC_MINOR_VERSION " -lt 81 ] && cargo update -p idna_adapter --precise " 1.1.0" --verbose
23+ [ " $RUSTC_MINOR_VERSION " -lt 81 ] && cargo update -p idna_adapter --precise " 1.1.0" --quiet
2424
2525export RUST_BACKTRACE=1
2626
2727echo -e " \n\nChecking the workspace, except lightning-transaction-sync."
28- cargo check --verbose --color always
28+ cargo check --quiet --color always
2929
3030WORKSPACE_MEMBERS=( $( cat Cargo.toml | tr ' \n' ' \r' | sed ' s/\r //g' | tr ' \r' ' \n' | grep ' ^members =' | sed ' s/members.*=.*\[//' | tr -d ' "' | tr ' ,' ' ' ) )
3131
3232echo -e " \n\nTesting the workspace, except lightning-transaction-sync."
33- cargo test --verbose --color always
33+ cargo test --quiet --color always
3434
3535echo -e " \n\nTesting upgrade from prior versions of LDK"
3636pushd lightning-tests
37- cargo test
37+ cargo test --quiet
3838popd
3939
4040echo -e " \n\nChecking and building docs for all workspace members individually..."
4141for DIR in " ${WORKSPACE_MEMBERS[@]} " ; do
42- cargo check -p " $DIR " --verbose --color always
43- cargo doc -p " $DIR " --document-private-items
42+ cargo check -p " $DIR " --quiet --color always
43+ cargo doc -p " $DIR " --quiet -- document-private-items
4444done
4545
4646echo -e " \n\nChecking and testing lightning with features"
47- cargo test -p lightning --verbose --color always --features dnssec
48- cargo check -p lightning --verbose --color always --features dnssec
49- cargo doc -p lightning --document-private-items --features dnssec
47+ cargo test -p lightning --quiet --color always --features dnssec
48+ cargo check -p lightning --quiet --color always --features dnssec
49+ cargo doc -p lightning --quiet -- document-private-items --features dnssec
5050
5151echo -e " \n\nChecking and testing Block Sync Clients with features"
5252
53- cargo test -p lightning-block-sync --verbose --color always --features rest-client
54- cargo check -p lightning-block-sync --verbose --color always --features rest-client
55- cargo test -p lightning-block-sync --verbose --color always --features rpc-client
56- cargo check -p lightning-block-sync --verbose --color always --features rpc-client
57- cargo test -p lightning-block-sync --verbose --color always --features rpc-client,rest-client
58- cargo check -p lightning-block-sync --verbose --color always --features rpc-client,rest-client
59- cargo test -p lightning-block-sync --verbose --color always --features rpc-client,rest-client,tokio
60- cargo check -p lightning-block-sync --verbose --color always --features rpc-client,rest-client,tokio
53+ cargo test -p lightning-block-sync --quiet --color always --features rest-client
54+ cargo check -p lightning-block-sync --quiet --color always --features rest-client
55+ cargo test -p lightning-block-sync --quiet --color always --features rpc-client
56+ cargo check -p lightning-block-sync --quiet --color always --features rpc-client
57+ cargo test -p lightning-block-sync --quiet --color always --features rpc-client,rest-client
58+ cargo check -p lightning-block-sync --quiet --color always --features rpc-client,rest-client
59+ cargo test -p lightning-block-sync --quiet --color always --features rpc-client,rest-client,tokio
60+ cargo check -p lightning-block-sync --quiet --color always --features rpc-client,rest-client,tokio
6161
6262echo -e " \n\nChecking Transaction Sync Clients with features."
63- cargo check -p lightning-transaction-sync --verbose --color always --features esplora-blocking
64- cargo check -p lightning-transaction-sync --verbose --color always --features esplora-async
65- cargo check -p lightning-transaction-sync --verbose --color always --features esplora-async-https
66- cargo check -p lightning-transaction-sync --verbose --color always --features electrum
63+ cargo check -p lightning-transaction-sync --quiet --color always --features esplora-blocking
64+ cargo check -p lightning-transaction-sync --quiet --color always --features esplora-async
65+ cargo check -p lightning-transaction-sync --quiet --color always --features esplora-async-https
66+ cargo check -p lightning-transaction-sync --quiet --color always --features electrum
6767
6868if [ -z " $CI_ENV " ] && [[ -z " $BITCOIND_EXE " || -z " $ELECTRS_EXE " ]]; then
6969 echo -e " \n\nSkipping testing Transaction Sync Clients due to BITCOIND_EXE or ELECTRS_EXE being unset."
7070 cargo check -p lightning-transaction-sync --tests
7171else
7272 echo -e " \n\nTesting Transaction Sync Clients with features."
73- cargo test -p lightning-transaction-sync --verbose --color always --features esplora-blocking
74- cargo test -p lightning-transaction-sync --verbose --color always --features esplora-async
75- cargo test -p lightning-transaction-sync --verbose --color always --features esplora-async-https
76- cargo test -p lightning-transaction-sync --verbose --color always --features electrum
73+ cargo test -p lightning-transaction-sync --quiet --color always --features esplora-blocking
74+ cargo test -p lightning-transaction-sync --quiet --color always --features esplora-async
75+ cargo test -p lightning-transaction-sync --quiet --color always --features esplora-async-https
76+ cargo test -p lightning-transaction-sync --quiet --color always --features electrum
7777fi
7878
7979echo -e " \n\nChecking and testing lightning-persister with features"
80- cargo test -p lightning-persister --verbose --color always --features tokio
81- cargo check -p lightning-persister --verbose --color always --features tokio
82- cargo doc -p lightning-persister --document-private-items --features tokio
80+ cargo test -p lightning-persister --quiet --color always --features tokio
81+ cargo check -p lightning-persister --quiet --color always --features tokio
82+ cargo doc -p lightning-persister --quiet -- document-private-items --features tokio
8383
8484echo -e " \n\nTest Custom Message Macros"
85- cargo test -p lightning-custom-message --verbose --color always
85+ cargo test -p lightning-custom-message --quiet --color always
8686[ " $CI_MINIMIZE_DISK_USAGE " != " " ] && cargo clean
8787
8888echo -e " \n\nTest backtrace-debug builds"
89- cargo test -p lightning --verbose --color always --features backtrace
89+ cargo test -p lightning --quiet --color always --features backtrace
9090
9191echo -e " \n\nTesting no_std builds"
9292for DIR in lightning-invoice lightning-rapid-gossip-sync lightning-liquidity; do
93- cargo test -p $DIR --verbose --color always --no-default-features
93+ cargo test -p $DIR --quiet --color always --no-default-features
9494done
9595
96- cargo test -p lightning --verbose --color always --no-default-features
97- cargo test -p lightning-background-processor --verbose --color always --no-default-features
96+ cargo test -p lightning --quiet --color always --no-default-features
97+ cargo test -p lightning-background-processor --quiet --color always --no-default-features
9898
9999echo -e " \n\nTesting c_bindings builds"
100100# Note that because `$RUSTFLAGS` is not passed through to doctest builds we cannot selectively
101101# disable doctests in `c_bindings` so we skip doctests entirely here.
102- RUSTFLAGS=" $RUSTFLAGS --cfg=c_bindings" cargo test --verbose --color always --lib --bins --tests
102+ RUSTFLAGS=" $RUSTFLAGS --cfg=c_bindings" cargo test --quiet --color always --lib --bins --tests
103103
104104for DIR in lightning-invoice lightning-rapid-gossip-sync; do
105105 # check if there is a conflict between no_std and the c_bindings cfg
106- RUSTFLAGS=" $RUSTFLAGS --cfg=c_bindings" cargo test -p $DIR --verbose --color always --no-default-features
106+ RUSTFLAGS=" $RUSTFLAGS --cfg=c_bindings" cargo test -p $DIR --quiet --color always --no-default-features
107107done
108108
109109# Note that because `$RUSTFLAGS` is not passed through to doctest builds we cannot selectively
110110# disable doctests in `c_bindings` so we skip doctests entirely here.
111- RUSTFLAGS=" $RUSTFLAGS --cfg=c_bindings" cargo test -p lightning-background-processor --verbose --color always --no-default-features --lib --bins --tests
112- RUSTFLAGS=" $RUSTFLAGS --cfg=c_bindings" cargo test -p lightning --verbose --color always --no-default-features --lib --bins --tests
111+ RUSTFLAGS=" $RUSTFLAGS --cfg=c_bindings" cargo test -p lightning-background-processor --quiet --color always --no-default-features --lib --bins --tests
112+ RUSTFLAGS=" $RUSTFLAGS --cfg=c_bindings" cargo test -p lightning --quiet --color always --no-default-features --lib --bins --tests
113113
114114echo -e " \n\nTesting other crate-specific builds"
115115# Note that outbound_commitment_test only runs in this mode because of hardcoded signature values
116- RUSTFLAGS=" $RUSTFLAGS --cfg=ldk_test_vectors" cargo test -p lightning --verbose --color always --no-default-features --features=std
116+ RUSTFLAGS=" $RUSTFLAGS --cfg=ldk_test_vectors" cargo test -p lightning --quiet --color always --no-default-features --features=std
117117# This one only works for lightning-invoice
118118# check that compile with no_std and serde works in lightning-invoice
119- cargo test -p lightning-invoice --verbose --color always --no-default-features --features serde
119+ cargo test -p lightning-invoice --quiet --color always --no-default-features --features serde
120120
121121echo -e " \n\nTesting no_std build on a downstream no-std crate"
122122# check no-std compatibility across dependencies
123123pushd no-std-check
124- cargo check --verbose --color always
124+ cargo check --quiet --color always
125125[ " $CI_MINIMIZE_DISK_USAGE " != " " ] && cargo clean
126126popd
127127
128128# Test that we can build downstream code with only the "release pins".
129129pushd msrv-no-dev-deps-check
130130PIN_RELEASE_DEPS
131- cargo check
131+ cargo check --quiet
132132[ " $CI_MINIMIZE_DISK_USAGE " != " " ] && cargo clean
133133popd
134134
135135if [ -f " $( which arm-none-eabi-gcc) " ]; then
136136 pushd no-std-check
137- cargo build --target=thumbv7m-none-eabi
137+ cargo build --quiet -- target=thumbv7m-none-eabi
138138 [ " $CI_MINIMIZE_DISK_USAGE " != " " ] && cargo clean
139139 popd
140140fi
141141
142142echo -e " \n\nTest cfg-flag builds"
143- RUSTFLAGS=" --cfg=taproot" cargo test --verbose --color always -p lightning
143+ RUSTFLAGS=" --cfg=taproot" cargo test --quiet --color always -p lightning
144144[ " $CI_MINIMIZE_DISK_USAGE " != " " ] && cargo clean
145- RUSTFLAGS=" --cfg=simple_close" cargo test --verbose --color always -p lightning
145+ RUSTFLAGS=" --cfg=simple_close" cargo test --quiet --color always -p lightning
146146[ " $CI_MINIMIZE_DISK_USAGE " != " " ] && cargo clean
147- RUSTFLAGS=" --cfg=lsps1_service" cargo test --verbose --color always -p lightning-liquidity
147+ RUSTFLAGS=" --cfg=lsps1_service" cargo test --quiet --color always -p lightning-liquidity
148148[ " $CI_MINIMIZE_DISK_USAGE " != " " ] && cargo clean
149- RUSTFLAGS=" --cfg=peer_storage" cargo test --verbose --color always -p lightning
149+ RUSTFLAGS=" --cfg=peer_storage" cargo test --quiet --color always -p lightning
0 commit comments