Build Information
Successful build of URI, reference 0.1.0 (04e825
), with Swift 6.0 for macOS (SPM) on 5 Oct 2024 17:51:00 UTC.
Swift 6 data race errors: 6
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.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.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/my-mail-ru/swift-uri.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/my-mail-ru/swift-uri
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 04e825d Synopsis
Cloned https://github.com/my-mail-ru/swift-uri.git
Revision (git rev-parse @):
04e825dd9b8b2d63d67da4a163a4c3c1da97cb04
SUCCESS checkout https://github.com/my-mail-ru/swift-uri.git at 0.1.0
========================================
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": "swift-uri",
"name": "URI",
"url": "https://github.com/my-mail-ru/swift-uri.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-uri",
"dependencies": [
]
}
]
}
Fetching https://github.com/my-mail-ru/swift-uri.git
[1/77] Fetching swift-uri
Fetched https://github.com/my-mail-ru/swift-uri.git from cache (0.67s)
Creating working copy for https://github.com/my-mail-ru/swift-uri.git
Working copy of https://github.com/my-mail-ru/swift-uri.git resolved at 0.1.0 (04e825d)
warning: '.resolve-product-dependencies': dependency 'swift-uri' 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/my-mail-ru/swift-uri.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun 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--4A847ED0836F2485.txt
[3/17] Compiling URI Userinfo.swift
[4/18] Compiling URI URI.swift
[5/18] Compiling URI Storage.swift
[6/18] Compiling URI Query.swift
[7/18] Compiling URI QueryParams.swift
[8/18] Compiling URI Scheme.swift
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:39:13: warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
2 | public let description: String
3 | public let isNormalized: Bool
:
37 |
38 | extension URIScheme {
39 | static let file: URIScheme = "file"
| |- warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'file' 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
40 | static let ftp: URIScheme = "ftp"
41 | static let http: URIScheme = "http"
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:40:13: warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
2 | public let description: String
3 | public let isNormalized: Bool
:
38 | extension URIScheme {
39 | static let file: URIScheme = "file"
40 | static let ftp: URIScheme = "ftp"
| |- warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ftp' 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
41 | static let http: URIScheme = "http"
42 | static let https: URIScheme = "https"
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:41:13: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
2 | public let description: String
3 | public let isNormalized: Bool
:
39 | static let file: URIScheme = "file"
40 | static let ftp: URIScheme = "ftp"
41 | static let http: URIScheme = "http"
| |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'http' 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
42 | static let https: URIScheme = "https"
43 | static let ws: URIScheme = "ws"
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:42:13: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
2 | public let description: String
3 | public let isNormalized: Bool
:
40 | static let ftp: URIScheme = "ftp"
41 | static let http: URIScheme = "http"
42 | static let https: URIScheme = "https"
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'https' 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
43 | static let ws: URIScheme = "ws"
44 | static let wss: URIScheme = "wss"
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:43:13: warning: static property 'ws' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
2 | public let description: String
3 | public let isNormalized: Bool
:
41 | static let http: URIScheme = "http"
42 | static let https: URIScheme = "https"
43 | static let ws: URIScheme = "ws"
| |- warning: static property 'ws' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ws' 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
44 | static let wss: URIScheme = "wss"
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:44:13: warning: static property 'wss' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
2 | public let description: String
3 | public let isNormalized: Bool
:
42 | static let https: URIScheme = "https"
43 | static let ws: URIScheme = "ws"
44 | static let wss: URIScheme = "wss"
| |- warning: static property 'wss' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wss' 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
45 | }
46 |
[9/18] Compiling URI Writer.swift
[10/18] Compiling URI Fragment.swift
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:41:13: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
2 | public let description: String
3 | public let isNormalized: Bool
:
39 | static let file: URIScheme = "file"
40 | static let ftp: URIScheme = "ftp"
41 | static let http: URIScheme = "http"
| |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'http' 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
42 | static let https: URIScheme = "https"
43 | static let ws: URIScheme = "ws"
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:42:13: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
2 | public let description: String
3 | public let isNormalized: Bool
:
40 | static let ftp: URIScheme = "ftp"
41 | static let http: URIScheme = "http"
42 | static let https: URIScheme = "https"
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'https' 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
43 | static let ws: URIScheme = "ws"
44 | static let wss: URIScheme = "wss"
[11/18] Compiling URI HTTP.swift
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:41:13: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
2 | public let description: String
3 | public let isNormalized: Bool
:
39 | static let file: URIScheme = "file"
40 | static let ftp: URIScheme = "ftp"
41 | static let http: URIScheme = "http"
| |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'http' 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
42 | static let https: URIScheme = "https"
43 | static let ws: URIScheme = "ws"
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:42:13: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
2 | public let description: String
3 | public let isNormalized: Bool
:
40 | static let ftp: URIScheme = "ftp"
41 | static let http: URIScheme = "http"
42 | static let https: URIScheme = "https"
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'https' 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
43 | static let ws: URIScheme = "ws"
44 | static let wss: URIScheme = "wss"
[12/18] Compiling URI Host.swift
[13/18] Compiling URI OpaqueURI.swift
[14/18] Compiling URI Component.swift
[15/18] Compiling URI Error.swift
[16/18] Compiling URI Parser.swift
[17/18] Compiling URI Path.swift
[18/18] Emitting module URI
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:39:13: warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
2 | public let description: String
3 | public let isNormalized: Bool
:
37 |
38 | extension URIScheme {
39 | static let file: URIScheme = "file"
| |- warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'file' 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
40 | static let ftp: URIScheme = "ftp"
41 | static let http: URIScheme = "http"
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:40:13: warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
2 | public let description: String
3 | public let isNormalized: Bool
:
38 | extension URIScheme {
39 | static let file: URIScheme = "file"
40 | static let ftp: URIScheme = "ftp"
| |- warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ftp' 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
41 | static let http: URIScheme = "http"
42 | static let https: URIScheme = "https"
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:41:13: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
2 | public let description: String
3 | public let isNormalized: Bool
:
39 | static let file: URIScheme = "file"
40 | static let ftp: URIScheme = "ftp"
41 | static let http: URIScheme = "http"
| |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'http' 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
42 | static let https: URIScheme = "https"
43 | static let ws: URIScheme = "ws"
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:42:13: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
2 | public let description: String
3 | public let isNormalized: Bool
:
40 | static let ftp: URIScheme = "ftp"
41 | static let http: URIScheme = "http"
42 | static let https: URIScheme = "https"
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'https' 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
43 | static let ws: URIScheme = "ws"
44 | static let wss: URIScheme = "wss"
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:43:13: warning: static property 'ws' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
2 | public let description: String
3 | public let isNormalized: Bool
:
41 | static let http: URIScheme = "http"
42 | static let https: URIScheme = "https"
43 | static let ws: URIScheme = "ws"
| |- warning: static property 'ws' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ws' 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
44 | static let wss: URIScheme = "wss"
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/URI/Scheme.swift:44:13: warning: static property 'wss' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct URIScheme : _URIComponent, CustomStringConvertible {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
2 | public let description: String
3 | public let isNormalized: Bool
:
42 | static let https: URIScheme = "https"
43 | static let ws: URIScheme = "ws"
44 | static let wss: URIScheme = "wss"
| |- warning: static property 'wss' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wss' 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
45 | }
46 |
Build complete! (5.45s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "URI",
"name" : "URI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "URI",
"targets" : [
"URI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "URITests",
"module_type" : "SwiftTarget",
"name" : "URITests",
"path" : "Tests/URITests",
"sources" : [
"URITests.swift"
],
"target_dependencies" : [
"URI"
],
"type" : "test"
},
{
"c99name" : "URI",
"module_type" : "SwiftTarget",
"name" : "URI",
"path" : "Sources/URI",
"product_memberships" : [
"URI"
],
"sources" : [
"Component.swift",
"Error.swift",
"Fragment.swift",
"HTTP.swift",
"Host.swift",
"OpaqueURI.swift",
"Parser.swift",
"Path.swift",
"Query.swift",
"QueryParams.swift",
"Scheme.swift",
"Storage.swift",
"URI.swift",
"Userinfo.swift",
"Writer.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.