pub fn link( artifacts: &mut [ArtifactDoc], warnings: &mut Vec<WarningDoc>, ) -> Result<Vec<EdgeDoc>>