{
  "id": "go/go-mod-tidy-fails-on-retracted",
  "signature": "go: example.com/module@v1.0.0 is retracted by the module author; run 'go mod tidy' to update",
  "signature_zh": "go: 模块作者已撤回 example.com/module@v1.0.0；运行 'go mod tidy' 更新",
  "regex": "go:\\ example\\.com/module@v1\\.0\\.0\\ is\\ retracted\\ by\\ the\\ module\\ author;\\ run\\ 'go\\ mod\\ tidy'\\ to\\ update",
  "domain": "go",
  "category": "build_error",
  "subcategory": null,
  "root_cause": "The module author has retracted a version, marking it as deprecated or insecure, but go.mod still references it.",
  "root_cause_type": "generic",
  "root_cause_zh": "模块作者已撤回某个版本，将其标记为已弃用或不安全，但 go.mod 仍引用它。",
  "versions": [
    {
      "version": "1.16",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "1.17",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "1.18",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "1.19",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "1.20",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "1.21",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "1.22",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "1.23",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Ignoring the warning and continuing to build",
      "why_fails": "Builds may succeed, but the retracted version may have security vulnerabilities or be removed in the future.",
      "fail_rate": 0.4,
      "condition": "",
      "sources": []
    },
    {
      "action": "Manually editing go.mod to re-add the retracted version",
      "why_fails": "Go will still detect it as retracted and issue the same warning.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Run 'go mod tidy' to automatically upgrade to a non-retracted version",
      "success_rate": 0.9,
      "how": "go mod tidy",
      "condition": "",
      "sources": []
    },
    {
      "action": "Manually upgrade to a specific newer version",
      "success_rate": 0.85,
      "how": "go get example.com/module@v1.1.0",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.86,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-08-30",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}