Build Information
Successful build of URLEncodedForm, reference main (cd690e
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 00:29:45 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/forXifLess/URLEncodedForm.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/forXifLess/URLEncodedForm
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cd690e9 fix: Delete Extension Methods
Cloned https://github.com/forXifLess/URLEncodedForm.git
Revision (git rev-parse @):
cd690e95f0df333293ec3f9fa9c2c7322ef54bbf
SUCCESS checkout https://github.com/forXifLess/URLEncodedForm.git at main
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/airbnb/swift
[1/4012] Fetching swift
[403/16365] Fetching swift, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (2.44s)
Fetched https://github.com/airbnb/swift from cache (2.44s)
Computing version for https://github.com/airbnb/swift
Computed https://github.com/airbnb/swift at 1.0.7 (3.84s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.3.1 (0.57s)
Creating working copy for https://github.com/airbnb/swift
Working copy of https://github.com/airbnb/swift resolved at 1.0.7
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.3.1
[32750/2134651] Downloading https://github.com/calda/SwiftFormat/releases/download/0.54-beta-5/SwiftFormat.artifactbundle.zip
Downloading binary artifact https://github.com/calda/SwiftFormat/releases/download/0.54-beta-5/SwiftFormat.artifactbundle.zip
[2167401/12159917] Downloading https://github.com/calda/SwiftFormat/releases/download/0.54-beta-5/SwiftFormat.artifactbundle.zip, https://github.com/realm/SwiftLint/releases/download/0.53.0/SwiftLintBinary-macos.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.53.0/SwiftLintBinary-macos.artifactbundle.zip
Downloaded https://github.com/calda/SwiftFormat/releases/download/0.54-beta-5/SwiftFormat.artifactbundle.zip (1.18s)
Downloaded https://github.com/realm/SwiftLint/releases/download/0.53.0/SwiftLintBinary-macos.artifactbundle.zip (1.43s)
========================================
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": "urlencodedform",
"name": "URLEncodedForm",
"url": "https://github.com/forXifLess/URLEncodedForm.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/URLEncodedForm",
"dependencies": [
]
}
]
}
Fetching https://github.com/forXifLess/URLEncodedForm.git
[1/102] Fetching urlencodedform
Fetched https://github.com/forXifLess/URLEncodedForm.git from cache (0.90s)
Creating working copy for https://github.com/forXifLess/URLEncodedForm.git
Working copy of https://github.com/forXifLess/URLEncodedForm.git resolved at main (cd690e9)
warning: '.resolve-product-dependencies': dependency 'urlencodedform' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/forXifLess/URLEncodedForm.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin FormatSwift
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/20] Compiling URLEncodedForm URLEncodedFormDataConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormParser.swift:16:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormParser' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Converts `Data` to `[String: URLEncodedFormData]`.
6 | final class URLEncodedFormParser {
| `- note: class 'URLEncodedFormParser' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Lifecycle
:
14 |
15 | /// Default form url encoded parser.
16 | static let `default` = URLEncodedFormParser()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /// Parses the data.
[6/20] Compiling URLEncodedForm URLEncodedFormParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormParser.swift:16:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormParser' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Converts `Data` to `[String: URLEncodedFormData]`.
6 | final class URLEncodedFormParser {
| `- note: class 'URLEncodedFormParser' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Lifecycle
:
14 |
15 | /// Default form url encoded parser.
16 | static let `default` = URLEncodedFormParser()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /// Parses the data.
[7/20] Compiling URLEncodedForm URLEncodedFormSerializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormSerializer.swift:16:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormSerializer' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Converts `[String: URLEncodedFormData]` structs to `Data`.
6 | final class URLEncodedFormSerializer {
| `- note: class 'URLEncodedFormSerializer' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Lifecycle
:
14 |
15 | /// Default form url encoded serializer.
16 | static let `default` = URLEncodedFormSerializer()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormSerializer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /// Serializes the data.
/Users/admin/builder/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormSerializer.swift:87:13: warning: var '_allowedCharacters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 |
86 | /// Characters allowed in form-urlencoded data.
87 | private var _allowedCharacters: CharacterSet = {
| |- warning: var '_allowedCharacters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_allowedCharacters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_allowedCharacters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | var allowed = CharacterSet.urlQueryAllowed
89 | allowed.remove(charactersIn: "?&=[];+")
[8/20] Compiling URLEncodedForm URLEncodedForm.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormSerializer.swift:16:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormSerializer' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Converts `[String: URLEncodedFormData]` structs to `Data`.
6 | final class URLEncodedFormSerializer {
| `- note: class 'URLEncodedFormSerializer' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Lifecycle
:
14 |
15 | /// Default form url encoded serializer.
16 | static let `default` = URLEncodedFormSerializer()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormSerializer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /// Serializes the data.
/Users/admin/builder/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormSerializer.swift:87:13: warning: var '_allowedCharacters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 |
86 | /// Characters allowed in form-urlencoded data.
87 | private var _allowedCharacters: CharacterSet = {
| |- warning: var '_allowedCharacters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_allowedCharacters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_allowedCharacters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | var allowed = CharacterSet.urlQueryAllowed
89 | allowed.remove(charactersIn: "?&=[];+")
[9/20] Compiling URLEncodedForm URLEncodedFormData.swift
[10/20] Compiling URLEncodedForm URLEncodedFormDataContext.swift
[11/20] Compiling URLEncodedForm NestedData.swift
[12/20] Compiling URLEncodedForm URLEncodedFormError.swift
[13/21] Compiling URLEncodedForm BasicKey.swift
[14/21] Compiling URLEncodedForm Byte+Control.swift
[15/21] Compiling URLEncodedForm Bytes.swift
[16/21] Emitting module URLEncodedForm
/Users/admin/builder/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormParser.swift:16:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormParser' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Converts `Data` to `[String: URLEncodedFormData]`.
6 | final class URLEncodedFormParser {
| `- note: class 'URLEncodedFormParser' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Lifecycle
:
14 |
15 | /// Default form url encoded parser.
16 | static let `default` = URLEncodedFormParser()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /// Parses the data.
/Users/admin/builder/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormSerializer.swift:16:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormSerializer' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Converts `[String: URLEncodedFormData]` structs to `Data`.
6 | final class URLEncodedFormSerializer {
| `- note: class 'URLEncodedFormSerializer' does not conform to the 'Sendable' protocol
7 |
8 | // MARK: Lifecycle
:
14 |
15 | /// Default form url encoded serializer.
16 | static let `default` = URLEncodedFormSerializer()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'URLEncodedFormSerializer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /// Serializes the data.
/Users/admin/builder/spi-builder-workspace/Sources/URLEncodedForm/Data/URLEncodedFormSerializer.swift:87:13: warning: var '_allowedCharacters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 |
86 | /// Characters allowed in form-urlencoded data.
87 | private var _allowedCharacters: CharacterSet = {
| |- warning: var '_allowedCharacters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_allowedCharacters' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_allowedCharacters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | var allowed = CharacterSet.urlQueryAllowed
89 | allowed.remove(charactersIn: "?&=[];+")
[17/21] Compiling URLEncodedForm URLEncodedFormDecoder.swift
[18/21] Compiling URLEncodedForm URLEncodedFormEncoder.swift
[19/21] Compiling URLEncodedForm DataDecoder.swift
[20/21] Compiling URLEncodedForm DataEncoder.swift
[21/21] Compiling URLEncodedForm LosslessDataConvertible.swift
Build complete! (18.20s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.5",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/airbnb/swift"
}
],
"manifest_display_name" : "URLEncodedForm",
"name" : "URLEncodedForm",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "URLEncodedForm",
"targets" : [
"URLEncodedForm"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "URLEncodedFormTests",
"module_type" : "SwiftTarget",
"name" : "URLEncodedFormTests",
"path" : "Tests/URLEncodedFormTests",
"sources" : [
"URLEncodedFormTests.swift"
],
"target_dependencies" : [
"URLEncodedForm"
],
"type" : "test"
},
{
"c99name" : "URLEncodedForm",
"module_type" : "SwiftTarget",
"name" : "URLEncodedForm",
"path" : "Sources/URLEncodedForm",
"product_memberships" : [
"URLEncodedForm"
],
"sources" : [
"Codable/URLEncodedFormDecoder.swift",
"Codable/URLEncodedFormEncoder.swift",
"Core/DataDecoder.swift",
"Core/DataEncoder.swift",
"Core/NestedData.swift",
"Core/URLEncodedFormError.swift",
"Data/URLEncodedFormData.swift",
"Data/URLEncodedFormDataContext.swift",
"Data/URLEncodedFormDataConvertible.swift",
"Data/URLEncodedFormParser.swift",
"Data/URLEncodedFormSerializer.swift",
"URLEncodedForm.swift",
"Util/Bytes/Byte+Control.swift",
"Util/Bytes/Bytes.swift",
"Util/CodingKey/BasicKey.swift",
"Util/LosslessDataConvertible.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.