{"record":{"id":"39f64f535837b9f0","repo":"FuelLabs/sway","slug":"dep-path-registry-dependencies-are-not-yet-suppor","errorCode":null,"errorMessage":"dep_path: registry dependencies are not yet supported","messagePattern":"dep_path: registry dependencies are not yet supported","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"forc-pkg/src/source/reg/mod.rs","lineNumber":420,"sourceCode":"                        node if node == IPFSNode::public() => IPFSNode::fuel(),\n                        node => node,\n                    };\n                    fetch(fetch_id, &pinned, &node).await\n                })?;\n            }\n        }\n        let path = {\n            let _guard = lock.read()?;\n            manifest::find_within(path, ctx.name())\n                .ok_or_else(|| anyhow!(\"failed to find package `{}` in {}\", ctx.name(), self))?\n        };\n        PackageManifestFile::from_file(path)\n    }\n}\n\nimpl source::DepPath for Pinned {\n    fn dep_path(&self, _name: &str) -> anyhow::Result<source::DependencyPath> {\n        bail!(\"dep_path: registry dependencies are not yet supported\");\n    }\n}\n\nimpl From<Pinned> for source::Pinned {\n    fn from(p: Pinned) -> Self {\n        Self::Registry(p)\n    }\n}\n\n/// Resolve a CID from index file and pinned package. Basically goes through\n/// the index file to find corresponding entry described by the pinned instance.\nfn resolve_to_cid(index_file: &IndexFile, pinned: &Pinned) -> anyhow::Result<Cid> {\n    let other_versions = index_file\n        .versions()\n        .filter(|ver| **ver != pinned.source.version)\n        .map(|ver| format!(\"{}.{}.{}\", ver.major, ver.minor, ver.patch))\n        .collect::<Vec<_>>()\n        .join(\",\");","sourceCodeStart":402,"sourceCodeEnd":438,"githubUrl":"https://github.com/FuelLabs/sway/blob/47e5e902faa42baf652dd6a0c88cd23390c1a614/forc-pkg/src/source/reg/mod.rs#L402-L438","documentation":"Error \"dep_path: registry dependencies are not yet supported\" thrown in FuelLabs/sway.","triggerScenarios":"Thrown at forc-pkg/src/source/reg/mod.rs:420 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":"47e5e902faa42baf652dd6a0c88cd23390c1a614","analyzedAt":"2026-08-16T07:57:45.555Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}