Pin `proptest` again to fix CI
What changed, and why it matters
This commit adjusts a CI test script to pin an older version of a Rust testing library called proptest, because the newly released version requires a newer Rust compiler than the project supports. It is a build/test infrastructure change with no security relevance.
No security action needed. This is a routine CI maintenance commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change in ci/ci-tests.sh re-enables extraction of the Rust compiler minor version and adds a conditional pin for proptest to version 1.8.0 when the compiler is older than 1.82. This mirrors an existing pin for backtrace and is solely to maintain the project’s Minimum Supported Rust Version (MSRV) in CI.
Changed components
ci/ci-tests.shInspect captured patch +4 / −1
diff --git a/ci/ci-tests.sh b/ci/ci-tests.sh
index c423921..91ead99 100755
--- a/ci/ci-tests.sh
+++ b/ci/ci-tests.sh
@@ -3,7 +3,7 @@
set -eox pipefail
# Currently unused as we don't have to pin anything for MSRV:
-#RUSTC_MINOR_VERSION=$(rustc --version | awk '{ split($2,a,"."); print a[2] }')
+RUSTC_MINOR_VERSION=$(rustc --version | awk '{ split($2,a,"."); print a[2] }')
# Some crates require pinning to meet our MSRV even for our downstream users,
# which we do here.
@@ -17,6 +17,9 @@ PIN_RELEASE_DEPS # pin the release dependencies in our main workspace
# The backtrace v0.3.75 crate relies on rustc 1.82
[ "$RUSTC_MINOR_VERSION" -lt 82 ] && cargo update -p backtrace --precise "0.3.74" --verbose
+# proptest 1.9.0 requires rustc 1.82.0
+[ "$RUSTC_MINOR_VERSION" -lt 82 ] && cargo update -p proptest --precise "1.8.0" --verbose
+
export RUST_BACKTRACE=1
echo -e "\n\nChecking the workspace, except lightning-transaction-sync."
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.