You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[P2][test] cargo test --workspace fails to build a TLS client; two reqwest majors in the lock #717
Running the whole workspace at once fails eight MCP endpoint tests:
No rustls crypto provider is configured. When using the `rustls-no-provider`
feature you must install a crypto provider before building a Client.
at reqwest-0.13.4/src/async_impl/client.rs:2484
It is invisible to every command we actually run
cargo test -p mas-mcp --test endpoint — 9 passed
just test-rust (the documented command) — green
CI — green
cargo test --workspace — 8 failed
The difference is feature unification. The lockfile carries two reqwest
majors:
reqwest 0.12.28 ← mas-mcp's direct dependency
reqwest 0.13.4 ← pulled in transitively, and what the panic names
Building every crate together resolves a TLS client without a crypto provider
installed; building mas-mcp alone does not.
Why it matters even though nothing runs it
--workspace is the obvious thing to type, and it is what I typed. Anyone
checking "does everything pass?" before a release gets eight red tests and no
indication that the documented command would have been green. That is a
confidence problem rather than a correctness one, but it costs someone an
afternoon the first time.
Likely fixes, in order of preference
Work out what pulls in reqwest 0.13 and whether it can be aligned to 0.12,
removing the duplicate entirely.
Failing that, install a default provider in the endpoint test's setup — rustls::crypto::ring::default_provider().install_default() — so the test
does not depend on which features a sibling crate happened to enable.
Failing both, document that --workspace is not a supported invocation,
which is the weakest answer and worth avoiding.
Found while adding -p sqlpilot --lib to CI, which turned out to be a
separate gap: the main crate's 58 unit tests had never run there either.
Fixed in #722 (the 1.1.0 release PR), which is on main.
mas-mcp now asks for reqwest 0.12 like the rest of the workspace instead of 0.13, so it no longer shares a dependency graph with tauri-plugin-updater and the test client no longer wants a rustls provider nothing installs.
Verified on main just now:
cargo test --workspace → 0 occurrences of "No rustls crypto provider"
Option 1 from the issue — align the versions and remove the duplicate — which was the right one: the divergence was never deliberate.
Left open because #722's description mentioned the number without a closing keyword. Same slip as #704/#707.
Activity
release: 1.1.0 (#722)
EVWorth commentedon Sep 23, 2026
Fixed in #722 (the 1.1.0 release PR), which is on main.
mas-mcpnow asks for reqwest 0.12 like the rest of the workspace instead of 0.13, so it no longer shares a dependency graph withtauri-plugin-updaterand the test client no longer wants a rustls provider nothing installs.Verified on main just now:
Option 1 from the issue — align the versions and remove the duplicate — which was the right one: the divergence was never deliberate.
Left open because #722's description mentioned the number without a closing keyword. Same slip as #704/#707.
fix: clippy scope, reqwest hold, dev.sh PATH and just bump lockfiles (#…