{"record":{"id":"6ed956ef19e43775","repo":"jdx/mise","slug":"runtime-symlink-repair-s-failed-n","errorCode":null,"errorMessage":"{} runtime symlink repair(s) failed:\\n{}","messagePattern":"(.+?) runtime symlink repair\\(s\\) failed:\\\\n(.+?)","errorType":"exception","errorClass":"eyre::Report","httpStatus":null,"severity":"error","filePath":"src/runtime_symlinks.rs","lineNumber":52,"sourceCode":"                backend.ba().short,\n                installs_dir.display()\n            )\n        })\n    })\n}\n\nfn run_all_rebuilds<T>(\n    rebuilds: impl IntoIterator<Item = T>,\n    mut rebuild: impl FnMut(T) -> Result<()>,\n) -> Result<()> {\n    let errors = rebuilds\n        .into_iter()\n        .filter_map(|item| rebuild(item).err())\n        .collect_vec();\n    if errors.is_empty() {\n        return Ok(());\n    }\n    Err(eyre::eyre!(\n        \"{} runtime symlink repair(s) failed:\\n{}\",\n        errors.len(),\n        errors.iter().map(|err| format!(\"{err:#}\")).join(\"\\n\")\n    ))\n}\n\npub(crate) async fn migrate_real_dirs(config: &Config) -> Result<()> {\n    for backend in backend::list() {\n        for installs_dir in install_dirs_for(&backend) {\n            migrate_real_dirs_in_dir(config, &backend, &installs_dir)?;\n        }\n    }\n    Ok(())\n}\n\n/// All install directories to consider for a backend: the backend's primary\n/// installs_path plus any shared/system dirs that contain the tool. Per-dir\n/// rebuilds are no-ops when desired state already matches actual state, so","sourceCodeStart":34,"sourceCodeEnd":70,"githubUrl":"https://github.com/jdx/mise/blob/6f52dcdf99e282ef7a7db68c81301fa4618d0f79/src/runtime_symlinks.rs#L34-L70","documentation":"Error \"{} runtime symlink repair(s) failed:\\n{}\" thrown in jdx/mise.","triggerScenarios":"Thrown at src/runtime_symlinks.rs:52 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the listed symlink repair failures, remove conflicting files at the target paths, and re-run the command so mise can recreate the runtime symlinks."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6f52dcdf99e282ef7a7db68c81301fa4618d0f79","analyzedAt":"2026-08-22T10:14:23.840Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}