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.0 for macOS (SPM) on 15 Mar 2025 16:45:18 UTC.

Swift 6 data race errors: 13

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
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/655] Fetching webrtc
Fetched https://github.com/stasel/WebRTC.git from cache (0.77s)
Creating working copy for https://github.com/stasel/WebRTC.git
Working copy of https://github.com/stasel/WebRTC.git resolved at latest (5b2eb61)
[32750/39147839] Downloading https://github.com/stasel/WebRTC/releases/download/134.0.0/WebRTC-M134.xcframework.zip
Downloading binary artifact https://github.com/stasel/WebRTC/releases/download/134.0.0/WebRTC-M134.xcframework.zip
Downloaded https://github.com/stasel/WebRTC/releases/download/134.0.0/WebRTC-M134.xcframework.zip (2.65s)
========================================
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/439] Fetching swift-realtime-openai
Fetched https://github.com/m1guelpf/swift-realtime-openai.git from cache (0.80s)
Fetching https://github.com/stasel/WebRTC.git from cache
Fetched https://github.com/stasel/WebRTC.git from cache (0.50s)
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)
Creating working copy for https://github.com/stasel/WebRTC.git
Working copy of https://github.com/stasel/WebRTC.git resolved at latest (5b2eb61)
Fetching binary artifact https://github.com/stasel/WebRTC/releases/download/134.0.0/WebRTC-M134.xcframework.zip from cache
Fetched https://github.com/stasel/WebRTC/releases/download/134.0.0/WebRTC-M134.xcframework.zip from cache (1.41s)
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.0
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.2.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-5BDAB9E9C0126B9D.txt
[4/22] Compiling OpenAIRealtime UnsafeInteriorMutable.swift
[5/22] Compiling OpenAIRealtime Connector.swift
[6/22] Compiling OpenAIRealtime Session.swift
[7/22] Compiling OpenAIRealtime OpenAIRealtime.swift
[8/23] Compiling OpenAIRealtime Item.swift
[9/23] Compiling OpenAIRealtime Response.swift
[10/23] Compiling OpenAIRealtime Collection+safe.swift
[11/23] Compiling OpenAIRealtime Continuation+error.swift
[12/23] Compiling OpenAIRealtime ServerError.swift
[13/23] Compiling OpenAIRealtime ServerEvent.swift
[14/23] Compiling OpenAIRealtime UnsafeMutableArray.swift
[15/23] Compiling OpenAIRealtime WebRTCConnector.swift
[16/23] Compiling OpenAIRealtime WebSocketConnector.swift
[17/23] Compiling OpenAIRealtime String+random.swift
[18/23] Compiling OpenAIRealtime ClientEvent.swift
[19/23] Compiling OpenAIRealtime Conversation.swift
[20/23] Compiling OpenAIRealtime AVAudioPCMBuffer+fromData.swift
[21/23] Emitting module OpenAIRealtime
[21/23] Write Objects.LinkFileList
[22/23] Archiving libOpenAIRealtime.a
Build complete! (14.58s)
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.0
Target:                   OpenAIRealtime
Extracting symbol information for 'OpenAIRealtime'...
Updating https://github.com/stasel/WebRTC.git
Updated https://github.com/stasel/WebRTC.git (0.47s)
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2050] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.20s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.52s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3341] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.26s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.54s)
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
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
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/53] Compiling Snippets Snippet.swift
[7/53] Emitting module Snippets
[8/53] Compiling Snippets SnippetParser.swift
[9/53] Compiling SymbolKit DeclarationFragments.swift
[10/53] Compiling SymbolKit Fragment.swift
[11/53] Compiling SymbolKit FragmentKind.swift
[12/53] Compiling SymbolKit FunctionParameter.swift
[13/53] Compiling SymbolKit FunctionSignature.swift
[14/57] Compiling SymbolKit GenericConstraint.swift
[15/57] Compiling SymbolKit GenericParameter.swift
[16/57] Compiling SymbolKit Generics.swift
[17/57] Compiling SymbolKit Namespace.swift
[18/57] Compiling SymbolKit Symbol.swift
[19/57] Compiling SymbolKit SymbolKind.swift
[20/57] Compiling SymbolKit SymbolGraph.swift
[21/57] Compiling SymbolKit GraphCollector.swift
[22/57] Compiling SymbolKit SemanticVersion.swift
[23/57] Compiling SymbolKit AccessControl.swift
[24/57] Compiling SymbolKit Availability.swift
[25/57] Compiling SymbolKit AvailabilityItem.swift
[26/57] Compiling SymbolKit Domain.swift
[27/57] Compiling SymbolKit Identifier.swift
[28/57] Compiling SymbolKit KindIdentifier.swift
[29/57] Compiling SymbolKit Location.swift
[30/57] Compiling SymbolKit Mutability.swift
[31/57] Compiling SymbolKit SourceRange.swift
[32/57] Compiling SymbolKit Metadata.swift
[33/57] Compiling SymbolKit Module.swift
[34/57] Compiling SymbolKit OperatingSystem.swift
[35/57] Compiling SymbolKit Platform.swift
[36/57] Compiling SymbolKit Mixin+Equals.swift
[37/57] Compiling SymbolKit Mixin+Hash.swift
[38/57] Compiling SymbolKit Mixin.swift
[39/57] Compiling SymbolKit LineList.swift
[40/57] Compiling SymbolKit Position.swift
[41/57] Compiling SymbolKit Names.swift
[42/57] Compiling SymbolKit SPI.swift
[43/57] Compiling SymbolKit Snippet.swift
[44/57] Compiling SymbolKit Extension.swift
[45/57] Emitting module SymbolKit
[46/57] Compiling SymbolKit Relationship.swift
[47/57] Compiling SymbolKit RelationshipKind.swift
[48/57] Compiling SymbolKit SourceOrigin.swift
[49/57] Compiling SymbolKit GenericConstraints.swift
[50/57] Compiling SymbolKit Swift.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 SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Emitting module snippet_extract
[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.66s)
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/18] Compiling OpenAIRealtime UnsafeInteriorMutable.swift
[3/18] Compiling OpenAIRealtime Connector.swift
[4/18] Compiling OpenAIRealtime Session.swift
[5/18] Compiling OpenAIRealtime OpenAIRealtime.swift
[6/18] Compiling OpenAIRealtime Item.swift
[7/18] Compiling OpenAIRealtime Response.swift
[8/18] Compiling OpenAIRealtime String+random.swift
[9/18] Compiling OpenAIRealtime ClientEvent.swift
[10/18] Compiling OpenAIRealtime Collection+safe.swift
[11/18] Compiling OpenAIRealtime Continuation+error.swift
[12/18] Compiling OpenAIRealtime ServerError.swift
[13/18] Compiling OpenAIRealtime ServerEvent.swift
[14/19] Compiling OpenAIRealtime WebRTCConnector.swift
[15/19] Compiling OpenAIRealtime WebSocketConnector.swift
[16/19] Compiling OpenAIRealtime Conversation.swift
[17/19] Compiling OpenAIRealtime AVAudioPCMBuffer+fromData.swift
[18/19] Emitting module OpenAIRealtime
[19/19] Compiling OpenAIRealtime UnsafeMutableArray.swift
Build of target: 'OpenAIRealtime' complete! (1.60s)
error: unspecified("terminated(1): /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-symbolgraph-extract -sdk /Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -F /Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -I /Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -L /Applications/Xcode-16.2.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 -module-name OpenAIRealtime -target arm64-apple-macosx14.0 -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ModuleCache -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-5BDAB9E9C0126B9D.txt
Build of product 'snippet-extract' complete! (0.14s)
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
Build of target: 'OpenAIRealtime' complete! (0.15s)
error: unspecified("terminated(1): /Applications/Xcode-16.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-symbolgraph-extract -sdk /Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -F /Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -I /Applications/Xcode-16.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -L /Applications/Xcode-16.2.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 -module-name OpenAIRealtime -target arm64-apple-macosx14.0 -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ModuleCache -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.2.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.