Build Information
Successful build of Deeplink, reference main (00e36b
), with Swift 6.0 for Linux on 4 Nov 2024 07:11:21 UTC.
Swift 6 data race errors: 3
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/TizianoCoroneo/Deeplink.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/TizianoCoroneo/Deeplink
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/TizianoCoroneo/Deeplink.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.33s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.42s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.33s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.49s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[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-24593BA9C3E375BF.txt
[5/15] Compiling Deeplink String+utilities.swift
[6/16] Compiling Deeplink SampleDeeplink.swift
/host/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()
[7/16] Compiling Deeplink DefaultInitializable.swift
[8/16] Compiling Deeplink URLPatternMatcher.swift
[9/16] Compiling Deeplink AnyDeeplink.swift
/host/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)
/host/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 | }
/host/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 |
/host/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 | }
[10/16] Compiling Deeplink Deeplink.swift
/host/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)
/host/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 | }
/host/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 |
/host/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 DeeplinkInterpolation.swift
/host/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 |
/host/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 |
[12/16] Compiling Deeplink DeeplinksCenter.swift
/host/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 |
/host/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] Emitting module Deeplink
/host/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 }
/host/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 }
/host/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 }
[14/16] Compiling Deeplink DeeplinkBuilder.swift
/host/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 }
/host/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 }
/host/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 DeeplinkErrors.swift
/host/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 }
/host/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 }
/host/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 }
[16/16] Compiling Deeplink URL+relativePathWithQueryItemsAndFragments.swift
Build complete! (23.73s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.