This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 XPCConnectionSession with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/XPCConnectionSession.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChimeHQ/XPCConnectionSession
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7286e38 funding
Cloned https://github.com/ChimeHQ/XPCConnectionSession.git
Revision (git rev-parse @):
7286e38e7c8a6abb2b2dea5c172509c55f470409
SUCCESS checkout https://github.com/ChimeHQ/XPCConnectionSession.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/ChimeHQ/XPCConnectionSession.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/6] Emitting module XPCConnectionSession
[4/6] Compiling XPCConnectionSession XPCSession+Async.swift
[5/6] Compiling XPCConnectionSession XPCConnectionSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/XPCConnectionSession/XPCConnectionSession.swift:137:41: warning: capture of 'incomingMessageHandler' with non-sendable type '(XPCReceivedConnectionMessage) -> (any Encodable)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | 		queue.async {
136 | 			// I'm not sure how, or even if it is possible to get rid of this warning and also maintain backwards compatibility
137 | 			self.channelHandler.messageHandler = incomingMessageHandler
    |                                         |- warning: capture of 'incomingMessageHandler' with non-sendable type '(XPCReceivedConnectionMessage) -> (any Encodable)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
138 | 		}
139 | 	}
[6/6] Compiling XPCConnectionSession XPCReceivedConnectionMessage.swift
Build complete! (17.07s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "XPCConnectionSession",
  "name" : "XPCConnectionSession",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "XPCConnectionSession",
      "targets" : [
        "XPCConnectionSession"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XPCConnectionSessionTests",
      "module_type" : "SwiftTarget",
      "name" : "XPCConnectionSessionTests",
      "path" : "Tests/XPCConnectionSessionTests",
      "sources" : [
        "XPCConnectionSessionTests.swift"
      ],
      "target_dependencies" : [
        "XPCConnectionSession"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XPCConnectionSession",
      "module_type" : "SwiftTarget",
      "name" : "XPCConnectionSession",
      "path" : "Sources/XPCConnectionSession",
      "product_memberships" : [
        "XPCConnectionSession"
      ],
      "sources" : [
        "XPCConnectionSession.swift",
        "XPCReceivedConnectionMessage.swift",
        "XPCSession+Async.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.