jdx/mise · error
failed to build tokio runtime
Error message
failed to build tokio runtime
What it means
Error "failed to build tokio runtime" thrown in jdx/mise.
Source
Thrown at src/github/oauth.rs:625
.host_str()
.map(|h| h.to_string())
}
fn default_poll_interval() -> u64 {
5
}
fn block_on<F>(future: F) -> F::Output
where
F: std::future::Future + Send + 'static,
F::Output: Send + 'static,
{
if tokio::runtime::Handle::try_current().is_ok() {
std::thread::spawn(move || {
tokio::runtime::Builder::new_current_thread()
.enable_all()
.build()
.expect("failed to build tokio runtime")
.block_on(future)
})
.join()
.expect("tokio runtime thread panicked")
} else {
tokio::runtime::Builder::new_current_thread()
.enable_all()
.build()
.expect("failed to build tokio runtime")
.block_on(future)
}
}
#[cfg(test)]
pub(crate) mod test_support {
use super::*;
pub(crate) fn cache_key(host: &str, client_id: &str, scopes: &str) -> String {View on GitHub (pinned to 6f52dcdf99)
Solutions
- Retry the GitHub OAuth flow; if it recurs, check system thread/resource limits (ulimit) that prevent tokio from starting a runtime.
When it happens
Trigger: Thrown at src/github/oauth.rs:625 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of jdx/mise@6f52dcdf99 (2026-08-22).
Data as JSON: /api/errors/c14b525bf5485348.
Report an issue: GitHub.