The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-gemini-api, reference 1.0.0 (bdc5cf), with Swift 6.4 for macOS (SPM) on 24 Sep 2026 00:27:13 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/paradigms-of-intelligence/swift-gemini-api.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/paradigms-of-intelligence/swift-gemini-api
 * tag               1.0.0      -> FETCH_HEAD
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 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/paradigms-of-intelligence/swift-gemini-api.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] swift-gemini-api
[30 / 113]
[33 / 113]
[37 / 113]
[42 / 113]
[44 / 113]
[49 / 113]
[51 / 113]
[53 / 113]
[56 / 113]
[61 / 113]
[64 / 113]
[66 / 113]
[67 / 113]
[78 / 113]
[81 / 113]
[83 / 113]
[86 / 113]
[91 / 113]
[92 / 113]
[104 / 113] swift-gemini-api
[105 / 113] swift-gemini-api
[110 / 113] swift-gemini-api
Build complete! (12.72 sec)
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?
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?
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 98 |             self?.isPlaying = false
 99 |             print("⏹️ Playback stopped")
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
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.