-
Couldn't load subscription status.
- Fork 2.2k
Closed
Labels
A-releasesArea: releases/packagingArea: releases/packagingC-forgeCommand: forgeCommand: forgeCmd-forge-testCommand: forge testCommand: forge testT-bugType: bugType: bug
Description
Component
Forge
Have you ensured that all of these are up to date?
- Foundry
- Foundryup
What version of Foundry are you on?
forge Version: 1.1.0-nightly Commit SHA: 1da4d32 Build Timestamp: 2025-04-17T06:02:01.528588390Z (1744869721) Build Profile: maxperf
What version of Foundryup are you on?
Commit SHA: 1da4d32 Build Timestamp: 2025-04-17T06:02:01.528588390Z (1744869721) Build Profile: maxperf
What command(s) is the bug in?
forge test
Operating System
Windows
Describe the bug
I'm running in wsl and encountered this issue while running tests for an audit. Foundryup didn't fix the issue. Non fork tests seem to be running fine. Providing console output here.
forge test --mt testCreationFeeSetter
Warning: This is a nightly build of Foundry. It is recommended to use the latest stable version. Visit https://book.getfoundry.sh/announcements for more information.
To mute this warning set `FOUNDRY_DISABLE_NIGHTLY_WARNING` in your environment.
[⠰] Compiling...
No files changed, compilation skipped
The application panicked (crashed).
Message: no process-level CryptoProvider available -- call CryptoProvider::install_default() before this point
Location: /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustls-0.23.26/src/crypto/mod.rs:249
This is a bug. Consider reporting it at https://github.com/foundry-rs/foundry
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⋮ 7 frames hidden ⋮
8: core::option::expect_failed::h653f5dbca1fa5fc0
at <unknown source file>:<unknown line>
9: rustls::client::client_conn::ClientConfig::builder::hf0ebf99aa8219d6a
at <unknown source file>:<unknown line>
10: tokio_tungstenite::tls::encryption::rustls::wrap_stream::{{closure}}::hc6b64d4c9f474e80
at <unknown source file>:<unknown line>
11: <alloy_transport_ws::native::WsConnect as alloy_pubsub::connect::PubSubConnect>::connect::{{closure}}::hefa261edce7b5106
at <unknown source file>:<unknown line>
12: foundry_common::provider::runtime_transport::RuntimeTransport::request::{{closure}}::h159716b212edebf5
at <unknown source file>:<unknown line>
13: <alloy_transport::layers::retry::RetryBackoffService<S,P> as tower_service::Service<alloy_json_rpc::packet::RequestPacket>>::call::{{closure}}::h4af5e38f4e58e099
at <unknown source file>:<unknown line>
14: <alloy_rpc_client::call::CallState<Params> as core::future::future::Future>::poll::h21e3d103e36b8476
at <unknown source file>:<unknown line>
15: <alloy_provider::provider::prov_call::ProviderCall<Params,Resp,Output,Map> as core::future::future::Future>::poll::hdb13e10bc8267f4b
at <unknown source file>:<unknown line>
16: foundry_evm_core::fork::multi::create_fork::{{closure}}::ha2cd5c9837d6b158
at <unknown source file>:<unknown line>
17: <foundry_evm_core::fork::multi::MultiForkHandler as core::future::future::Future>::poll::hca0ea01b4960453b
at <unknown source file>:<unknown line>
18: std::sys::backtrace::__rust_begin_short_backtrace::h512162b21f5533e8
at <unknown source file>:<unknown line>
19: core::ops::function::FnOnce::call_once{{vtable.shim}}::h85533318a00665a9
at <unknown source file>:<unknown line>
20: std::sys::pal::unix::thread::Thread::new::thread_start::hcc5ed016d554f327
at <unknown source file>:<unknown line>
Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.
Aborted (core dumped)Metadata
Metadata
Assignees
Labels
A-releasesArea: releases/packagingArea: releases/packagingC-forgeCommand: forgeCommand: forgeCmd-forge-testCommand: forge testCommand: forge testT-bugType: bugType: bug
Type
Projects
Status
Done