jdx/mise · error
rust's mr_boxington option requires mr-boxington in…
Error message
rust's mr_boxington option requires mr-boxington in [tools]; add `mr-boxington = "latest"`
What it means
mise's command wrapper supports a `mr_boxington` option for rust, which activates the mbx Cargo wrapper. That wrapper requires the mr-boxington tool itself to be declared in the project's [tools] section so mise can install it. If rust has `mr_boxington = ...` set but mr-boxington is absent from the tool list, add_rust_wrapper fails early with this message.
Solutions
- Add `mr-boxington = "latest"` to the [tools] section of your mise.toml, then run `mise install`.
- Alternatively, remove the `mr_boxington` option from the rust tool config if you do not want the wrapper.
- Run `mise install` afterwards so the mr-boxington binary is present before cargo commands run.
Example fix
# before (mise.toml)
[tools]
rust = { mr_boxington = true }
# after
[tools]
rust = { mr_boxington = true }
mr-boxington = "latest" Defensive patterns
Strategy: validation
Validate before calling
# Verify the pairing before enabling the option
# mise.toml must contain BOTH:
# [tools]
# rust = { mr_boxington = true }
# mr-boxington = "latest"
grep -q 'mr-boxington' mise.toml || echo 'add mr-boxington = "latest" to [tools]' Prevention
- Always add `mr-boxington = "latest"` alongside the rust mr_boxington option
- Run `mise install` after editing [tools] so the wrapper binary exists
- When copying mise.toml from another repo, copy all related tool entries
When it happens
Trigger: A mise.toml with [tools] rust = { mr_boxington = true } (or equivalent option) but no `mr-boxington` entry in [tools]; checked in add_rust_wrapper by scanning the tools list for the mr-boxington BackendArg (short or full name).
Common situations: Copying a mise.toml from a repo that uses mbx without copying the mr-boxington tool entry; enabling the wrapper option in a new project and forgetting the companion tool; trimming '[unused]' tools and accidentally removing mr-boxington.
Understand the failure class
Background: "not installed", "pip install", "required for": how missing-dependency errors surface across open-source libraries — this error's family across 34 libraries.
Related errors
- config index exists
- daemon requests @ , conflicting with another daemon; use…
- declaring bootstrap config is loaded
- explicit task name was just found
- inline content
AI-assisted analysis of jdx/mise@533346cc37 (2026-09-17).
Data as JSON: /api/errors/abc38171cc0751d7.
Report an issue: GitHub.
Appendix: source
Thrown at src/config/command_wrapper.rs:85
.find(|tool| tool.ba().full() == "core:rust")
.is_some_and(|rust| {
// Match explicit wrappers: safe mode cannot activate project commands.
let safe = !crate::config::Settings::safe_mode()
|| rust
.source()
.path()
.is_none_or(crate::config::is_global_config);
safe && BackendOptions::new(&rust.options()).bool("mr_boxington")
});
if !enabled {
return Ok(());
}
let mbx = BackendArg::from("mr-boxington");
if !tools
.iter()
.any(|tool| tool.ba().short == mbx.short || tool.ba().full() == mbx.full())
{
eyre::bail!(
"rust's mr_boxington option requires mr-boxington in [tools]; add `mr-boxington = \"latest\"`"
);
}
wrappers.insert(
"cargo".into(),
CommandWrapper::Detailed(CommandWrapperOptions {
command: "mbx".into(),
args: Vec::new(),
env: [("MBX_CARGO_SHIM_MODE".into(), "1".into())].into(),
}),
);
Ok(())
}
View on GitHub (pinned to 533346cc37)