{
  "id": "go/incompatible-module-version",
  "signature": "go: github.com/old/lib@v2.0.0: reading https://proxy.golang.org/github.com/old/lib/@v/v2.0.0.mod: 410 Gone",
  "signature_zh": "go: 模块版本已移除: 410 Gone",
  "regex": "go:\\ github\\.com/old/lib@v2\\.0\\.0:\\ reading\\ https://proxy\\.golang\\.org/github\\.com/old/lib/@v/v2\\.0\\.0\\.mod:\\ 410\\ Gone",
  "domain": "go",
  "category": "module_error",
  "subcategory": null,
  "root_cause": "The module version has been retracted or removed from the proxy, often due to a security issue or accidental release.",
  "root_cause_type": "generic",
  "root_cause_zh": "模块版本已从代理中撤回或移除，通常是由于安全问题或意外发布。",
  "versions": [
    {
      "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": "Using 'go get -u' to update to latest version.",
      "why_fails": "It may update to a different incompatible version; not all modules support v2.",
      "fail_rate": 0.6,
      "condition": "",
      "sources": []
    },
    {
      "action": "Adding a replace directive pointing to the same version locally.",
      "why_fails": "The version is no longer available; local copy may not exist.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Use a different version that is still available.",
      "success_rate": 0.8,
      "how": "Run 'go list -m -versions github.com/old/lib' to see available versions, then update go.mod to a compatible one.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Fork the module and use the fork as a replacement.",
      "success_rate": 0.7,
      "how": "Add to go.mod: 'replace github.com/old/lib v2.0.0 => github.com/yourfork/lib v2.0.0' with the forked code.",
      "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.84,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-07-20",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}