The Swift Package Index logo.Swift Package Index

Build Information

Successful build of generative-ai-swift, reference 0.5.6 (44b8ce), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 02:20:02 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google-gemini/deprecated-generative-ai-swift.git
Reference: 0.5.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/google-gemini/deprecated-generative-ai-swift
 * tag               0.5.6      -> FETCH_HEAD
HEAD is now at 44b8ce1 Update version to 0.5.6 (#206)
Cloned https://github.com/google-gemini/deprecated-generative-ai-swift.git
Revision (git rev-parse @):
44b8ce120425f9cf53ca756f3434ca2c2696f8bd
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/google-gemini/deprecated-generative-ai-swift.git at 0.5.6
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "deprecated-generative-ai-swift",
      "name": "generative-ai-swift",
      "url": "https://github.com/google-gemini/deprecated-generative-ai-swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/deprecated-generative-ai-swift",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/google-gemini/deprecated-generative-ai-swift.git
[1/3145] Fetching deprecated-generative-ai-swift
Fetched https://github.com/google-gemini/deprecated-generative-ai-swift.git from cache (0.87s)
Creating working copy for https://github.com/google-gemini/deprecated-generative-ai-swift.git
Working copy of https://github.com/google-gemini/deprecated-generative-ai-swift.git resolved at 0.5.6 (44b8ce1)
warning: '.resolve-product-dependencies': dependency 'deprecated-generative-ai-swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/google-gemini/deprecated-generative-ai-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/20] Compiling GoogleGenerativeAI GenerateContentResponse.swift
[4/20] Compiling GoogleGenerativeAI GenerationConfig.swift
[5/20] Compiling GoogleGenerativeAI PartsRepresentable.swift
[6/21] Compiling GoogleGenerativeAI Safety.swift
[7/21] Compiling GoogleGenerativeAI GenerateContentError.swift
[8/21] Compiling GoogleGenerativeAI GenerateContentRequest.swift
[9/21] Compiling GoogleGenerativeAI JSONValue.swift
[10/21] Compiling GoogleGenerativeAI Logging.swift
[11/21] Compiling GoogleGenerativeAI GenerativeAIRequest.swift
[12/21] Compiling GoogleGenerativeAI GenerativeAIService.swift
[13/21] Compiling GoogleGenerativeAI Errors.swift
[14/21] Compiling GoogleGenerativeAI FunctionCalling.swift
[15/21] Compiling GoogleGenerativeAI GenerativeAISwift.swift
[16/21] Compiling GoogleGenerativeAI GenerativeModel.swift
[17/21] Emitting module GoogleGenerativeAI
[18/21] Compiling GoogleGenerativeAI Chat.swift
[19/21] Compiling GoogleGenerativeAI CountTokensRequest.swift
[20/21] Compiling GoogleGenerativeAI ModelContent.swift
[21/21] Compiling GoogleGenerativeAI PartsRepresentable+Image.swift
Build complete! (9.43s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "generative-ai-swift",
  "name" : "generative-ai-swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "GoogleGenerativeAI",
      "targets" : [
        "GoogleGenerativeAI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GoogleGenerativeAITests",
      "module_type" : "SwiftTarget",
      "name" : "GoogleGenerativeAITests",
      "path" : "Tests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/CountTokenResponses/failure-model-not-found.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/CountTokenResponses/success-total-tokens.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-failure-empty-content.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-failure-error-mid-stream.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-failure-finish-reason-safety.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-failure-invalid-json.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-failure-malformed-content.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-failure-prompt-blocked-safety.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-failure-recitation-no-content.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-failure-unknown-finish-enum.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-success-basic-reply-long.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-success-basic-reply-short.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-success-citations.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-success-code-execution.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/streaming-success-unknown-safety-enum.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-api-key.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-empty-content.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-finish-reason-safety-no-content.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-finish-reason-safety.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-image-rejected.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-invalid-response.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-malformed-content.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-prompt-blocked-safety.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-unknown-enum-finish-reason.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-unknown-enum-prompt-blocked.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-unknown-model.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-failure-unsupported-user-location.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-basic-reply-long.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-basic-reply-short.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-citations.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-code-execution.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-function-call-empty-arguments.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-function-call-mixed-content.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-function-call-no-arguments.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-function-call-parallel-calls.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-function-call-with-arguments.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-missing-safety-ratings.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-quote-reply.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoogleAITests/GenerateContentResponses/unary-success-unknown-enum-safety-ratings.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "GoogleAITests/ChatTests.swift",
        "GoogleAITests/CodeExecutionTests.swift",
        "GoogleAITests/GenerateContentRequestTests.swift",
        "GoogleAITests/GenerateContentResponseTests.swift",
        "GoogleAITests/GenerationConfigTests.swift",
        "GoogleAITests/GenerativeModelTests.swift",
        "GoogleAITests/GoogleAITests.swift",
        "GoogleAITests/JSONValueTests.swift",
        "GoogleAITests/MockURLProtocol.swift",
        "GoogleAITests/ModelContentTests.swift",
        "GoogleAITests/PartsRepresentableTests.swift"
      ],
      "target_dependencies" : [
        "GoogleGenerativeAI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GoogleGenerativeAI",
      "module_type" : "SwiftTarget",
      "name" : "GoogleGenerativeAI",
      "path" : "Sources",
      "product_memberships" : [
        "GoogleGenerativeAI"
      ],
      "sources" : [
        "GoogleAI/Chat.swift",
        "GoogleAI/CountTokensRequest.swift",
        "GoogleAI/Errors.swift",
        "GoogleAI/FunctionCalling.swift",
        "GoogleAI/GenerateContentError.swift",
        "GoogleAI/GenerateContentRequest.swift",
        "GoogleAI/GenerateContentResponse.swift",
        "GoogleAI/GenerationConfig.swift",
        "GoogleAI/GenerativeAIRequest.swift",
        "GoogleAI/GenerativeAIService.swift",
        "GoogleAI/GenerativeAISwift.swift",
        "GoogleAI/GenerativeModel.swift",
        "GoogleAI/JSONValue.swift",
        "GoogleAI/Logging.swift",
        "GoogleAI/ModelContent.swift",
        "GoogleAI/PartsRepresentable+Image.swift",
        "GoogleAI/PartsRepresentable.swift",
        "GoogleAI/Safety.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CodeSnippetTests",
      "module_type" : "SwiftTarget",
      "name" : "CodeSnippetTests",
      "path" : "samples",
      "sources" : [
        "APIKey.swift",
        "ChatSnippets.swift",
        "CodeExecution.swift",
        "ControlledGeneration.swift",
        "CountTokens.swift",
        "FunctionCalling.swift",
        "GenerationConfig.swift",
        "SafetySettings.swift",
        "SystemInstructions.swift",
        "TextGeneration.swift"
      ],
      "target_dependencies" : [
        "GoogleGenerativeAI"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.7.1"
}
Done.