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 0.1.0 (3a7e7e), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 23:00:55 UTC.

Swift 6 data race errors: 6

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats

Build Log

========================================
RunAll
========================================
Builder version: 4.61.2
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
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)
Downloading binary artifact https://github.com/stasel/WebRTC/releases/download/135.0.0/WebRTC-M135.xcframework.zip
[32750/39752259] Downloading 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 (2.70s)
========================================
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",
  "dependencies": [
    {
      "identity": "swift-realtime-openai",
      "name": "OpenAIRealtime",
      "url": "https://github.com/m1guelpf/swift-realtime-openai.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-realtime-openai",
      "dependencies": [
        {
          "identity": "webrtc",
          "name": "WebRTC",
          "url": "https://github.com/stasel/WebRTC.git",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WebRTC",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/m1guelpf/swift-realtime-openai.git
[1/513] Fetching swift-realtime-openai
Fetched https://github.com/m1guelpf/swift-realtime-openai.git from cache (0.76s)
Fetching https://github.com/stasel/WebRTC.git from cache
Fetched https://github.com/stasel/WebRTC.git from cache (0.48s)
Creating working copy for https://github.com/stasel/WebRTC.git
Working copy of https://github.com/stasel/WebRTC.git resolved at latest (e15b694)
Creating working copy for https://github.com/m1guelpf/swift-realtime-openai.git
Working copy of https://github.com/m1guelpf/swift-realtime-openai.git resolved at 0.1.0 (3a7e7e1)
Fetching binary artifact https://github.com/stasel/WebRTC/releases/download/135.0.0/WebRTC-M135.xcframework.zip from cache
Fetched https://github.com/stasel/WebRTC/releases/download/135.0.0/WebRTC-M135.xcframework.zip from cache (1.50s)
warning: '.resolve-product-dependencies': dependency 'swift-realtime-openai' is not used by any target
Found 1 product dependencies
  - WebRTC
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/m1guelpf/swift-realtime-openai.git
https://github.com/m1guelpf/swift-realtime-openai.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/5] Write sources
[1/5] Copying WebRTC.framework
[2/5] Write swift-version-2F0A5646E1D333AE.txt
[4/22] Compiling OpenAIRealtime UnsafeInteriorMutable.swift
[5/23] Compiling OpenAIRealtime UnsafeMutableArray.swift
[6/23] Compiling OpenAIRealtime Session.swift
[7/23] Compiling OpenAIRealtime OpenAIRealtime.swift
[8/23] Compiling OpenAIRealtime Connector.swift
[9/23] Compiling OpenAIRealtime ServerError.swift
[10/23] Compiling OpenAIRealtime ServerEvent.swift
[11/23] Compiling OpenAIRealtime Collection+safe.swift
[12/23] Compiling OpenAIRealtime Continuation+error.swift
[13/23] Compiling OpenAIRealtime String+random.swift
[14/23] Compiling OpenAIRealtime ClientEvent.swift
[15/23] Compiling OpenAIRealtime Item.swift
[16/23] Compiling OpenAIRealtime Response.swift
[17/23] Compiling OpenAIRealtime Conversation.swift
[18/23] Compiling OpenAIRealtime AVAudioPCMBuffer+fromData.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! (10.48s)
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"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/m1guelpf/swift-realtime-openai/0.1.0
Repository:               m1guelpf/swift-realtime-openai
Swift version used:       6.1
Target:                   OpenAIRealtime
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            release/6.2 -> FETCH_HEAD
 * [new branch]      release/6.2 -> origin/release/6.2
HEAD is now at 8799b69 Update the artifact
Cloned https://github.com/swiftlang/swift-docc-render-artifact
Extracting symbol information for 'OpenAIRealtime'...
Updating https://github.com/stasel/WebRTC.git
Updated https://github.com/stasel/WebRTC.git (0.43s)
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.51s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (1.10s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.79s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.43s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[1/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Compiling Snippets SnippetParser.swift
[7/53] Compiling Snippets Snippet.swift
[8/53] Emitting module SymbolKit
[9/57] Emitting module Snippets
[10/57] Compiling SymbolKit Mixin+Equals.swift
[11/57] Compiling SymbolKit Mixin+Hash.swift
[12/57] Compiling SymbolKit Mixin.swift
[13/57] Compiling SymbolKit LineList.swift
[14/57] Compiling SymbolKit Position.swift
[15/57] Compiling SymbolKit GenericConstraint.swift
[16/57] Compiling SymbolKit GenericParameter.swift
[17/57] Compiling SymbolKit Generics.swift
[18/57] Compiling SymbolKit Namespace.swift
[19/57] Compiling SymbolKit Symbol.swift
[20/57] Compiling SymbolKit SymbolKind.swift
[21/57] Compiling SymbolKit SymbolGraph.swift
[22/57] Compiling SymbolKit GraphCollector.swift
[23/57] Compiling SymbolKit Relationship.swift
[24/57] Compiling SymbolKit RelationshipKind.swift
[25/57] Compiling SymbolKit SourceOrigin.swift
[26/57] Compiling SymbolKit GenericConstraints.swift
[27/57] Compiling SymbolKit Swift.swift
[28/57] Compiling SymbolKit SourceRange.swift
[29/57] Compiling SymbolKit Metadata.swift
[30/57] Compiling SymbolKit Module.swift
[31/57] Compiling SymbolKit OperatingSystem.swift
[32/57] Compiling SymbolKit Platform.swift
[33/57] Compiling SymbolKit Identifier.swift
[34/57] Compiling SymbolKit KindIdentifier.swift
[35/57] Compiling SymbolKit Location.swift
[36/57] Compiling SymbolKit Mutability.swift
[37/57] Compiling SymbolKit Names.swift
[38/57] Compiling SymbolKit SPI.swift
[39/57] Compiling SymbolKit Snippet.swift
[40/57] Compiling SymbolKit Extension.swift
[41/57] Compiling SymbolKit DeclarationFragments.swift
[42/57] Compiling SymbolKit Fragment.swift
[43/57] Compiling SymbolKit FragmentKind.swift
[44/57] Compiling SymbolKit FunctionParameter.swift
[45/57] Compiling SymbolKit FunctionSignature.swift
[46/57] Compiling SymbolKit SemanticVersion.swift
[47/57] Compiling SymbolKit AccessControl.swift
[48/57] Compiling SymbolKit Availability.swift
[49/57] Compiling SymbolKit AvailabilityItem.swift
[50/57] Compiling SymbolKit Domain.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Emitting module snippet_extract
[57/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.09s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/18] Compiling OpenAIRealtime UnsafeInteriorMutable.swift
[3/18] Compiling OpenAIRealtime Connector.swift
[4/19] Compiling OpenAIRealtime UnsafeMutableArray.swift
[5/19] Compiling OpenAIRealtime Item.swift
[6/19] Compiling OpenAIRealtime Response.swift
[7/19] Compiling OpenAIRealtime Session.swift
[8/19] Compiling OpenAIRealtime OpenAIRealtime.swift
[9/19] Compiling OpenAIRealtime Collection+safe.swift
[10/19] Compiling OpenAIRealtime Continuation+error.swift
[11/19] Compiling OpenAIRealtime Conversation.swift
[12/19] Compiling OpenAIRealtime AVAudioPCMBuffer+fromData.swift
[13/19] Compiling OpenAIRealtime String+random.swift
[14/19] Compiling OpenAIRealtime ClientEvent.swift
[15/19] Compiling OpenAIRealtime WebRTCConnector.swift
[16/19] Compiling OpenAIRealtime WebSocketConnector.swift
[17/19] Compiling OpenAIRealtime ServerError.swift
[18/19] Compiling OpenAIRealtime ServerEvent.swift
[19/19] Emitting module OpenAIRealtime
Build of target: 'OpenAIRealtime' complete! (1.30s)
error: unspecified("terminated(1): /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-symbolgraph-extract -module-name OpenAIRealtime -target arm64-apple-macosx14.0 -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ModuleCache -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -L /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -I /Users/admin/builder/spi-builder-workspace/.build/artifacts/webrtc/WebRTC/WebRTC.xcframework/macos-x86_64_arm64 -Xcc -I -Xcc /Users/admin/builder/spi-builder-workspace/.build/artifacts/webrtc/WebRTC/WebRTC.xcframework/macos-x86_64_arm64 -I /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Modules -minimum-access-level public -skip-inherited-docs -emit-extension-block-symbols -output-dir /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/extracted-symbols/spi-builder-workspace/OpenAIRealtime output:\n    <unknown>:0: error: missing required module \'WebRTC\'\n    Error: Failed to load the module \'OpenAIRealtime\'. Are you missing build dependencies or include/framework directories?\n    See the previous error messages for details. Aborting.\n    ")
Extracting symbol information for 'OpenAIRealtime'...
Building for debugging...
[0/3] Write swift-version-2F0A5646E1D333AE.txt
Build of product 'snippet-extract' complete! (0.21s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
Build of target: 'OpenAIRealtime' complete! (0.27s)
error: unspecified("terminated(1): /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-symbolgraph-extract -module-name OpenAIRealtime -target arm64-apple-macosx14.0 -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ModuleCache -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -L /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -I /Users/admin/builder/spi-builder-workspace/.build/artifacts/webrtc/WebRTC/WebRTC.xcframework/macos-x86_64_arm64 -Xcc -I -Xcc /Users/admin/builder/spi-builder-workspace/.build/artifacts/webrtc/WebRTC/WebRTC.xcframework/macos-x86_64_arm64 -I /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Modules -minimum-access-level public -skip-inherited-docs -emit-extension-block-symbols -output-dir /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/extracted-symbols/spi-builder-workspace/OpenAIRealtime output:\n    <unknown>:0: error: missing required module \'WebRTC\'\n    Error: Failed to load the module \'OpenAIRealtime\'. Are you missing build dependencies or include/framework directories?\n    See the previous error messages for details. Aborting.\n    ")
Error while generating docs: retryLimitExceeded(lastError: Optional(Shell command failed:
    env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift package --allow-writing-to-directory .docs/m1guelpf/swift-realtime-openai/0.1.0 generate-documentation --emit-digest --disable-indexing --output-path .docs/m1guelpf/swift-realtime-openai/0.1.0 --hosting-base-path m1guelpf/swift-realtime-openai/0.1.0 --source-service github --source-service-base-url https://github.com/m1guelpf/swift-realtime-openai/blob/0.1.0 --checkout-path $PWD --target OpenAIRealtime))
✅  Doc result (failed) reported
Done.