The Swift Package Index logo.Swift Package Index

Build Information

Successful build of generative-ai-swift, reference 0.5.6 (44b8ce), with Swift 6.4 for macOS (SPM) on 22 Sep 2026 04:43:29 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/google-gemini/deprecated-generative-ai-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 95]
[Planning deferred tasks]
[67 / 78] generative-ai-swift_GoogleGenerativeAITests
[69 / 78]
[70 / 79] GoogleGenerativeAI
[80 / 152]
[83 / 152]
[91 / 152]
[93 / 152]
[94 / 152]
[99 / 152]
[102 / 152]
[105 / 152]
[110 / 152]
[113 / 152]
[115 / 152]
[116 / 152]
[125 / 152]
[127 / 152]
[128 / 152]
[130 / 152]
[132 / 152]
[143 / 152] GoogleGenerativeAI
[144 / 152] GoogleGenerativeAI
[149 / 152] GoogleGenerativeAI
Build complete! (11.21 sec)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/samples/README.md
/Users/admin/builder/spi-builder-workspace/Sources/GoogleAI/GenerativeAIService.swift:59:7: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
 57 |     -> AsyncThrowingStream<T.Response, Error> {
 58 |     return AsyncThrowingStream { continuation in
 59 |       Task {
    |       |- warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
    |       `- note: to silence this warning, handle the error inside the task, or store/discard the task value explicitly
 60 |         let urlRequest: URLRequest
 61 |         do {
[#NoUseUnstructuredThrowingTask]: <https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task>
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.