Build Information
Successful build of Deeplink, reference v0.3.0 (00e36b
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 07:20:52 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/TizianoCoroneo/Deeplink.git
Reference: v0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/TizianoCoroneo/Deeplink
* tag v0.3.0 -> FETCH_HEAD
HEAD is now at 00e36bd chore: regenerated docs
Cloned https://github.com/TizianoCoroneo/Deeplink.git
Revision (git rev-parse @):
00e36bd74043a692b5642f4b354d88204b18cbd5
SUCCESS checkout https://github.com/TizianoCoroneo/Deeplink.git at v0.3.0
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
[226/5191] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.39s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.39s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.91s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.83s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.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": "deeplink",
"name": "Deeplink",
"url": "https://github.com/TizianoCoroneo/Deeplink.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Deeplink",
"dependencies": [
]
}
]
}
Fetching https://github.com/TizianoCoroneo/Deeplink.git
[12/1156] Fetching deeplink
Fetched https://github.com/TizianoCoroneo/Deeplink.git from cache (1.12s)
Creating working copy for https://github.com/TizianoCoroneo/Deeplink.git
Working copy of https://github.com/TizianoCoroneo/Deeplink.git resolved at v0.3.0 (00e36bd)
warning: '.resolve-product-dependencies': dependency 'deeplink' 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/TizianoCoroneo/Deeplink.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 Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/15] Compiling Deeplink DefaultInitializable.swift
[6/16] Compiling Deeplink String+utilities.swift
[7/16] Compiling Deeplink URL+relativePathWithQueryItemsAndFragments.swift
[8/16] Compiling Deeplink DeeplinkInterpolation.swift
[9/16] Emitting module Deeplink
/Users/admin/builder/spi-builder-workspace/Sources/Deeplink/DeeplinkErrors.swift:15:10: warning: associated value 'argumentRepeated(argument:)' of 'Sendable'-conforming enum 'DeeplinkError' has non-sendable type 'AnyKeyPath'; this is an error in the Swift 6 language mode
13 | deepLink: String)
14 |
15 | case argumentRepeated(
| `- warning: associated value 'argumentRepeated(argument:)' of 'Sendable'-conforming enum 'DeeplinkError' has non-sendable type 'AnyKeyPath'; this is an error in the Swift 6 language mode
16 | argument: AnyKeyPath)
17 |
Swift.AnyKeyPath:1:14: note: class 'AnyKeyPath' does not conform to the 'Sendable' protocol
1 | public class AnyKeyPath : _AppendKeyPath {
| `- note: class 'AnyKeyPath' does not conform to the 'Sendable' protocol
2 | @inlinable public static var rootType: any Any.Type { get }
3 | @inlinable public static var valueType: any Any.Type { get }
/Users/admin/builder/spi-builder-workspace/Sources/Deeplink/DeeplinkErrors.swift:18:10: warning: associated value 'cannotSetTwoArgumentsConsecutively(argument1:argument2:)' of 'Sendable'-conforming enum 'DeeplinkError' has non-sendable type 'AnyKeyPath'; this is an error in the Swift 6 language mode
16 | argument: AnyKeyPath)
17 |
18 | case cannotSetTwoArgumentsConsecutively(
| `- warning: associated value 'cannotSetTwoArgumentsConsecutively(argument1:argument2:)' of 'Sendable'-conforming enum 'DeeplinkError' has non-sendable type 'AnyKeyPath'; this is an error in the Swift 6 language mode
19 | argument1: AnyKeyPath,
20 | argument2: AnyKeyPath)
Swift.AnyKeyPath:1:14: note: class 'AnyKeyPath' does not conform to the 'Sendable' protocol
1 | public class AnyKeyPath : _AppendKeyPath {
| `- note: class 'AnyKeyPath' does not conform to the 'Sendable' protocol
2 | @inlinable public static var rootType: any Any.Type { get }
3 | @inlinable public static var valueType: any Any.Type { get }
/Users/admin/builder/spi-builder-workspace/Sources/Deeplink/DeeplinkErrors.swift:18:10: warning: associated value 'cannotSetTwoArgumentsConsecutively(argument1:argument2:)' of 'Sendable'-conforming enum 'DeeplinkError' has non-sendable type 'AnyKeyPath'; this is an error in the Swift 6 language mode
16 | argument: AnyKeyPath)
17 |
18 | case cannotSetTwoArgumentsConsecutively(
| `- warning: associated value 'cannotSetTwoArgumentsConsecutively(argument1:argument2:)' of 'Sendable'-conforming enum 'DeeplinkError' has non-sendable type 'AnyKeyPath'; this is an error in the Swift 6 language mode
19 | argument1: AnyKeyPath,
20 | argument2: AnyKeyPath)
Swift.AnyKeyPath:1:14: note: class 'AnyKeyPath' does not conform to the 'Sendable' protocol
1 | public class AnyKeyPath : _AppendKeyPath {
| `- note: class 'AnyKeyPath' does not conform to the 'Sendable' protocol
2 | @inlinable public static var rootType: any Any.Type { get }
3 | @inlinable public static var valueType: any Any.Type { get }
[10/16] Compiling Deeplink AnyDeeplink.swift
/Users/admin/builder/spi-builder-workspace/Sources/Deeplink/AnyDeeplink.swift:27:31: warning: sending 'instance' risks causing data races; this is an error in the Swift 6 language mode
25 | ) {
26 | self.parseURLIntoInstance = { url in
27 | var newInstance = instance
| |- warning: sending 'instance' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'instance' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
28 | try deeplink.parse(url, into: &newInstance)
29 | return try completion(url, newInstance)
/Users/admin/builder/spi-builder-workspace/Sources/Deeplink/AnyDeeplink.swift:28:17: warning: sending 'deeplink' risks causing data races; this is an error in the Swift 6 language mode
26 | self.parseURLIntoInstance = { url in
27 | var newInstance = instance
28 | try deeplink.parse(url, into: &newInstance)
| |- warning: sending 'deeplink' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'deeplink' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
29 | return try completion(url, newInstance)
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Deeplink/AnyDeeplink.swift:29:24: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
27 | var newInstance = instance
28 | try deeplink.parse(url, into: &newInstance)
29 | return try completion(url, newInstance)
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/Deeplink/Deeplink.swift:189:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
187 | assigningTo: (),
188 | ifMatching: { url, _ in
189 | try completion(url)
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
190 | })
191 | }
[11/16] Compiling Deeplink Deeplink.swift
/Users/admin/builder/spi-builder-workspace/Sources/Deeplink/AnyDeeplink.swift:27:31: warning: sending 'instance' risks causing data races; this is an error in the Swift 6 language mode
25 | ) {
26 | self.parseURLIntoInstance = { url in
27 | var newInstance = instance
| |- warning: sending 'instance' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'instance' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
28 | try deeplink.parse(url, into: &newInstance)
29 | return try completion(url, newInstance)
/Users/admin/builder/spi-builder-workspace/Sources/Deeplink/AnyDeeplink.swift:28:17: warning: sending 'deeplink' risks causing data races; this is an error in the Swift 6 language mode
26 | self.parseURLIntoInstance = { url in
27 | var newInstance = instance
28 | try deeplink.parse(url, into: &newInstance)
| |- warning: sending 'deeplink' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'deeplink' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
29 | return try completion(url, newInstance)
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Deeplink/AnyDeeplink.swift:29:24: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
27 | var newInstance = instance
28 | try deeplink.parse(url, into: &newInstance)
29 | return try completion(url, newInstance)
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/Deeplink/Deeplink.swift:189:21: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
187 | assigningTo: (),
188 | ifMatching: { url, _ in
189 | try completion(url)
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
190 | })
191 | }
[12/16] Compiling Deeplink DeeplinksCenter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Deeplink/DeeplinksCenter.swift:208:41: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
206 | deeplink: deeplink,
207 | assigningTo: (),
208 | ifMatching: { url, _ in try completion(url) })
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
209 | }
210 |
/Users/admin/builder/spi-builder-workspace/Sources/Deeplink/DeeplinksCenter.swift:251:41: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
249 | deeplinks: deeplinks,
250 | assigningTo: (),
251 | ifMatching: { url, _ in try completion(url) })
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
252 | }
253 |
[13/16] Compiling Deeplink DeeplinkBuilder.swift
[14/16] Compiling Deeplink DeeplinkErrors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Deeplink/DeeplinkErrors.swift:15:10: warning: associated value 'argumentRepeated(argument:)' of 'Sendable'-conforming enum 'DeeplinkError' has non-sendable type 'AnyKeyPath'; this is an error in the Swift 6 language mode
13 | deepLink: String)
14 |
15 | case argumentRepeated(
| `- warning: associated value 'argumentRepeated(argument:)' of 'Sendable'-conforming enum 'DeeplinkError' has non-sendable type 'AnyKeyPath'; this is an error in the Swift 6 language mode
16 | argument: AnyKeyPath)
17 |
Swift.AnyKeyPath:1:14: note: class 'AnyKeyPath' does not conform to the 'Sendable' protocol
1 | public class AnyKeyPath : _AppendKeyPath {
| `- note: class 'AnyKeyPath' does not conform to the 'Sendable' protocol
2 | @inlinable public static var rootType: any Any.Type { get }
3 | @inlinable public static var valueType: any Any.Type { get }
/Users/admin/builder/spi-builder-workspace/Sources/Deeplink/DeeplinkErrors.swift:18:10: warning: associated value 'cannotSetTwoArgumentsConsecutively(argument1:argument2:)' of 'Sendable'-conforming enum 'DeeplinkError' has non-sendable type 'AnyKeyPath'; this is an error in the Swift 6 language mode
16 | argument: AnyKeyPath)
17 |
18 | case cannotSetTwoArgumentsConsecutively(
| `- warning: associated value 'cannotSetTwoArgumentsConsecutively(argument1:argument2:)' of 'Sendable'-conforming enum 'DeeplinkError' has non-sendable type 'AnyKeyPath'; this is an error in the Swift 6 language mode
19 | argument1: AnyKeyPath,
20 | argument2: AnyKeyPath)
Swift.AnyKeyPath:1:14: note: class 'AnyKeyPath' does not conform to the 'Sendable' protocol
1 | public class AnyKeyPath : _AppendKeyPath {
| `- note: class 'AnyKeyPath' does not conform to the 'Sendable' protocol
2 | @inlinable public static var rootType: any Any.Type { get }
3 | @inlinable public static var valueType: any Any.Type { get }
/Users/admin/builder/spi-builder-workspace/Sources/Deeplink/DeeplinkErrors.swift:18:10: warning: associated value 'cannotSetTwoArgumentsConsecutively(argument1:argument2:)' of 'Sendable'-conforming enum 'DeeplinkError' has non-sendable type 'AnyKeyPath'; this is an error in the Swift 6 language mode
16 | argument: AnyKeyPath)
17 |
18 | case cannotSetTwoArgumentsConsecutively(
| `- warning: associated value 'cannotSetTwoArgumentsConsecutively(argument1:argument2:)' of 'Sendable'-conforming enum 'DeeplinkError' has non-sendable type 'AnyKeyPath'; this is an error in the Swift 6 language mode
19 | argument1: AnyKeyPath,
20 | argument2: AnyKeyPath)
Swift.AnyKeyPath:1:14: note: class 'AnyKeyPath' does not conform to the 'Sendable' protocol
1 | public class AnyKeyPath : _AppendKeyPath {
| `- note: class 'AnyKeyPath' does not conform to the 'Sendable' protocol
2 | @inlinable public static var rootType: any Any.Type { get }
3 | @inlinable public static var valueType: any Any.Type { get }
[15/16] Compiling Deeplink SampleDeeplink.swift
/Users/admin/builder/spi-builder-workspace/Sources/Deeplink/SampleDeeplink.swift:90:31: warning: sending 'sample' risks causing data races; this is an error in the Swift 6 language mode
88 | ) {
89 | self.parseURLIntoInstance = { [] url in
90 | var newInstance = sample.assigningToInstance
| |- warning: sending 'sample' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'sample' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
91 | try sample.deeplinkTemplate.parse(url, into: &newInstance)
92 | sample.expectation()
[16/16] Compiling Deeplink URLPatternMatcher.swift
Build complete! (25.71s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "Deeplink",
"name" : "Deeplink",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "macos",
"version" : "10.10"
}
],
"products" : [
{
"name" : "Deeplink",
"targets" : [
"Deeplink"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DeeplinkTests",
"module_type" : "SwiftTarget",
"name" : "DeeplinkTests",
"path" : "Tests/DeeplinkTests",
"sources" : [
"CatchAllDeeplinkTests.swift",
"DeeplinkBuilderTests.swift",
"DeeplinkDeclarationTests.swift",
"DeeplinksCenterTests.swift",
"EncodingDeeplinkTests.swift",
"Generated tests/ValidDeeplinkTests.swift",
"InvalidDeeplinkTests.swift",
"LiteralDeeplinksTests.swift",
"StringUtilitiesTests.swift",
"TicketSwapDeeplinkTests.swift",
"URLPatternMatcherTests.swift",
"Utilities/URL+initWithStringLiteral.swift"
],
"target_dependencies" : [
"Deeplink"
],
"type" : "test"
},
{
"c99name" : "Deeplink",
"module_type" : "SwiftTarget",
"name" : "Deeplink",
"path" : "Sources/Deeplink",
"product_memberships" : [
"Deeplink"
],
"sources" : [
"AnyDeeplink.swift",
"Deeplink.swift",
"DeeplinkBuilder.swift",
"DeeplinkErrors.swift",
"DeeplinkInterpolation.swift",
"DeeplinksCenter.swift",
"DefaultInitializable.swift",
"SampleDeeplink.swift",
"URLPatternMatcher.swift",
"Utilities/String+utilities.swift",
"Utilities/URL+relativePathWithQueryItemsAndFragments.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.