The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of OpenAIRealtime, reference main (15c932), with Swift 6.0 for macOS (SPM) on 2 May 2025 02:05:59 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/m1guelpf/swift-realtime-openai.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/m1guelpf/swift-realtime-openai
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 15c932f Add output_audio_buffer.started and output_audio_buffer.stopped server events
Cloned https://github.com/m1guelpf/swift-realtime-openai.git
Revision (git rev-parse @):
15c932fd2d4fd3f40757a6f13102b2f3e6b9359c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/m1guelpf/swift-realtime-openai.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/m1guelpf/swift-realtime-openai.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[1/5] Copying WebRTC.framework
[2/5] Write swift-version-5BDAB9E9C0126B9D.txt
[4/22] Compiling OpenAIRealtime UnsafeInteriorMutable.swift
[5/22] Compiling OpenAIRealtime Item.swift
[6/22] Compiling OpenAIRealtime Response.swift
[7/23] Compiling OpenAIRealtime ServerError.swift
[8/23] Compiling OpenAIRealtime ServerEvent.swift
[9/23] Compiling OpenAIRealtime Collection+safe.swift
[10/23] Compiling OpenAIRealtime Continuation+error.swift
[11/23] Compiling OpenAIRealtime Connector.swift
[12/23] Compiling OpenAIRealtime Session.swift
[13/23] Compiling OpenAIRealtime OpenAIRealtime.swift
[14/23] Compiling OpenAIRealtime UnsafeMutableArray.swift
[15/23] Compiling OpenAIRealtime Conversation.swift
[16/23] Compiling OpenAIRealtime AVAudioPCMBuffer+fromData.swift
[17/23] Compiling OpenAIRealtime String+random.swift
[18/23] Compiling OpenAIRealtime ClientEvent.swift
[19/23] Emitting module OpenAIRealtime
[20/23] Compiling OpenAIRealtime WebRTCConnector.swift
[21/23] Compiling OpenAIRealtime WebSocketConnector.swift
[21/23] Write Objects.LinkFileList
[22/23] Archiving libOpenAIRealtime.a
Build complete! (16.79s)
Fetching https://github.com/stasel/WebRTC.git
[1/669] 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 (e15b694)
[8259/39752259] Downloading https://github.com/stasel/WebRTC/releases/download/135.0.0/WebRTC-M135.xcframework.zip
Downloading binary artifact https://github.com/stasel/WebRTC/releases/download/135.0.0/WebRTC-M135.xcframework.zip
Downloaded https://github.com/stasel/WebRTC/releases/download/135.0.0/WebRTC-M135.xcframework.zip (3.14s)
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.