{"record":{"id":"80181ce3a25b7215","repo":"astral-sh/uv","slug":"failed-to-create-link-at-err","errorCode":null,"errorMessage":"Failed to create link at `{}`: {err}","messagePattern":"Failed to create link at `(.+?)`: (.+?)","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"crates/uv/src/commands/python/install.rs","lineNumber":1180,"sourceCode":"                }\n\n                if let Some(existing) = existing {\n                    // Ensure we do not report installation of this executable for an existing\n                    // key if we undo it\n                    changelog\n                        .installed_executables\n                        .entry(existing.key().clone())\n                        .or_default()\n                        .remove(&target);\n                }\n\n                if let Err(err) =\n                    create_link_to_executable(&target, PythonExecutable::console(&executable))\n                {\n                    errors.push((\n                        InstallErrorKind::Bin,\n                        installation.key().clone(),\n                        anyhow::anyhow!(\n                            \"Failed to create link at `{}`: {err}\",\n                            target.simplified_display()\n                        ),\n                    ));\n                    continue;\n                }\n\n                debug!(\n                    \"Updated executable at `{}` to {}\",\n                    target.simplified_display(),\n                    installation.key(),\n                );\n                changelog.installed.insert(installation.key().clone());\n                changelog\n                    .installed_executables\n                    .entry(installation.key().clone())\n                    .or_default()\n                    .insert(target.clone());","sourceCodeStart":1162,"sourceCodeEnd":1198,"githubUrl":"https://github.com/astral-sh/uv/blob/f1a42680ff5272232d65748acf338b19778dde24/crates/uv/src/commands/python/install.rs#L1162-L1198","documentation":"Error \"Failed to create link at `{}`: {err}\" thrown in astral-sh/uv.","triggerScenarios":"Thrown at crates/uv/src/commands/python/install.rs:1180 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"f1a42680ff5272232d65748acf338b19778dde24","analyzedAt":"2026-08-16T04:51:47.599Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}