The Swift Package Index logo.Swift Package Index

Build Information

Successful build of XPCConnectionSession, reference main (7286e3), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 12:56:05 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/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.2
Building package at path:  $PWD
https://github.com/ChimeHQ/XPCConnectionSession.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/6] Compiling XPCConnectionSession XPCReceivedConnectionMessage.swift
[4/6] Compiling XPCConnectionSession XPCSession+Async.swift
/Users/admin/builder/spi-builder-workspace/Sources/XPCConnectionSession/XPCSession+Async.swift:9:14: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
 7 | 	/// Sends a message over the session to the destination service asynchronously and returns the reply.
 8 | 	@_unsafeInheritExecutor
 9 | 	public func send<Message: Encodable, Reply: Decodable>(_ message: Message) async throws -> Reply {
   |              `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
10 | 		try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Reply, any Error>) in
11 | 			do {
/Users/admin/builder/spi-builder-workspace/Sources/XPCConnectionSession/XPCSession+Async.swift:12:38: warning: capture of non-sendable type 'Reply.Type' in an isolated closure
10 | 		try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Reply, any Error>) in
11 | 			do {
12 | 				try send(message) { continuation.resume(with: $0) }
   |                                      `- warning: capture of non-sendable type 'Reply.Type' in an isolated closure
13 | 			} catch {
14 | 				continuation.resume(throwing: error)
/Users/admin/builder/spi-builder-workspace/Sources/XPCConnectionSession/XPCSession+Async.swift:10:48: warning: capture of non-sendable type 'Reply.Type' in an isolated closure
 8 | 	@_unsafeInheritExecutor
 9 | 	public func send<Message: Encodable, Reply: Decodable>(_ message: Message) async throws -> Reply {
10 | 		try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Reply, any Error>) in
   |                                                `- warning: capture of non-sendable type 'Reply.Type' in an isolated closure
11 | 			do {
12 | 				try send(message) { continuation.resume(with: $0) }
[5/6] Compiling XPCConnectionSession XPCConnectionSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/XPCConnectionSession/XPCConnectionSession.swift:145:14: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
143 | 	/// Sends a message to the remote service.
144 | 	@_unsafeInheritExecutor
145 | 	public func send<Message: Encodable, Reply: Decodable & Sendable>(_ message: Message) async throws -> Reply {
    |              `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
146 | 		try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Reply, any Error>) in
147 | 			do {
/Users/admin/builder/spi-builder-workspace/Sources/XPCConnectionSession/XPCConnectionSession.swift:107:55: warning: capture of non-sendable type 'Reply.Type' in an isolated closure
105 | 	}
106 |
107 | 	public func send<Message, Reply>(_ message: Message, replyHandler: @Sendable @escaping (Result<Reply, Error>) -> Void) throws where Message : Encodable, Reply : Decodable {
    |                                                       `- warning: capture of non-sendable type 'Reply.Type' in an isolated closure
108 | 		let messageData = try JSONEncoder().encode(message)
109 |
/Users/admin/builder/spi-builder-workspace/Sources/XPCConnectionSession/XPCConnectionSession.swift:116:5: warning: capture of non-sendable type 'Reply.Type' in an isolated closure
114 |
115 | 			guard let channel = proxy as? XPCConnectionSessionCommunicationProtocol else {
116 | 				replyHandler(.failure(XPCConnectionSessionError.serviceTypeMismatch))
    |     `- warning: capture of non-sendable type 'Reply.Type' in an isolated closure
117 | 				return
118 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/XPCConnectionSession/XPCConnectionSession.swift:122:36: warning: capture of non-sendable type 'Reply.Type' in an isolated closure; this is an error in the Swift 6 language mode
120 | 			channel.processMessage(messageData) { data in
121 | 				do {
122 | 					let reply = try JSONDecoder().decode(Reply.self, from: data)
    |                                    `- warning: capture of non-sendable type 'Reply.Type' in an isolated closure; this is an error in the Swift 6 language mode
123 |
124 | 					replyHandler(.success(reply))
/Users/admin/builder/spi-builder-workspace/Sources/XPCConnectionSession/XPCConnectionSession.swift:107:55: warning: capture of non-sendable type 'Reply.Type' in an isolated closure; this is an error in the Swift 6 language mode
105 | 	}
106 |
107 | 	public func send<Message, Reply>(_ message: Message, replyHandler: @Sendable @escaping (Result<Reply, Error>) -> Void) throws where Message : Encodable, Reply : Decodable {
    |                                                       `- warning: capture of non-sendable type 'Reply.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | 		let messageData = try JSONEncoder().encode(message)
109 |
[6/6] Emitting module XPCConnectionSession
/Users/admin/builder/spi-builder-workspace/Sources/XPCConnectionSession/XPCConnectionSession.swift:145:14: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
143 | 	/// Sends a message to the remote service.
144 | 	@_unsafeInheritExecutor
145 | 	public func send<Message: Encodable, Reply: Decodable & Sendable>(_ message: Message) async throws -> Reply {
    |              `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
146 | 		try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Reply, any Error>) in
147 | 			do {
/Users/admin/builder/spi-builder-workspace/Sources/XPCConnectionSession/XPCSession+Async.swift:9:14: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
 7 | 	/// Sends a message over the session to the destination service asynchronously and returns the reply.
 8 | 	@_unsafeInheritExecutor
 9 | 	public func send<Message: Encodable, Reply: Decodable>(_ message: Message) async throws -> Reply {
   |              `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
10 | 		try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Reply, any Error>) in
11 | 			do {
Build complete! (2.87s)
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.