Build Information
Successful build of IomtFhirClient, reference master (e98ee3
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 12:47:46 UTC.
Swift 6 data race errors: 1
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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/microsoft/iomt-fhir-client.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/microsoft/iomt-fhir-client
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e98ee39 Merge pull request #1 from microsoft/personal/namalu/installation-documentation
Cloned https://github.com/microsoft/iomt-fhir-client.git
Revision (git rev-parse @):
e98ee39128a7acf650dcf907a77767615c0c635d
SUCCESS checkout https://github.com/microsoft/iomt-fhir-client.git at master
========================================
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": "iomt-fhir-client",
"name": "IomtFhirClient",
"url": "https://github.com/microsoft/iomt-fhir-client.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/iomt-fhir-client",
"dependencies": [
]
}
]
}
Fetching https://github.com/microsoft/iomt-fhir-client.git
[1/82] Fetching iomt-fhir-client
Fetched https://github.com/microsoft/iomt-fhir-client.git from cache (0.67s)
Creating working copy for https://github.com/microsoft/iomt-fhir-client.git
Working copy of https://github.com/microsoft/iomt-fhir-client.git resolved at master (e98ee39)
warning: '.resolve-product-dependencies': dependency 'iomt-fhir-client' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/microsoft/iomt-fhir-client.git
https://github.com/microsoft/iomt-fhir-client.git
{
"dependencies" : [
],
"manifest_display_name" : "IomtFhirClient",
"name" : "IomtFhirClient",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
}
],
"products" : [
{
"name" : "IomtFhirClient",
"targets" : [
"IomtFhirClient"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "IomtFhirClient",
"module_type" : "SwiftTarget",
"name" : "IomtFhirClient",
"path" : "Sources",
"product_memberships" : [
"IomtFhirClient"
],
"sources" : [
"ConnectionManager.swift",
"ConnectionManagerProtocol.swift",
"EventData.swift",
"EventDataSender.swift",
"EventDataSenderProtocol.swift",
"EventHubsConnection.swift",
"Extensions/UrlExtensions.swift",
"Http/HttpEventDataSender.swift",
"Http/HttpEventHubsConnection.swift",
"Http/HttpIomtFhirClient.swift",
"Http/HttpMessage.swift",
"Http/HttpMessageConverter.swift",
"IomtFhirClient.swift",
"Primitives/DateFactory.swift",
"Primitives/DateFactoryProtocol.swift",
"Primitives/EventHubsConnectionStringBuilder.swift",
"Primitives/EventHubsMessageError.swift",
"Primitives/EventHubsTokenError.swift",
"Primitives/IomtFhirClientError.swift",
"Primitives/SecurityToken.swift",
"Primitives/SharedAccessSignatureToken.swift",
"Primitives/SharedAccessSignatureTokenProvider.swift",
"Primitives/TokenProviderProtocol.swift",
"Primitives/TokenScope.swift",
"Primitives/TransportType.swift"
],
"type" : "library"
}
],
"tools_version" : "5.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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/26] Emitting module IomtFhirClient
/Users/admin/builder/spi-builder-workspace/Sources/Primitives/IomtFhirClientError.swift:9:10: warning: associated value 'unsupportedTransportType(transportType:)' of 'Sendable'-conforming enum 'IomtFhirClientError' has non-sendable type 'TransportType'; this is an error in the Swift 6 language mode
7 | {
8 | case invalidConnectionString(reason: String)
9 | case unsupportedTransportType(transportType: TransportType)
| `- warning: associated value 'unsupportedTransportType(transportType:)' of 'Sendable'-conforming enum 'IomtFhirClientError' has non-sendable type 'TransportType'; this is an error in the Swift 6 language mode
10 | case eventDataEmpty
11 | case unableToCreateRequest
/Users/admin/builder/spi-builder-workspace/Sources/Primitives/TransportType.swift:6:13: note: consider making enum 'TransportType' conform to the 'Sendable' protocol
4 | import Foundation
5 |
6 | public enum TransportType : String
| `- note: consider making enum 'TransportType' conform to the 'Sendable' protocol
7 | {
8 | case https = "https"
[4/28] Compiling IomtFhirClient TokenScope.swift
[5/28] Compiling IomtFhirClient TransportType.swift
[6/28] Compiling IomtFhirClient UrlExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Http/HttpEventHubsConnection.swift:33:13: warning: capture of 'completion' with non-sendable type '((Bool, (any Error)?) -> Void)?' in a '@Sendable' closure
31 | let request = try generateRequest(httpMessage: httpMessage)
32 | let task = session.uploadTask(with: request, from: httpMessage.httpBody) { (data, response, error) in
33 | completion?(self.isSuccessful(response: response, error: error), error)
| |- warning: capture of 'completion' with non-sendable type '((Bool, (any Error)?) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/Http/HttpEventHubsConnection.swift:33:25: warning: capture of 'self' with non-sendable type 'HttpEventHubsConnection' in a '@Sendable' closure
4 | import Foundation
5 |
6 | internal class HttpEventHubsConnection : EventHubsConnection
| `- note: class 'HttpEventHubsConnection' does not conform to the 'Sendable' protocol
7 | {
8 | internal var session = URLSession.shared
:
31 | let request = try generateRequest(httpMessage: httpMessage)
32 | let task = session.uploadTask(with: request, from: httpMessage.httpBody) { (data, response, error) in
33 | completion?(self.isSuccessful(response: response, error: error), error)
| `- warning: capture of 'self' with non-sendable type 'HttpEventHubsConnection' in a '@Sendable' closure
34 | }
35 |
[7/28] Compiling IomtFhirClient HttpEventDataSender.swift
/Users/admin/builder/spi-builder-workspace/Sources/Http/HttpEventHubsConnection.swift:33:13: warning: capture of 'completion' with non-sendable type '((Bool, (any Error)?) -> Void)?' in a '@Sendable' closure
31 | let request = try generateRequest(httpMessage: httpMessage)
32 | let task = session.uploadTask(with: request, from: httpMessage.httpBody) { (data, response, error) in
33 | completion?(self.isSuccessful(response: response, error: error), error)
| |- warning: capture of 'completion' with non-sendable type '((Bool, (any Error)?) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/Http/HttpEventHubsConnection.swift:33:25: warning: capture of 'self' with non-sendable type 'HttpEventHubsConnection' in a '@Sendable' closure
4 | import Foundation
5 |
6 | internal class HttpEventHubsConnection : EventHubsConnection
| `- note: class 'HttpEventHubsConnection' does not conform to the 'Sendable' protocol
7 | {
8 | internal var session = URLSession.shared
:
31 | let request = try generateRequest(httpMessage: httpMessage)
32 | let task = session.uploadTask(with: request, from: httpMessage.httpBody) { (data, response, error) in
33 | completion?(self.isSuccessful(response: response, error: error), error)
| `- warning: capture of 'self' with non-sendable type 'HttpEventHubsConnection' in a '@Sendable' closure
34 | }
35 |
[8/28] Compiling IomtFhirClient HttpEventHubsConnection.swift
/Users/admin/builder/spi-builder-workspace/Sources/Http/HttpEventHubsConnection.swift:33:13: warning: capture of 'completion' with non-sendable type '((Bool, (any Error)?) -> Void)?' in a '@Sendable' closure
31 | let request = try generateRequest(httpMessage: httpMessage)
32 | let task = session.uploadTask(with: request, from: httpMessage.httpBody) { (data, response, error) in
33 | completion?(self.isSuccessful(response: response, error: error), error)
| |- warning: capture of 'completion' with non-sendable type '((Bool, (any Error)?) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/Http/HttpEventHubsConnection.swift:33:25: warning: capture of 'self' with non-sendable type 'HttpEventHubsConnection' in a '@Sendable' closure
4 | import Foundation
5 |
6 | internal class HttpEventHubsConnection : EventHubsConnection
| `- note: class 'HttpEventHubsConnection' does not conform to the 'Sendable' protocol
7 | {
8 | internal var session = URLSession.shared
:
31 | let request = try generateRequest(httpMessage: httpMessage)
32 | let task = session.uploadTask(with: request, from: httpMessage.httpBody) { (data, response, error) in
33 | completion?(self.isSuccessful(response: response, error: error), error)
| `- warning: capture of 'self' with non-sendable type 'HttpEventHubsConnection' in a '@Sendable' closure
34 | }
35 |
[9/28] Compiling IomtFhirClient HttpIomtFhirClient.swift
[10/28] Compiling IomtFhirClient HttpMessage.swift
[11/28] Compiling IomtFhirClient HttpMessageConverter.swift
[12/28] Compiling IomtFhirClient ConnectionManager.swift
[13/28] Compiling IomtFhirClient ConnectionManagerProtocol.swift
[14/28] Compiling IomtFhirClient EventData.swift
[15/28] Compiling IomtFhirClient SecurityToken.swift
[16/28] Compiling IomtFhirClient SharedAccessSignatureToken.swift
[17/28] Compiling IomtFhirClient SharedAccessSignatureTokenProvider.swift
[18/28] Compiling IomtFhirClient TokenProviderProtocol.swift
[19/28] Compiling IomtFhirClient EventHubsTokenError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Primitives/IomtFhirClientError.swift:9:10: warning: associated value 'unsupportedTransportType(transportType:)' of 'Sendable'-conforming enum 'IomtFhirClientError' has non-sendable type 'TransportType'; this is an error in the Swift 6 language mode
7 | {
8 | case invalidConnectionString(reason: String)
9 | case unsupportedTransportType(transportType: TransportType)
| `- warning: associated value 'unsupportedTransportType(transportType:)' of 'Sendable'-conforming enum 'IomtFhirClientError' has non-sendable type 'TransportType'; this is an error in the Swift 6 language mode
10 | case eventDataEmpty
11 | case unableToCreateRequest
/Users/admin/builder/spi-builder-workspace/Sources/Primitives/TransportType.swift:6:13: note: consider making enum 'TransportType' conform to the 'Sendable' protocol
4 | import Foundation
5 |
6 | public enum TransportType : String
| `- note: consider making enum 'TransportType' conform to the 'Sendable' protocol
7 | {
8 | case https = "https"
[20/28] Compiling IomtFhirClient IomtFhirClientError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Primitives/IomtFhirClientError.swift:9:10: warning: associated value 'unsupportedTransportType(transportType:)' of 'Sendable'-conforming enum 'IomtFhirClientError' has non-sendable type 'TransportType'; this is an error in the Swift 6 language mode
7 | {
8 | case invalidConnectionString(reason: String)
9 | case unsupportedTransportType(transportType: TransportType)
| `- warning: associated value 'unsupportedTransportType(transportType:)' of 'Sendable'-conforming enum 'IomtFhirClientError' has non-sendable type 'TransportType'; this is an error in the Swift 6 language mode
10 | case eventDataEmpty
11 | case unableToCreateRequest
/Users/admin/builder/spi-builder-workspace/Sources/Primitives/TransportType.swift:6:13: note: consider making enum 'TransportType' conform to the 'Sendable' protocol
4 | import Foundation
5 |
6 | public enum TransportType : String
| `- note: consider making enum 'TransportType' conform to the 'Sendable' protocol
7 | {
8 | case https = "https"
[21/28] Compiling IomtFhirClient EventHubsConnectionStringBuilder.swift
[22/28] Compiling IomtFhirClient EventHubsMessageError.swift
[23/28] Compiling IomtFhirClient EventDataSender.swift
[24/28] Compiling IomtFhirClient EventDataSenderProtocol.swift
[25/28] Compiling IomtFhirClient EventHubsConnection.swift
[26/28] Compiling IomtFhirClient IomtFhirClient.swift
[27/28] Compiling IomtFhirClient DateFactory.swift
[28/28] Compiling IomtFhirClient DateFactoryProtocol.swift
Build complete! (5.82s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "IomtFhirClient",
"name" : "IomtFhirClient",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
}
],
"products" : [
{
"name" : "IomtFhirClient",
"targets" : [
"IomtFhirClient"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "IomtFhirClient",
"module_type" : "SwiftTarget",
"name" : "IomtFhirClient",
"path" : "Sources",
"product_memberships" : [
"IomtFhirClient"
],
"sources" : [
"ConnectionManager.swift",
"ConnectionManagerProtocol.swift",
"EventData.swift",
"EventDataSender.swift",
"EventDataSenderProtocol.swift",
"EventHubsConnection.swift",
"Extensions/UrlExtensions.swift",
"Http/HttpEventDataSender.swift",
"Http/HttpEventHubsConnection.swift",
"Http/HttpIomtFhirClient.swift",
"Http/HttpMessage.swift",
"Http/HttpMessageConverter.swift",
"IomtFhirClient.swift",
"Primitives/DateFactory.swift",
"Primitives/DateFactoryProtocol.swift",
"Primitives/EventHubsConnectionStringBuilder.swift",
"Primitives/EventHubsMessageError.swift",
"Primitives/EventHubsTokenError.swift",
"Primitives/IomtFhirClientError.swift",
"Primitives/SecurityToken.swift",
"Primitives/SharedAccessSignatureToken.swift",
"Primitives/SharedAccessSignatureTokenProvider.swift",
"Primitives/TokenProviderProtocol.swift",
"Primitives/TokenScope.swift",
"Primitives/TransportType.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.