Build Information
Successful build of Prch with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 1
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/brightdigit/Prch.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/brightdigit/Prch
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5176087 Unhide dev dependencies
Cloned https://github.com/brightdigit/Prch.git
Revision (git rev-parse @):
517608703fde10ef3ce65b3e664ecb01bc1a8d95
SUCCESS checkout https://github.com/brightdigit/Prch.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/brightdigit/Prch.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/45] Emitting module Prch
/Users/admin/builder/spi-builder-workspace/Sources/Prch/ClientResult.swift:43:16: warning: stored property 'response' of 'Sendable'-conforming struct 'FailedResponseError' has non-sendable type 'DefaultResponseType'; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum ClientResult<SuccessType, DefaultResponseType>: CustomStringConvertible,
| `- note: consider making generic parameter 'DefaultResponseType' conform to the 'Sendable' protocol
4 | CustomDebugStringConvertible {
5 | case success(SuccessType)
:
41 | struct FailedResponseError: ResponseError {
42 | public let statusCode: Int
43 | public let response: DefaultResponseType
| `- warning: stored property 'response' of 'Sendable'-conforming struct 'FailedResponseError' has non-sendable type 'DefaultResponseType'; this is an error in the Swift 6 language mode
44 | }
45 |
[4/49] Compiling Prch DeprecatedRequest.swift
[5/49] Compiling Prch DeprecatedResponse.swift
[6/49] Compiling Prch DeprecatedResponseResult.swift
[7/49] Compiling Prch TypeAliases.swift
[8/49] Compiling Prch Model.swift
[9/49] Compiling Prch ClientResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/Prch/ClientResult.swift:43:16: warning: stored property 'response' of 'Sendable'-conforming struct 'FailedResponseError' has non-sendable type 'DefaultResponseType'; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum ClientResult<SuccessType, DefaultResponseType>: CustomStringConvertible,
| `- note: consider making generic parameter 'DefaultResponseType' conform to the 'Sendable' protocol
4 | CustomDebugStringConvertible {
5 | case success(SuccessType)
:
41 | struct FailedResponseError: ResponseError {
42 | public let statusCode: Int
43 | public let response: DefaultResponseType
| `- warning: stored property 'response' of 'Sendable'-conforming struct 'FailedResponseError' has non-sendable type 'DefaultResponseType'; this is an error in the Swift 6 language mode
44 | }
45 |
[10/49] Compiling Prch Coding.swift
/Users/admin/builder/spi-builder-workspace/Sources/Prch/ClientResult.swift:43:16: warning: stored property 'response' of 'Sendable'-conforming struct 'FailedResponseError' has non-sendable type 'DefaultResponseType'; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum ClientResult<SuccessType, DefaultResponseType>: CustomStringConvertible,
| `- note: consider making generic parameter 'DefaultResponseType' conform to the 'Sendable' protocol
4 | CustomDebugStringConvertible {
5 | case success(SuccessType)
:
41 | struct FailedResponseError: ResponseError {
42 | public let statusCode: Int
43 | public let response: DefaultResponseType
| `- warning: stored property 'response' of 'Sendable'-conforming struct 'FailedResponseError' has non-sendable type 'DefaultResponseType'; this is an error in the Swift 6 language mode
44 | }
45 |
[11/49] Compiling Prch DateFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Prch/ClientResult.swift:43:16: warning: stored property 'response' of 'Sendable'-conforming struct 'FailedResponseError' has non-sendable type 'DefaultResponseType'; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum ClientResult<SuccessType, DefaultResponseType>: CustomStringConvertible,
| `- note: consider making generic parameter 'DefaultResponseType' conform to the 'Sendable' protocol
4 | CustomDebugStringConvertible {
5 | case success(SuccessType)
:
41 | struct FailedResponseError: ResponseError {
42 | public let statusCode: Int
43 | public let response: DefaultResponseType
| `- warning: stored property 'response' of 'Sendable'-conforming struct 'FailedResponseError' has non-sendable type 'DefaultResponseType'; this is an error in the Swift 6 language mode
44 | }
45 |
[12/49] Compiling Prch DecodingError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Prch/ClientResult.swift:43:16: warning: stored property 'response' of 'Sendable'-conforming struct 'FailedResponseError' has non-sendable type 'DefaultResponseType'; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum ClientResult<SuccessType, DefaultResponseType>: CustomStringConvertible,
| `- note: consider making generic parameter 'DefaultResponseType' conform to the 'Sendable' protocol
4 | CustomDebugStringConvertible {
5 | case success(SuccessType)
:
41 | struct FailedResponseError: ResponseError {
42 | public let statusCode: Int
43 | public let response: DefaultResponseType
| `- warning: stored property 'response' of 'Sendable'-conforming struct 'FailedResponseError' has non-sendable type 'DefaultResponseType'; this is an error in the Swift 6 language mode
44 | }
45 |
[13/49] Compiling Prch KeyedDecodingContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Prch/ClientResult.swift:43:16: warning: stored property 'response' of 'Sendable'-conforming struct 'FailedResponseError' has non-sendable type 'DefaultResponseType'; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public enum ClientResult<SuccessType, DefaultResponseType>: CustomStringConvertible,
| `- note: consider making generic parameter 'DefaultResponseType' conform to the 'Sendable' protocol
4 | CustomDebugStringConvertible {
5 | case success(SuccessType)
:
41 | struct FailedResponseError: ResponseError {
42 | public let statusCode: Int
43 | public let response: DefaultResponseType
| `- warning: stored property 'response' of 'Sendable'-conforming struct 'FailedResponseError' has non-sendable type 'DefaultResponseType'; this is an error in the Swift 6 language mode
44 | }
45 |
[14/49] Compiling Prch AnyCodable.swift
[15/49] Compiling Prch BasicResponse.swift
[16/49] Compiling Prch BodyRequest.swift
[17/49] Compiling Prch Client.swift
[18/49] Compiling Prch ClientError.swift
[19/49] Compiling Prch KeyedEncodingContainer.swift
[20/49] Compiling Prch RequestEncoder.swift
[21/49] Compiling Prch ResponseDecoder.swift
[22/49] Compiling Prch StringCodingKey.swift
[23/49] Compiling Prch DateEncodingContainer.swift
[24/49] Compiling Prch DateDay.swift
[25/49] Compiling Prch File.swift
[26/49] Compiling Prch ID.swift
[27/49] Compiling Prch UploadFile.swift
[28/49] Compiling Prch ResponseComponents.swift
[29/49] Compiling Prch Result.swift
[30/49] Compiling Prch Authentication.swift
[31/49] Compiling Prch BasicAuthentication.swift
[32/49] Compiling Prch SecurityRequirement.swift
[33/49] Compiling Prch Session.swift
/Users/admin/builder/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:49:7: warning: capture of 'completion' with non-sendable type '(Result<any ResponseComponents, ClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | error: error
48 | )
49 | completion(result)
| |- warning: capture of 'completion' with non-sendable type '(Result<any ResponseComponents, ClientError>) -> Void' 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'
50 | }
51 | task.resume()
[34/49] Compiling Prch Task.swift
/Users/admin/builder/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:49:7: warning: capture of 'completion' with non-sendable type '(Result<any ResponseComponents, ClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | error: error
48 | )
49 | completion(result)
| |- warning: capture of 'completion' with non-sendable type '(Result<any ResponseComponents, ClientError>) -> Void' 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'
50 | }
51 | task.resume()
[35/49] Compiling Prch URL.swift
/Users/admin/builder/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:49:7: warning: capture of 'completion' with non-sendable type '(Result<any ResponseComponents, ClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | error: error
48 | )
49 | completion(result)
| |- warning: capture of 'completion' with non-sendable type '(Result<any ResponseComponents, ClientError>) -> Void' 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'
50 | }
51 | task.resume()
[36/49] Compiling Prch URLSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/Prch/Networking/URLSession.swift:49:7: warning: capture of 'completion' with non-sendable type '(Result<any ResponseComponents, ClientError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | error: error
48 | )
49 | completion(result)
| |- warning: capture of 'completion' with non-sendable type '(Result<any ResponseComponents, ClientError>) -> Void' 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'
50 | }
51 | task.resume()
[37/49] Compiling Prch URLSessionResponse.swift
[38/49] Compiling Prch Request.swift
[39/49] Compiling Prch Response.swift
[40/49] Compiling Prch ResponseResult.swift
[41/49] Compiling Prch API.swift
[42/49] Compiling Prch AnyCodable.Codable.swift
[43/49] Compiling Prch AnyCodable.Equatable.swift
[44/49] Compiling Prch AnyCodable.Expressible.swift
[45/49] Compiling Prch AnyCodable.StringConverable.swift
[46/49] Compiling Prch Service.swift
[47/49] Compiling Prch ServiceRequest.swift
[48/49] Compiling Prch StatusCodeProvider.swift
[49/49] Compiling Prch SuccessModel.swift
Build complete! (196.77s)
Fetching https://github.com/shibapm/Rocket.git
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/kareman/SwiftShell
[1/956] Fetching shellout
[154/5819] Fetching shellout, swiftshell
[155/7205] Fetching shellout, swiftshell, rocket
[1233/16542] Fetching shellout, swiftshell, rocket, yams
[3317/32506] Fetching shellout, swiftshell, rocket, yams, sourcekitten
[3318/44185] Fetching shellout, swiftshell, rocket, yams, sourcekitten, swift-argument-parser
[6256/82610] Fetching shellout, swiftshell, rocket, yams, sourcekitten, swift-argument-parser, swiftformat
Fetched https://github.com/apple/swift-argument-parser from cache (60.35s)
Fetching https://github.com/realm/SwiftLint
Fetched https://github.com/shibapm/Rocket.git from cache (60.35s)
Fetched https://github.com/kareman/SwiftShell from cache (60.35s)
Fetching https://github.com/brightdigit/swift-test-codecov
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetched https://github.com/jpsim/SourceKitten.git from cache (60.35s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (60.35s)
Fetched https://github.com/jpsim/Yams from cache (60.35s)
Fetching https://github.com/shibapm/Komondor
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/shibapm/Logger
Fetched https://github.com/nicklockwood/SwiftFormat from cache (60.35s)
Fetching https://github.com/shibapm/PackageConfig.git
[1/116] Fetching logger
[29/446] Fetching logger, swift-test-codecov
[62/1375] Fetching logger, swift-test-codecov, swiftytexttable
[137/1955] Fetching logger, swift-test-codecov, swiftytexttable, packageconfig
[386/2464] Fetching logger, swift-test-codecov, swiftytexttable, packageconfig, komondor
[560/5234] Fetching logger, swift-test-codecov, swiftytexttable, packageconfig, komondor, swxmlhash
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (1.08s)
[2948/4305] Fetching logger, swift-test-codecov, packageconfig, komondor, swxmlhash
Fetched https://github.com/shibapm/Komondor from cache (1.19s)
Fetched https://github.com/shibapm/Logger from cache (1.20s)
Fetched https://github.com/shibapm/PackageConfig.git from cache (1.20s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.20s)
Fetched https://github.com/brightdigit/swift-test-codecov from cache (1.20s)
[1/131847] Fetching swiftlint
Fetched https://github.com/realm/SwiftLint from cache (93.34s)
Computing version for https://github.com/brightdigit/swift-test-codecov
Computed https://github.com/brightdigit/swift-test-codecov at 1.0.0 (0.97s)
Computing version for https://github.com/shibapm/Rocket.git
Computed https://github.com/shibapm/Rocket.git at 1.2.1 (0.66s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.44.0 (0.72s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.49.4 (2.63s)
Computing version for https://github.com/shibapm/Komondor
Computed https://github.com/shibapm/Komondor at 1.1.3 (0.70s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.3.2 (0.73s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.69s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.0-beta.1 (0.68s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (0.66s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 4.0.6 (0.67s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.27s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.31.0 (0.67s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.66s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.2 (0.69s)
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 5.0.2
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.49.4
Creating working copy for https://github.com/shibapm/Komondor
Working copy of https://github.com/shibapm/Komondor resolved at 1.1.3
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/shibapm/Rocket.git
Working copy of https://github.com/shibapm/Rocket.git resolved at 1.2.1
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.31.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 4.0.6
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.44.0
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.3.2
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.0-beta.1
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/brightdigit/swift-test-codecov
Working copy of https://github.com/brightdigit/swift-test-codecov resolved at 1.0.0
Build complete.
{
"dependencies" : [
{
"identity" : "komondor",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shibapm/Komondor"
},
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.47.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
},
{
"identity" : "swiftlint",
"requirement" : {
"range" : [
{
"lower_bound" : "0.43.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/realm/SwiftLint"
},
{
"identity" : "rocket",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shibapm/Rocket.git"
},
{
"identity" : "swift-test-codecov",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/brightdigit/swift-test-codecov"
}
],
"manifest_display_name" : "Prch",
"name" : "Prch",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "Prch",
"targets" : [
"Prch"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PrchTests",
"module_type" : "SwiftTarget",
"name" : "PrchTests",
"path" : "Tests/PrchTests",
"sources" : [
"PrchTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Prch"
],
"type" : "test"
},
{
"c99name" : "Prch",
"module_type" : "SwiftTarget",
"name" : "Prch",
"path" : "Sources/Prch",
"product_memberships" : [
"Prch"
],
"sources" : [
"API.swift",
"AnyCodable/AnyCodable.Codable.swift",
"AnyCodable/AnyCodable.Equatable.swift",
"AnyCodable/AnyCodable.Expressible.swift",
"AnyCodable/AnyCodable.StringConverable.swift",
"AnyCodable/AnyCodable.swift",
"BasicResponse.swift",
"BodyRequest.swift",
"Client.swift",
"ClientError.swift",
"ClientResult.swift",
"Coding/Coding.swift",
"Coding/DateFormatter.swift",
"Coding/DecodingError.swift",
"Coding/KeyedDecodingContainer.swift",
"Coding/KeyedEncodingContainer.swift",
"Coding/RequestEncoder.swift",
"Coding/ResponseDecoder.swift",
"Coding/StringCodingKey.swift",
"DateEncodingContainer.swift",
"Deprecated/DeprecatedRequest.swift",
"Deprecated/DeprecatedResponse.swift",
"Deprecated/DeprecatedResponseResult.swift",
"Deprecated/TypeAliases.swift",
"Model.swift",
"Models/DateDay.swift",
"Models/File.swift",
"Models/ID.swift",
"Models/UploadFile.swift",
"Networking/ResponseComponents.swift",
"Networking/Session.swift",
"Networking/Task.swift",
"Networking/URL.swift",
"Networking/URLSession.swift",
"Networking/URLSessionResponse.swift",
"Request.swift",
"Response.swift",
"ResponseResult.swift",
"Result.swift",
"Security/Authentication.swift",
"Security/BasicAuthentication.swift",
"Security/SecurityRequirement.swift",
"Service.swift",
"ServiceRequest.swift",
"StatusCodeProvider.swift",
"SuccessModel.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.