The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of GeminiKit, reference 1.0.0 (63827c), with Swift 6.2 (beta) for macOS (SPM) on 13 Jul 2025 11:12:41 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/guitaripod/GeminiKit.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/guitaripod/GeminiKit
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 63827c0 fix: correct release workflow to build gemini-cli instead of deepseek-cli
Cloned https://github.com/guitaripod/GeminiKit.git
Revision (git rev-parse @):
63827c07138f2c1fbf34b97b877c2a22d348e88f
SUCCESS checkout https://github.com/guitaripod/GeminiKit.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/guitaripod/GeminiKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/11] Write sources
[5/11] Write gemini-cli-entitlement.plist
[7/11] Write swift-version-1EA4D86E10B52AF.txt
[9/32] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/32] Emitting module ArgumentParserToolInfo
[11/78] Compiling ArgumentParser CommandConfiguration.swift
[12/78] Compiling ArgumentParser CommandGroup.swift
[13/78] Compiling ArgumentParser EnumerableFlag.swift
[14/78] Compiling ArgumentParser ExpressibleByArgument.swift
[15/78] Compiling ArgumentParser ParsableArguments.swift
[16/82] Compiling ArgumentParser ArgumentDiscussion.swift
[17/82] Compiling ArgumentParser ArgumentHelp.swift
[18/82] Compiling ArgumentParser ArgumentVisibility.swift
[19/82] Compiling ArgumentParser CompletionKind.swift
[20/82] Compiling ArgumentParser Errors.swift
[21/82] Compiling ArgumentParser SequenceExtensions.swift
[22/82] Compiling ArgumentParser StringExtensions.swift
[23/82] Compiling ArgumentParser SwiftExtensions.swift
[24/82] Compiling ArgumentParser Tree.swift
[25/82] Compiling ArgumentParser CodingKeyValidator.swift
[26/82] Emitting module ArgumentParser
[27/82] Compiling ArgumentParser NonsenseFlagsValidator.swift
[28/82] Compiling ArgumentParser ParsableArgumentsValidation.swift
[29/82] Compiling ArgumentParser PositionalArgumentsValidator.swift
[30/82] Compiling ArgumentParser UniqueNamesValidator.swift
[31/82] Compiling ArgumentParser BashCompletionsGenerator.swift
[32/82] Compiling ArgumentParser CompletionsGenerator.swift
[33/82] Compiling ArgumentParser FishCompletionsGenerator.swift
[34/82] Compiling ArgumentParser ZshCompletionsGenerator.swift
[35/82] Compiling ArgumentParser Argument.swift
[36/82] Compiling ArgumentParser CommandParser.swift
[38/82] Compiling ArgumentParser ParsableCommand.swift
[39/82] Compiling ArgumentParser ArgumentDecoder.swift
[40/82] Compiling ArgumentParser ArgumentDefinition.swift
[41/82] Compiling ArgumentParser ArgumentSet.swift
[44/84] Compiling ArgumentParser MessageInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/GeminiKit/Networking/APIClient.swift:235:69: warning: capture of non-sendable type 'Response.Type' in an isolated closure; this is an error in the Swift 6 language mode
233 |                             if let data = jsonData.data(using: .utf8) {
234 |                                 do {
235 |                                     let response = try self.decoder.decode(Response.self, from: data)
    |                                                                     `- warning: capture of non-sendable type 'Response.Type' in an isolated closure; this is an error in the Swift 6 language mode
236 |                                     continuation.yield(response)
237 |                                 } catch {
/Users/admin/builder/spi-builder-workspace/Sources/GeminiKit/Networking/APIClient.swift:182:38: warning: capture of non-sendable type 'Response.Type' in an isolated closure; this is an error in the Swift 6 language mode
180 |
181 |         // Transform to response stream with proper SSE parsing
182 |         return AsyncThrowingStream { continuation in
    |                                      `- warning: capture of non-sendable type 'Response.Type' in an isolated closure; this is an error in the Swift 6 language mode
183 |             Task {
184 |                 do {
[45/84] Compiling ArgumentParser UsageGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/GeminiKit/Networking/APIClient.swift:235:69: warning: capture of non-sendable type 'Response.Type' in an isolated closure; this is an error in the Swift 6 language mode
233 |                             if let data = jsonData.data(using: .utf8) {
234 |                                 do {
235 |                                     let response = try self.decoder.decode(Response.self, from: data)
    |                                                                     `- warning: capture of non-sendable type 'Response.Type' in an isolated closure; this is an error in the Swift 6 language mode
236 |                                     continuation.yield(response)
237 |                                 } catch {
/Users/admin/builder/spi-builder-workspace/Sources/GeminiKit/Networking/APIClient.swift:182:38: warning: capture of non-sendable type 'Response.Type' in an isolated closure; this is an error in the Swift 6 language mode
180 |
181 |         // Transform to response stream with proper SSE parsing
182 |         return AsyncThrowingStream { continuation in
    |                                      `- warning: capture of non-sendable type 'Response.Type' in an isolated closure; this is an error in the Swift 6 language mode
183 |             Task {
184 |                 do {
[46/84] Compiling ArgumentParser Platform.swift
[47/84] Compiling ArgumentParser Flag.swift
[48/84] Compiling ArgumentParser InputKey.swift
[49/84] Compiling ArgumentParser InputOrigin.swift
[50/84] Compiling ArgumentParser Name.swift
[51/84] Compiling ArgumentParser Parsed.swift
[52/84] Compiling ArgumentParser ParsedValues.swift
[53/84] Compiling ArgumentParser ParserError.swift
[54/84] Compiling ArgumentParser SplitArguments.swift
[55/84] Compiling ArgumentParser DumpHelpGenerator.swift
[56/84] Compiling ArgumentParser HelpCommand.swift
[57/84] Compiling ArgumentParser HelpGenerator.swift
[60/84] Compiling ArgumentParser CollectionExtensions.swift
[61/84] Compiling ArgumentParser Mutex.swift
[62/84] Emitting module GeminiKit
[63/84] Compiling ArgumentParser NameSpecification.swift
[64/84] Compiling ArgumentParser Option.swift
[70/84] Compiling GeminiKit URLSessionHTTPClient.swift
[71/84] Compiling GeminiKit ToolBuilder.swift
[82/103] Compiling GeminiCLI FileCommands.swift
[83/103] Compiling GeminiCLI FunctionCallCommand.swift
[84/105] Compiling GeminiCLI OutputFormatter.swift
[85/105] Compiling GeminiCLI CLICommand.swift
[86/105] Emitting module GeminiCLI
/Users/admin/builder/spi-builder-workspace/Sources/GeminiCLI/main.swift:57:7: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
55 |         await GeminiCLI.main()
56 |         semaphore.signal()
57 |     } catch {
   |       `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
58 |         // Print error to stderr to ensure it's visible
59 |         fputs("Error: \(error.localizedDescription)\n", stderr)
[87/105] Compiling GeminiCLI AudioCommand.swift
[88/105] Compiling GeminiCLI ChatCommand.swift
[89/105] Compiling GeminiCLI GenerateCommand.swift
[90/105] Compiling GeminiCLI ImageGenerationCommand.swift
[91/105] Compiling GeminiCLI OpenAIChatCommand.swift
[92/105] Compiling GeminiCLI StreamCommand.swift
[93/105] Compiling GeminiCLI CommonOptions.swift
[94/105] Compiling GeminiCLI FileHelper.swift
[95/105] Compiling GeminiCLI CountCommand.swift
[96/105] Compiling GeminiCLI EmbeddingsCommand.swift
[97/105] Compiling GeminiCLI VideoCommands.swift
[98/105] Compiling GeminiCLI WebGroundingCommand.swift
[99/105] Compiling GeminiCLI CodeExecutionCommand.swift
[100/105] Compiling GeminiCLI ConfigInfoCommand.swift
[101/105] Compiling GeminiCLI OutputFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/GeminiCLI/main.swift:57:7: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
55 |         await GeminiCLI.main()
56 |         semaphore.signal()
57 |     } catch {
   |       `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
58 |         // Print error to stderr to ensure it's visible
59 |         fputs("Error: \(error.localizedDescription)\n", stderr)
[102/105] Compiling GeminiCLI main.swift
/Users/admin/builder/spi-builder-workspace/Sources/GeminiCLI/main.swift:57:7: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
55 |         await GeminiCLI.main()
56 |         semaphore.signal()
57 |     } catch {
   |       `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
58 |         // Print error to stderr to ensure it's visible
59 |         fputs("Error: \(error.localizedDescription)\n", stderr)
[102/105] Write Objects.LinkFileList
[103/105] Linking gemini-cli
[104/105] Applying gemini-cli
Build complete! (14.31s)
Fetching https://github.com/apple/swift-argument-parser
[1/15524] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.50s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (1.93s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "GeminiKit",
  "name" : "GeminiKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "GeminiKit",
      "targets" : [
        "GeminiKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "gemini-cli",
      "targets" : [
        "GeminiCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GeminiKitTests",
      "module_type" : "SwiftTarget",
      "name" : "GeminiKitTests",
      "path" : "Tests/GeminiKitTests",
      "sources" : [
        "API/FileOperationsTests.swift",
        "ConfigurationTests.swift",
        "ContentTests.swift",
        "ErrorTests.swift",
        "FunctionBuilderTests.swift",
        "GeminiKitTests.swift",
        "GenerationConfigTests.swift",
        "Media/AudioTests.swift",
        "ModelTests.swift",
        "SafetySettingsTests.swift",
        "StreamingTests.swift",
        "Types/PartTests.swift",
        "Types/ToolTests.swift",
        "VideoTests.swift"
      ],
      "target_dependencies" : [
        "GeminiKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GeminiKit",
      "module_type" : "SwiftTarget",
      "name" : "GeminiKit",
      "path" : "Sources/GeminiKit",
      "product_memberships" : [
        "GeminiKit",
        "gemini-cli"
      ],
      "sources" : [
        "Core/Chat.swift",
        "Core/Configuration.swift",
        "Core/GeminiError.swift",
        "Core/GeminiKit.swift",
        "Core/GeminiModels.swift",
        "Core/OpenAICompatibility.swift",
        "Core/SpecializedEndpoints.swift",
        "Extensions/ToolExtensions.swift",
        "Models/AnyCodable.swift",
        "Models/Content.swift",
        "Models/GenerationConfig.swift",
        "Models/OpenAIModels.swift",
        "Models/Request.swift",
        "Models/Response.swift",
        "Models/SpecializedModels.swift",
        "Networking/APIClient.swift",
        "Networking/CURLHTTPClient.swift",
        "Networking/HTTPClient.swift",
        "Networking/URLSessionHTTPClient.swift",
        "Tools/ToolBuilder.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GeminiCLI",
      "module_type" : "SwiftTarget",
      "name" : "GeminiCLI",
      "path" : "Sources/GeminiCLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "gemini-cli"
      ],
      "sources" : [
        "Commands/AudioCommand.swift",
        "Commands/ChatCommand.swift",
        "Commands/CodeExecutionCommand.swift",
        "Commands/ConfigInfoCommand.swift",
        "Commands/CountCommand.swift",
        "Commands/EmbeddingsCommand.swift",
        "Commands/FileCommands.swift",
        "Commands/FunctionCallCommand.swift",
        "Commands/GenerateCommand.swift",
        "Commands/ImageGenerationCommand.swift",
        "Commands/OpenAIChatCommand.swift",
        "Commands/StreamCommand.swift",
        "Commands/VideoCommands.swift",
        "Commands/WebGroundingCommand.swift",
        "Common/CommonOptions.swift",
        "Helpers/FileHelper.swift",
        "Helpers/OutputFormatter.swift",
        "Protocols/CLICommand.swift",
        "Types/OutputFormat.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "GeminiKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
Done.