The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-gemini-api, reference main (bdc5cf), with Swift 6.3 for macOS (SPM) on 18 Apr 2026 10:23:58 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/paradigms-of-intelligence/swift-gemini-api.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/paradigms-of-intelligence/swift-gemini-api
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at bdc5cf7 initial commit
Cloned https://github.com/paradigms-of-intelligence/swift-gemini-api.git
Revision (git rev-parse @):
bdc5cf7575cdf3bcad367c53eced0916588e6587
SUCCESS checkout https://github.com/paradigms-of-intelligence/swift-gemini-api.git at main
========================================
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": "swift-gemini-api",
      "name": "swift-gemini-api",
      "url": "https://github.com/paradigms-of-intelligence/swift-gemini-api.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-gemini-api",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/paradigms-of-intelligence/swift-gemini-api.git
[1/73] Fetching swift-gemini-api
Fetched https://github.com/paradigms-of-intelligence/swift-gemini-api.git from cache (1.43s)
Creating working copy for https://github.com/paradigms-of-intelligence/swift-gemini-api.git
Working copy of https://github.com/paradigms-of-intelligence/swift-gemini-api.git resolved at main (bdc5cf7)
warning: '.resolve-product-dependencies': dependency 'swift-gemini-api' 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/paradigms-of-intelligence/swift-gemini-api.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/21] Compiling swift_gemini_api image.swift
[4/21] Compiling swift_gemini_api speech.swift
[5/21] Compiling swift_gemini_api audio.swift
[6/21] Compiling swift_gemini_api embedding.swift
[7/21] Compiling swift_gemini_api error.swift
[8/21] Compiling swift_gemini_api files.swift
[9/23] Compiling swift_gemini_api text.swift
[10/23] Compiling swift_gemini_api video.swift
[11/23] Compiling swift_gemini_api Voice.swift
[12/23] Compiling swift_gemini_api VoiceUtils.swift
[13/23] Compiling swift_gemini_api GeminiAPI.swift
macro expansion @ObservationTracked:2:14: warning: stored property '_onSetupComplete' of 'Sendable'-conforming class 'GeminiLiveClient' is mutable
`- /Users/admin/builder/spi-builder-workspace/Sources/swift-gemini-api/GeminiLiveClient.swift:25:47: note: expanded code originates here
 23 |
 24 |     public let setup = Setup()
 25 | 	public var onSetupComplete: ((Bool) -> Void)?
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | @ObservationIgnored
    |2 | private  var _onSetupComplete: ((Bool) -> Void)?
    |  |              `- warning: stored property '_onSetupComplete' of 'Sendable'-conforming class 'GeminiLiveClient' is mutable
    +-------------------------------------------------------------------
 26 |
 27 |     private var socket: URLSessionWebSocketTask?
[14/23] Compiling swift_gemini_api GeminiLiveClient.swift
macro expansion @ObservationTracked:2:14: warning: stored property '_onSetupComplete' of 'Sendable'-conforming class 'GeminiLiveClient' is mutable
`- /Users/admin/builder/spi-builder-workspace/Sources/swift-gemini-api/GeminiLiveClient.swift:25:47: note: expanded code originates here
 23 |
 24 |     public let setup = Setup()
 25 | 	public var onSetupComplete: ((Bool) -> Void)?
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | @ObservationIgnored
    |2 | private  var _onSetupComplete: ((Bool) -> Void)?
    |  |              `- warning: stored property '_onSetupComplete' of 'Sendable'-conforming class 'GeminiLiveClient' is mutable
    +-------------------------------------------------------------------
 26 |
 27 |     private var socket: URLSessionWebSocketTask?
[15/23] Compiling swift_gemini_api Language.swift
[16/23] Compiling swift_gemini_api Retry.swift
[17/23] Compiling swift_gemini_api StreamingAudioPlayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-gemini-api/StreamingAudioPlayer.swift:97:13: warning: capture of 'self' with non-Sendable type 'StreamingAudioPlayer?' in a '@Sendable' closure [#SendableClosureCaptures]
 20 | #endif
 21 |
 22 | class StreamingAudioPlayer {
    |       `- note: class 'StreamingAudioPlayer' does not conform to the 'Sendable' protocol
 23 |     private let audioEngine = AVAudioEngine()
 24 |     private let playerNode = AVAudioPlayerNode()
    :
 95 |     func stop() {
 96 | 		playbackQueue.async { [weak self] in
 97 |             self?.playerNode.stop()
    |             `- warning: capture of 'self' with non-Sendable type 'StreamingAudioPlayer?' in a '@Sendable' closure [#SendableClosureCaptures]
 98 |             self?.isPlaying = false
 99 |             print("⏹️ Playback stopped")
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[18/23] Compiling swift_gemini_api StreamingWAVWriter.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-gemini-api/StreamingAudioPlayer.swift:97:13: warning: capture of 'self' with non-Sendable type 'StreamingAudioPlayer?' in a '@Sendable' closure [#SendableClosureCaptures]
 20 | #endif
 21 |
 22 | class StreamingAudioPlayer {
    |       `- note: class 'StreamingAudioPlayer' does not conform to the 'Sendable' protocol
 23 |     private let audioEngine = AVAudioEngine()
 24 |     private let playerNode = AVAudioPlayerNode()
    :
 95 |     func stop() {
 96 | 		playbackQueue.async { [weak self] in
 97 |             self?.playerNode.stop()
    |             `- warning: capture of 'self' with non-Sendable type 'StreamingAudioPlayer?' in a '@Sendable' closure [#SendableClosureCaptures]
 98 |             self?.isPlaying = false
 99 |             print("⏹️ Playback stopped")
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[19/23] Emitting module swift_gemini_api
macro expansion @ObservationTracked:2:14: warning: stored property '_onSetupComplete' of 'Sendable'-conforming class 'GeminiLiveClient' is mutable
`- /Users/admin/builder/spi-builder-workspace/Sources/swift-gemini-api/GeminiLiveClient.swift:25:47: note: expanded code originates here
 23 |
 24 |     public let setup = Setup()
 25 | 	public var onSetupComplete: ((Bool) -> Void)?
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | @ObservationIgnored
    |2 | private  var _onSetupComplete: ((Bool) -> Void)?
    |  |              `- warning: stored property '_onSetupComplete' of 'Sendable'-conforming class 'GeminiLiveClient' is mutable
    +-------------------------------------------------------------------
 26 |
 27 |     private var socket: URLSessionWebSocketTask?
[20/23] Compiling swift_gemini_api AudioBufferData.swift
[21/23] Compiling swift_gemini_api AudioFormat.swift
[22/23] Compiling swift_gemini_api AudioRecorder.swift
[23/23] Compiling swift_gemini_api AudioRecorderProtocol.swift
Build complete! (11.47s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-gemini-api",
  "name" : "swift-gemini-api",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "swift-gemini-api",
      "targets" : [
        "swift-gemini-api"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_gemini_api",
      "module_type" : "SwiftTarget",
      "name" : "swift-gemini-api",
      "path" : "Sources/swift-gemini-api",
      "product_memberships" : [
        "swift-gemini-api"
      ],
      "sources" : [
        "AudioBufferData.swift",
        "AudioFormat.swift",
        "AudioRecorder.swift",
        "AudioRecorderProtocol.swift",
        "GeminiAPI.swift",
        "GeminiLiveClient.swift",
        "Language.swift",
        "Retry.swift",
        "StreamingAudioPlayer.swift",
        "StreamingWAVWriter.swift",
        "Voice.swift",
        "VoiceUtils.swift",
        "modalities/audio.swift",
        "modalities/embedding.swift",
        "modalities/error.swift",
        "modalities/files.swift",
        "modalities/image.swift",
        "modalities/speech.swift",
        "modalities/text.swift",
        "modalities/video.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
Done.