Build Information
Successful build of URI with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 6
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/my-mail-ru/swift-uri.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/my-mail-ru/swift-uri
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/my-mail-ru/swift-uri.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/17] 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 |
[4/17] Compiling URI URI.swift
[5/17] Compiling URI Storage.swift
[6/17] Compiling URI Parser.swift
[7/17] Compiling URI Path.swift
[8/17] Compiling URI Query.swift
[9/17] Compiling URI QueryParams.swift
[10/17] Compiling URI Userinfo.swift
[11/18] Compiling URI Component.swift
[12/18] Compiling URI Error.swift
[13/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"
[14/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"
[15/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 |
[16/18] Compiling URI Host.swift
[17/18] Compiling URI OpaqueURI.swift
[18/18] Compiling URI Writer.swift
Build complete! (6.83s)
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.