The Swift Package Index logo.Swift Package Index

Build Information

Successful build of OpenAIRealtime, reference 0.1.0 (3a7e7e), with Swift 6.2 for macOS (SPM) on 23 Jun 2025 08:43:32 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/m1guelpf/swift-realtime-openai.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/m1guelpf/swift-realtime-openai
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 3a7e7e1 rename package to `OpenAIRealtime`
Cloned https://github.com/m1guelpf/swift-realtime-openai.git
Revision (git rev-parse @):
3a7e7e11caeb529b353bd53ae26f14f05da88f41
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/m1guelpf/swift-realtime-openai.git at 0.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/m1guelpf/swift-realtime-openai.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[1/5] Copying WebRTC.framework
[2/5] Write swift-version-1EA4D86E10B52AF.txt
[4/22] Compiling OpenAIRealtime UnsafeInteriorMutable.swift
[5/22] Compiling OpenAIRealtime Session.swift
[6/22] Compiling OpenAIRealtime OpenAIRealtime.swift
[7/23] Compiling OpenAIRealtime ServerError.swift
[8/23] Compiling OpenAIRealtime ServerEvent.swift
[9/23] Compiling OpenAIRealtime Connector.swift
[10/23] Compiling OpenAIRealtime Item.swift
[11/23] Compiling OpenAIRealtime Response.swift
[12/23] Compiling OpenAIRealtime String+random.swift
[13/23] Compiling OpenAIRealtime ClientEvent.swift
[14/23] Compiling OpenAIRealtime Collection+safe.swift
[15/23] Compiling OpenAIRealtime Continuation+error.swift
[16/23] Compiling OpenAIRealtime UnsafeMutableArray.swift
[17/23] Emitting module OpenAIRealtime
[18/23] Compiling OpenAIRealtime Conversation.swift
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:458:7: warning: reference to captured var 'allSamplesReceived' in concurrently-executing code [#SendableClosureCaptures]
456 |
457 | 		let status = converter.convert(to: convertedBuffer, error: &error) { _, outStatus in
458 | 			if allSamplesReceived {
    |       `- warning: reference to captured var 'allSamplesReceived' in concurrently-executing code [#SendableClosureCaptures]
459 | 				outStatus.pointee = .noDataNow
460 | 				return nil
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:463:4: warning: mutation of captured var 'allSamplesReceived' in concurrently-executing code [#SendableClosureCaptures]
461 | 			}
462 |
463 | 			allSamplesReceived = true
    |    `- warning: mutation of captured var 'allSamplesReceived' in concurrently-executing code [#SendableClosureCaptures]
464 | 			outStatus.pointee = .haveData
465 | 			return buffer
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[19/23] Compiling OpenAIRealtime AVAudioPCMBuffer+fromData.swift
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:458:7: warning: reference to captured var 'allSamplesReceived' in concurrently-executing code [#SendableClosureCaptures]
456 |
457 | 		let status = converter.convert(to: convertedBuffer, error: &error) { _, outStatus in
458 | 			if allSamplesReceived {
    |       `- warning: reference to captured var 'allSamplesReceived' in concurrently-executing code [#SendableClosureCaptures]
459 | 				outStatus.pointee = .noDataNow
460 | 				return nil
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:463:4: warning: mutation of captured var 'allSamplesReceived' in concurrently-executing code [#SendableClosureCaptures]
461 | 			}
462 |
463 | 			allSamplesReceived = true
    |    `- warning: mutation of captured var 'allSamplesReceived' in concurrently-executing code [#SendableClosureCaptures]
464 | 			outStatus.pointee = .haveData
465 | 			return buffer
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[20/23] Compiling OpenAIRealtime WebRTCConnector.swift
[21/23] Compiling OpenAIRealtime WebSocketConnector.swift
[21/23] Write Objects.LinkFileList
[22/23] Archiving libOpenAIRealtime.a
Build complete! (14.03s)
Fetching https://github.com/stasel/WebRTC.git
[1/676] Fetching webrtc
Fetched https://github.com/stasel/WebRTC.git from cache (0.72s)
Creating working copy for https://github.com/stasel/WebRTC.git
Working copy of https://github.com/stasel/WebRTC.git resolved at latest (b85669f)
Downloading binary artifact https://github.com/stasel/WebRTC/releases/download/137.0.0/WebRTC-M137.xcframework.zip
[32750/41307432] Downloading https://github.com/stasel/WebRTC/releases/download/137.0.0/WebRTC-M137.xcframework.zip
Downloaded https://github.com/stasel/WebRTC/releases/download/137.0.0/WebRTC-M137.xcframework.zip (2.45s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "webrtc",
      "requirement" : {
        "branch" : [
          "latest"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/stasel/WebRTC.git"
    }
  ],
  "manifest_display_name" : "OpenAIRealtime",
  "name" : "OpenAIRealtime",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenAIRealtime",
      "targets" : [
        "OpenAIRealtime"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpenAIRealtime",
      "module_type" : "SwiftTarget",
      "name" : "OpenAIRealtime",
      "path" : "src",
      "product_dependencies" : [
        "WebRTC"
      ],
      "product_memberships" : [
        "OpenAIRealtime"
      ],
      "sources" : [
        "Connectors/WebRTCConnector.swift",
        "Connectors/WebSocketConnector.swift",
        "Conversation.swift",
        "Extensions/AVAudioPCMBuffer+fromData.swift",
        "Extensions/Collection+safe.swift",
        "Extensions/Continuation+error.swift",
        "Extensions/String+random.swift",
        "Models/ClientEvent.swift",
        "Models/Item.swift",
        "Models/Response.swift",
        "Models/ServerError.swift",
        "Models/ServerEvent.swift",
        "Models/Session.swift",
        "OpenAIRealtime.swift",
        "Protocols/Connector.swift",
        "Support/UnsafeInteriorMutable.swift",
        "Support/UnsafeMutableArray.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.