Build Information
Successful build of Http, reference master (9b4859
), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 18:47:24 UTC.
Swift 6 data race errors: 3
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/Balancingrock/Http.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Balancingrock/Http
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 9b48591 Added swift version, platforms and a LICENSE file
Cloned https://github.com/Balancingrock/Http.git
Revision (git rev-parse @):
9b48591b4fe9b7841ee427c29f8df8611107b2c2
SUCCESS checkout https://github.com/Balancingrock/Http.git at master
Fetching https://github.com/Balancingrock/Ascii
[1/99] Fetching ascii
Fetched https://github.com/Balancingrock/Ascii from cache (0.65s)
Computing version for https://github.com/Balancingrock/Ascii
Computed https://github.com/Balancingrock/Ascii at 1.5.2 (1.26s)
Creating working copy for https://github.com/Balancingrock/Ascii
Working copy of https://github.com/Balancingrock/Ascii resolved at 1.5.2
========================================
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": "http",
"name": "Http",
"url": "https://github.com/Balancingrock/Http.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Http",
"dependencies": [
{
"identity": "ascii",
"name": "Ascii",
"url": "https://github.com/Balancingrock/Ascii",
"version": "1.5.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Ascii",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/Balancingrock/Http.git
[1/146] Fetching http
Fetched https://github.com/Balancingrock/Http.git from cache (0.72s)
Fetching https://github.com/Balancingrock/Ascii from cache
Fetched https://github.com/Balancingrock/Ascii from cache (0.42s)
Computing version for https://github.com/Balancingrock/Ascii
Computed https://github.com/Balancingrock/Ascii at 1.5.2 (0.48s)
Creating working copy for https://github.com/Balancingrock/Http.git
Working copy of https://github.com/Balancingrock/Http.git resolved at master (9b48591)
Creating working copy for https://github.com/Balancingrock/Ascii
Working copy of https://github.com/Balancingrock/Ascii resolved at 1.5.2
warning: '.resolve-product-dependencies': dependency 'http' is not used by any target
Found 1 product dependencies
- Ascii
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Balancingrock/Http.git
https://github.com/Balancingrock/Http.git
{
"dependencies" : [
{
"identity" : "ascii",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Balancingrock/Ascii"
}
],
"manifest_display_name" : "Http",
"name" : "Http",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "8.0"
}
],
"products" : [
{
"name" : "Http",
"targets" : [
"Http"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4",
"4.2",
"5"
],
"targets" : [
{
"c99name" : "Http",
"module_type" : "SwiftTarget",
"name" : "Http",
"path" : "Sources/Http",
"product_dependencies" : [
"Ascii"
],
"product_memberships" : [
"Http"
],
"sources" : [
"Cookie.swift",
"Host.swift",
"Http.swift",
"Request.swift",
"Response.swift",
"Version.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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/5] Emitting module Ascii
[5/5] Compiling Ascii Ascii.swift
[6/12] Compiling Http Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/Http/Version.swift:63:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Array<Version>' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// This enum encodes the different versions of the HTTP protocol
42 |
43 | public enum Version: String {
| `- note: consider making enum 'Version' conform to the 'Sendable' protocol
44 |
45 |
:
61 | /// If operations are added, be sure to include them in "all".
62 |
63 | public static let all: Array<Version> = [.http1_0, .http1_1, .http1_x]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Array<Version>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | }
65 |
[7/12] Compiling Http Response.swift
[8/12] Compiling Http Http.swift
[9/12] Compiling Http Host.swift
[10/12] Emitting module Http
/Users/admin/builder/spi-builder-workspace/Sources/Http/Cookie.swift:56:24: warning: static property 'noCookies' is not concurrency-safe because non-'Sendable' type 'Cookie.Cookies' (aka 'Array<Cookie>') may have shared mutable state; this is an error in the Swift 6 language mode
44 | /// The request cookies consist of a name and value only. The response cookies can have attributes.
45 |
46 | public final class Cookie: CustomStringConvertible {
| `- note: class 'Cookie' does not conform to the 'Sendable' protocol
47 |
48 |
:
54 | // Used when no cookies are present
55 |
56 | private static let noCookies = Cookies()
| |- warning: static property 'noCookies' is not concurrency-safe because non-'Sendable' type 'Cookie.Cookies' (aka 'Array<Cookie>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noCookies' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 |
/Users/admin/builder/spi-builder-workspace/Sources/Http/Request.swift:95:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Array<Request.Method>' may have shared mutable state; this is an error in the Swift 6 language mode
53 | /// The available methods.
54 |
55 | public enum Method: String {
| `- note: consider making enum 'Method' conform to the 'Sendable' protocol
56 |
57 |
:
93 | /// If operations are added, be sure to include them in "allValues".
94 |
95 | public static let all: Array<Method> = [.get, .head, .post, .put, .delete, .trace, .connect]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Array<Request.Method>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/Sources/Http/Version.swift:63:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Array<Version>' may have shared mutable state; this is an error in the Swift 6 language mode
41 | /// This enum encodes the different versions of the HTTP protocol
42 |
43 | public enum Version: String {
| `- note: consider making enum 'Version' conform to the 'Sendable' protocol
44 |
45 |
:
61 | /// If operations are added, be sure to include them in "all".
62 |
63 | public static let all: Array<Version> = [.http1_0, .http1_1, .http1_x]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Array<Version>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | }
65 |
[11/12] Compiling Http Cookie.swift
/Users/admin/builder/spi-builder-workspace/Sources/Http/Cookie.swift:56:24: warning: static property 'noCookies' is not concurrency-safe because non-'Sendable' type 'Cookie.Cookies' (aka 'Array<Cookie>') may have shared mutable state; this is an error in the Swift 6 language mode
44 | /// The request cookies consist of a name and value only. The response cookies can have attributes.
45 |
46 | public final class Cookie: CustomStringConvertible {
| `- note: class 'Cookie' does not conform to the 'Sendable' protocol
47 |
48 |
:
54 | // Used when no cookies are present
55 |
56 | private static let noCookies = Cookies()
| |- warning: static property 'noCookies' is not concurrency-safe because non-'Sendable' type 'Cookie.Cookies' (aka 'Array<Cookie>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noCookies' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 |
[12/12] Compiling Http Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/Http/Request.swift:95:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Array<Request.Method>' may have shared mutable state; this is an error in the Swift 6 language mode
53 | /// The available methods.
54 |
55 | public enum Method: String {
| `- note: consider making enum 'Method' conform to the 'Sendable' protocol
56 |
57 |
:
93 | /// If operations are added, be sure to include them in "allValues".
94 |
95 | public static let all: Array<Method> = [.get, .head, .post, .put, .delete, .trace, .connect]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Array<Request.Method>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | }
97 |
Build complete! (5.67s)
Build complete.
{
"dependencies" : [
{
"identity" : "ascii",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Balancingrock/Ascii"
}
],
"manifest_display_name" : "Http",
"name" : "Http",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "8.0"
}
],
"products" : [
{
"name" : "Http",
"targets" : [
"Http"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4",
"4.2",
"5"
],
"targets" : [
{
"c99name" : "Http",
"module_type" : "SwiftTarget",
"name" : "Http",
"path" : "Sources/Http",
"product_dependencies" : [
"Ascii"
],
"product_memberships" : [
"Http"
],
"sources" : [
"Cookie.swift",
"Host.swift",
"Http.swift",
"Request.swift",
"Response.swift",
"Version.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.