Build Information
Failed to build SwiftMsQuic, reference main (ed759d), with Swift 6.1 for macOS (SPM) on 25 Jun 2026 22:14:27 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/team-unstablers/swift-msquic.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/team-unstablers/swift-msquic
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ed759df Merge branch 'swift6-concurrency'
Cloned https://github.com/team-unstablers/swift-msquic.git
Revision (git rev-parse @):
ed759dfcc97248ea6168d2d4e5c09869b81d6a4e
SUCCESS checkout https://github.com/team-unstablers/swift-msquic.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/team-unstablers/swift-msquic.git
https://github.com/team-unstablers/swift-msquic.git
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "SwiftMsQuic",
"name" : "SwiftMsQuic",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "SwiftMsQuic",
"targets" : [
"MsQuic",
"SwiftMsQuic"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "SwiftMsQuicStatic",
"targets" : [
"MsQuic",
"SwiftMsQuic"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "SwiftMsQuicExample",
"targets" : [
"SwiftMsQuicExample"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "SwiftMsQuicOpenSSLUtils",
"module_type" : "ClangTarget",
"name" : "SwiftMsQuicOpenSSLUtils",
"path" : "Sources/SwiftMsQuicOpenSSLUtils",
"product_memberships" : [
"SwiftMsQuic",
"SwiftMsQuicStatic",
"SwiftMsQuicExample"
],
"sources" : [
"CertBridge.m"
],
"target_dependencies" : [
"MsQuic"
],
"type" : "library"
},
{
"c99name" : "SwiftMsQuicExample",
"module_type" : "SwiftTarget",
"name" : "SwiftMsQuicExample",
"path" : "Sources/SwiftMsQuicExample",
"product_memberships" : [
"SwiftMsQuicExample"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftMsQuic"
],
"type" : "executable"
},
{
"c99name" : "SwiftMsQuic",
"module_type" : "SwiftTarget",
"name" : "SwiftMsQuic",
"path" : "Sources/SwiftMsQuic",
"product_memberships" : [
"SwiftMsQuic",
"SwiftMsQuicStatic",
"SwiftMsQuicExample"
],
"sources" : [
"Configuration/QuicConfiguration.swift",
"Configuration/QuicCredentialConfig.swift",
"Configuration/QuicExecutionProfile.swift",
"Configuration/QuicRegistration.swift",
"Configuration/QuicRegistrationConfig.swift",
"Configuration/QuicSettings.swift",
"Core/CInteropHandle.swift",
"Core/QuicBuffer.swift",
"Core/QuicError.swift",
"Core/QuicObject.swift",
"Core/QuicStatus.swift",
"Events/QuicConnectionEvent.swift",
"Events/QuicEventConverter.swift",
"Events/QuicListenerEvent.swift",
"Events/QuicStreamEvent.swift",
"Handlers/QuicConnection.swift",
"Handlers/QuicListener.swift",
"Handlers/QuicStream.swift",
"SwiftMsQuicAPI.swift",
"Utilities/QuicAddress.swift",
"Utilities/QuicCallbackThunks.swift",
"Utilities/QuicCertificate.swift",
"Utilities/QuicCertificateValidationFlags.swift",
"Utilities/QuicFlags.swift"
],
"target_dependencies" : [
"MsQuic",
"SwiftMsQuicOpenSSLUtils"
],
"type" : "library"
},
{
"c99name" : "MsQuicDebug",
"module_type" : "BinaryTarget",
"name" : "MsQuicDebug",
"path" : "remote/archive/MsQuic-2.5.6-tuvariant+260410-DEBUG-darwin-multiarch-static-unsigned.zip",
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "MsQuic",
"module_type" : "BinaryTarget",
"name" : "MsQuic",
"path" : "remote/archive/MsQuic-2.5.6-tuvariant+260410-RELEASE-darwin-multiarch-static-unsigned.zip",
"product_memberships" : [
"SwiftMsQuic",
"SwiftMsQuicStatic",
"SwiftMsQuicExample"
],
"sources" : [
],
"type" : "binary"
}
],
"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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/15] Copying libmsquic.a
[2/15] Write sources
[5/15] Write SwiftMsQuicExample-entitlement.plist
[6/15] Write swift-version-2F0A5646E1D333AE.txt
[7/15] Compiling SwiftMsQuicOpenSSLUtils CertBridge.m
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/38] Emitting module SwiftMsQuic
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:136:10: error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
134 | /// - Important: The `certificate` and `chain` pointers are only valid during the event callback.
135 | /// If you need to retain the certificate data, copy it before the callback returns.
136 | case peerCertificateReceived(
| `- error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
137 | certificate: QuicCertificate,
138 | chain: [QuicCertificate],
Security.SecCertificate:1:14: note: class 'SecCertificate' does not conform to the 'Sendable' protocol
1 | public class SecCertificate : _CFObject {
| `- note: class 'SecCertificate' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:8:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Security' as warnings
6 | //
7 |
8 | import Foundation
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Security' as warnings
9 | import MsQuic
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:136:10: error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
134 | /// - Important: The `certificate` and `chain` pointers are only valid during the event callback.
135 | /// If you need to retain the certificate data, copy it before the callback returns.
136 | case peerCertificateReceived(
| `- error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
137 | certificate: QuicCertificate,
138 | chain: [QuicCertificate],
Security.SecCertificate:1:14: note: class 'SecCertificate' does not conform to the 'Sendable' protocol
1 | public class SecCertificate : _CFObject {
| `- note: class 'SecCertificate' does not conform to the 'Sendable' protocol
2 | }
[10/40] Compiling SwiftMsQuic QuicCertificateValidationFlags.swift
[11/40] Compiling SwiftMsQuic QuicFlags.swift
[12/40] Compiling SwiftMsQuic CInteropHandle.swift
[13/40] Compiling SwiftMsQuic QuicBuffer.swift
[14/40] Compiling SwiftMsQuic QuicError.swift
[15/40] Compiling SwiftMsQuic QuicObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:136:10: error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
134 | /// - Important: The `certificate` and `chain` pointers are only valid during the event callback.
135 | /// If you need to retain the certificate data, copy it before the callback returns.
136 | case peerCertificateReceived(
| `- error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
137 | certificate: QuicCertificate,
138 | chain: [QuicCertificate],
Security.SecCertificate:1:14: note: class 'SecCertificate' does not conform to the 'Sendable' protocol
1 | public class SecCertificate : _CFObject {
| `- note: class 'SecCertificate' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:8:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Security' as warnings
6 | //
7 |
8 | import Foundation
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Security' as warnings
9 | import MsQuic
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:136:10: error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
134 | /// - Important: The `certificate` and `chain` pointers are only valid during the event callback.
135 | /// If you need to retain the certificate data, copy it before the callback returns.
136 | case peerCertificateReceived(
| `- error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
137 | certificate: QuicCertificate,
138 | chain: [QuicCertificate],
Security.SecCertificate:1:14: note: class 'SecCertificate' does not conform to the 'Sendable' protocol
1 | public class SecCertificate : _CFObject {
| `- note: class 'SecCertificate' does not conform to the 'Sendable' protocol
2 | }
[16/40] Compiling SwiftMsQuic QuicStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:136:10: error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
134 | /// - Important: The `certificate` and `chain` pointers are only valid during the event callback.
135 | /// If you need to retain the certificate data, copy it before the callback returns.
136 | case peerCertificateReceived(
| `- error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
137 | certificate: QuicCertificate,
138 | chain: [QuicCertificate],
Security.SecCertificate:1:14: note: class 'SecCertificate' does not conform to the 'Sendable' protocol
1 | public class SecCertificate : _CFObject {
| `- note: class 'SecCertificate' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:8:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Security' as warnings
6 | //
7 |
8 | import Foundation
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Security' as warnings
9 | import MsQuic
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:136:10: error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
134 | /// - Important: The `certificate` and `chain` pointers are only valid during the event callback.
135 | /// If you need to retain the certificate data, copy it before the callback returns.
136 | case peerCertificateReceived(
| `- error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
137 | certificate: QuicCertificate,
138 | chain: [QuicCertificate],
Security.SecCertificate:1:14: note: class 'SecCertificate' does not conform to the 'Sendable' protocol
1 | public class SecCertificate : _CFObject {
| `- note: class 'SecCertificate' does not conform to the 'Sendable' protocol
2 | }
[17/40] Compiling SwiftMsQuic QuicConnectionEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:136:10: error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
134 | /// - Important: The `certificate` and `chain` pointers are only valid during the event callback.
135 | /// If you need to retain the certificate data, copy it before the callback returns.
136 | case peerCertificateReceived(
| `- error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
137 | certificate: QuicCertificate,
138 | chain: [QuicCertificate],
Security.SecCertificate:1:14: note: class 'SecCertificate' does not conform to the 'Sendable' protocol
1 | public class SecCertificate : _CFObject {
| `- note: class 'SecCertificate' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:8:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Security' as warnings
6 | //
7 |
8 | import Foundation
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Security' as warnings
9 | import MsQuic
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:136:10: error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
134 | /// - Important: The `certificate` and `chain` pointers are only valid during the event callback.
135 | /// If you need to retain the certificate data, copy it before the callback returns.
136 | case peerCertificateReceived(
| `- error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
137 | certificate: QuicCertificate,
138 | chain: [QuicCertificate],
Security.SecCertificate:1:14: note: class 'SecCertificate' does not conform to the 'Sendable' protocol
1 | public class SecCertificate : _CFObject {
| `- note: class 'SecCertificate' does not conform to the 'Sendable' protocol
2 | }
[18/40] Compiling SwiftMsQuic QuicStreamEvent.swift
[19/40] Compiling SwiftMsQuic QuicConnection.swift
[20/40] Compiling SwiftMsQuic QuicConfiguration.swift
[21/40] Compiling SwiftMsQuic QuicCredentialConfig.swift
[22/40] Compiling SwiftMsQuic QuicExecutionProfile.swift
[23/40] Compiling SwiftMsQuic QuicCallbackThunks.swift
[24/40] Compiling SwiftMsQuic QuicCertificate.swift
[25/40] Compiling SwiftMsQuic QuicEventConverter.swift
[26/40] Compiling SwiftMsQuic QuicListenerEvent.swift
[27/40] Compiling SwiftMsQuic QuicRegistration.swift
[28/40] Compiling SwiftMsQuic QuicRegistrationConfig.swift
[29/40] Compiling SwiftMsQuic QuicSettings.swift
[30/40] Compiling SwiftMsQuic QuicListener.swift
[31/40] Compiling SwiftMsQuic QuicStream.swift
[32/40] Compiling SwiftMsQuic SwiftMsQuicAPI.swift
[33/40] Compiling SwiftMsQuic QuicAddress.swift
Fetching https://github.com/apple/swift-docc-plugin
[1/2299] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.20s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (3.69s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.86s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.55s)
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/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Downloading binary artifact https://github.com/team-unstablers/msquic/releases/download/v2.5.6-tuvariant%2B260410/MsQuic-2.5.6-tuvariant+260410-RELEASE-darwin-multiarch-static-unsigned.zip
Downloading binary artifact https://github.com/team-unstablers/msquic/releases/download/v2.5.6-tuvariant%2B260410/MsQuic-2.5.6-tuvariant+260410-DEBUG-darwin-multiarch-static-unsigned.zip
[16375/13674828] Downloading https://github.com/team-unstablers/msquic/releases/download/v2.5.6-tuvariant%2B260410/MsQuic-2.5.6-tuvariant+260410-RELEASE-darwin-multiarch-static-unsigned.zip
[5546312/36594060] Downloading https://github.com/team-unstablers/msquic/releases/download/v2.5.6-tuvariant%2B260410/MsQuic-2.5.6-tuvariant+260410-RELEASE-darwin-multiarch-static-unsigned.zip, https://github.com/team-unstablers/msquic/releases/download/v2.5.6-tuvariant%2B260410/MsQuic-2.5.6-tuvariant+260410-DEBUG-darwin-multiarch-static-unsigned.zip
Downloaded https://github.com/team-unstablers/msquic/releases/download/v2.5.6-tuvariant%2B260410/MsQuic-2.5.6-tuvariant+260410-RELEASE-darwin-multiarch-static-unsigned.zip (1.13s)
Downloaded https://github.com/team-unstablers/msquic/releases/download/v2.5.6-tuvariant%2B260410/MsQuic-2.5.6-tuvariant+260410-DEBUG-darwin-multiarch-static-unsigned.zip (1.48s)
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/10] Write swift-version-2F0A5646E1D333AE.txt
[4/33] Compiling SwiftMsQuic QuicObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:136:10: error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
134 | /// - Important: The `certificate` and `chain` pointers are only valid during the event callback.
135 | /// If you need to retain the certificate data, copy it before the callback returns.
136 | case peerCertificateReceived(
| `- error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
137 | certificate: QuicCertificate,
138 | chain: [QuicCertificate],
Security.SecCertificate:1:14: note: class 'SecCertificate' does not conform to the 'Sendable' protocol
1 | public class SecCertificate : _CFObject {
| `- note: class 'SecCertificate' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:8:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Security' as warnings
6 | //
7 |
8 | import Foundation
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Security' as warnings
9 | import MsQuic
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:136:10: error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
134 | /// - Important: The `certificate` and `chain` pointers are only valid during the event callback.
135 | /// If you need to retain the certificate data, copy it before the callback returns.
136 | case peerCertificateReceived(
| `- error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
137 | certificate: QuicCertificate,
138 | chain: [QuicCertificate],
Security.SecCertificate:1:14: note: class 'SecCertificate' does not conform to the 'Sendable' protocol
1 | public class SecCertificate : _CFObject {
| `- note: class 'SecCertificate' does not conform to the 'Sendable' protocol
2 | }
[5/33] Compiling SwiftMsQuic QuicStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:136:10: error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
134 | /// - Important: The `certificate` and `chain` pointers are only valid during the event callback.
135 | /// If you need to retain the certificate data, copy it before the callback returns.
136 | case peerCertificateReceived(
| `- error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
137 | certificate: QuicCertificate,
138 | chain: [QuicCertificate],
Security.SecCertificate:1:14: note: class 'SecCertificate' does not conform to the 'Sendable' protocol
1 | public class SecCertificate : _CFObject {
| `- note: class 'SecCertificate' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:8:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Security' as warnings
6 | //
7 |
8 | import Foundation
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Security' as warnings
9 | import MsQuic
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:136:10: error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
134 | /// - Important: The `certificate` and `chain` pointers are only valid during the event callback.
135 | /// If you need to retain the certificate data, copy it before the callback returns.
136 | case peerCertificateReceived(
| `- error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
137 | certificate: QuicCertificate,
138 | chain: [QuicCertificate],
Security.SecCertificate:1:14: note: class 'SecCertificate' does not conform to the 'Sendable' protocol
1 | public class SecCertificate : _CFObject {
| `- note: class 'SecCertificate' does not conform to the 'Sendable' protocol
2 | }
[6/33] Compiling SwiftMsQuic QuicConnectionEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:136:10: error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
134 | /// - Important: The `certificate` and `chain` pointers are only valid during the event callback.
135 | /// If you need to retain the certificate data, copy it before the callback returns.
136 | case peerCertificateReceived(
| `- error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
137 | certificate: QuicCertificate,
138 | chain: [QuicCertificate],
Security.SecCertificate:1:14: note: class 'SecCertificate' does not conform to the 'Sendable' protocol
1 | public class SecCertificate : _CFObject {
| `- note: class 'SecCertificate' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:8:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Security' as warnings
6 | //
7 |
8 | import Foundation
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Security' as warnings
9 | import MsQuic
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:136:10: error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
134 | /// - Important: The `certificate` and `chain` pointers are only valid during the event callback.
135 | /// If you need to retain the certificate data, copy it before the callback returns.
136 | case peerCertificateReceived(
| `- error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
137 | certificate: QuicCertificate,
138 | chain: [QuicCertificate],
Security.SecCertificate:1:14: note: class 'SecCertificate' does not conform to the 'Sendable' protocol
1 | public class SecCertificate : _CFObject {
| `- note: class 'SecCertificate' does not conform to the 'Sendable' protocol
2 | }
[7/35] Compiling SwiftMsQuic SwiftMsQuicAPI.swift
[8/35] Compiling SwiftMsQuic QuicAddress.swift
[9/35] Compiling SwiftMsQuic QuicEventConverter.swift
[10/35] Compiling SwiftMsQuic QuicListenerEvent.swift
[11/35] Compiling SwiftMsQuic QuicCallbackThunks.swift
[12/35] Compiling SwiftMsQuic QuicCertificate.swift
[13/35] Compiling SwiftMsQuic QuicRegistration.swift
[14/35] Compiling SwiftMsQuic QuicRegistrationConfig.swift
[15/35] Compiling SwiftMsQuic QuicSettings.swift
[16/35] Compiling SwiftMsQuic QuicListener.swift
[17/35] Compiling SwiftMsQuic QuicStream.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/35] Compiling SwiftMsQuic QuicStreamEvent.swift
[19/35] Compiling SwiftMsQuic QuicConnection.swift
[20/35] Compiling SwiftMsQuic CInteropHandle.swift
[21/35] Compiling SwiftMsQuic QuicBuffer.swift
[22/35] Compiling SwiftMsQuic QuicError.swift
[23/35] Compiling SwiftMsQuic QuicConfiguration.swift
[24/35] Compiling SwiftMsQuic QuicCredentialConfig.swift
[25/35] Compiling SwiftMsQuic QuicExecutionProfile.swift
[26/35] Emitting module SwiftMsQuic
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:136:10: error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
134 | /// - Important: The `certificate` and `chain` pointers are only valid during the event callback.
135 | /// If you need to retain the certificate data, copy it before the callback returns.
136 | case peerCertificateReceived(
| `- error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
137 | certificate: QuicCertificate,
138 | chain: [QuicCertificate],
Security.SecCertificate:1:14: note: class 'SecCertificate' does not conform to the 'Sendable' protocol
1 | public class SecCertificate : _CFObject {
| `- note: class 'SecCertificate' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:8:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Security' as warnings
6 | //
7 |
8 | import Foundation
| `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Security' as warnings
9 | import MsQuic
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMsQuic/Events/QuicConnectionEvent.swift:136:10: error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
134 | /// - Important: The `certificate` and `chain` pointers are only valid during the event callback.
135 | /// If you need to retain the certificate data, copy it before the callback returns.
136 | case peerCertificateReceived(
| `- error: associated value 'peerCertificateReceived(certificate:chain:deferredErrorFlags:deferredStatus:)' of 'Sendable'-conforming enum 'QuicConnectionEvent' has non-sendable type 'QuicCertificate' (aka 'SecCertificate')
137 | certificate: QuicCertificate,
138 | chain: [QuicCertificate],
Security.SecCertificate:1:14: note: class 'SecCertificate' does not conform to the 'Sendable' protocol
1 | public class SecCertificate : _CFObject {
| `- note: class 'SecCertificate' does not conform to the 'Sendable' protocol
2 | }
[27/35] Compiling SwiftMsQuic QuicCertificateValidationFlags.swift
[28/35] Compiling SwiftMsQuic QuicFlags.swift
BUILD FAILURE 6.1 macosSpm