Build Information
Successful build of Crossroad, reference master (1f5752
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 10:34:00 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/giginet/Crossroad.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/giginet/Crossroad
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 1f5752c Merge pull request #50 from giginet/avoid-warnings
Cloned https://github.com/giginet/Crossroad.git
Revision (git rev-parse @):
1f5752c1ca665e88b8d4431efd422f1fd7f5764a
SUCCESS checkout https://github.com/giginet/Crossroad.git at master
========================================
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": "crossroad",
"name": "Crossroad",
"url": "https://github.com/giginet/Crossroad.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Crossroad",
"dependencies": [
]
}
]
}
Fetching https://github.com/giginet/Crossroad.git
[1/2103] Fetching crossroad
Fetched https://github.com/giginet/Crossroad.git from cache (4.69s)
Creating working copy for https://github.com/giginet/Crossroad.git
Working copy of https://github.com/giginet/Crossroad.git resolved at master (1f5752c)
warning: '.resolve-product-dependencies': dependency 'crossroad' 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/giginet/Crossroad.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/12] Compiling Crossroad OpenURLOption.swift
[4/13] Compiling Crossroad Context.swift
[5/13] Compiling Crossroad DSL.swift
[6/13] Compiling Crossroad Route.swift
[7/13] Compiling Crossroad Parsable.swift
[8/13] Compiling Crossroad Pattern.swift
[9/13] Compiling Crossroad Utils.swift
[10/13] Compiling Crossroad Router.swift
[11/13] Compiling Crossroad ContextParser.swift
[12/13] Emitting module Crossroad
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Validator.swift:122:14: warning: associated value 'unknownLinkSource' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'LinkSource'; this is an error in the Swift 6 language mode
120 |
121 | public enum ValidationError: LocalizedError {
122 | case unknownLinkSource(Set<LinkSource>)
| `- warning: associated value 'unknownLinkSource' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'LinkSource'; this is an error in the Swift 6 language mode
123 | case duplicatedRoute(String, Route.AcceptPolicy)
124 | case invalidLinkSource(String, LinkSource)
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Pattern.swift:3:13: note: consider making enum 'LinkSource' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum LinkSource: Hashable, CustomStringConvertible {
| `- note: consider making enum 'LinkSource' conform to the 'Sendable' protocol
4 | case customURLScheme(String)
5 | case universalLink(URL)
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Validator.swift:123:14: warning: associated value 'duplicatedRoute' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'Router<UserInfo>.Route.AcceptPolicy' (aka 'Route<UserInfo>.AcceptPolicy'); this is an error in the Swift 6 language mode
121 | public enum ValidationError: LocalizedError {
122 | case unknownLinkSource(Set<LinkSource>)
123 | case duplicatedRoute(String, Route.AcceptPolicy)
| `- warning: associated value 'duplicatedRoute' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'Router<UserInfo>.Route.AcceptPolicy' (aka 'Route<UserInfo>.AcceptPolicy'); this is an error in the Swift 6 language mode
124 | case invalidLinkSource(String, LinkSource)
125 | case invalidSchemeLinkSource(String)
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Route.swift:9:17: note: consider making enum 'AcceptPolicy' conform to the 'Sendable' protocol
7 | var handler: Handler
8 |
9 | public enum AcceptPolicy: Equatable {
| `- note: consider making enum 'AcceptPolicy' conform to the 'Sendable' protocol
10 | case any
11 | case only(for: Set<LinkSource>)
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Validator.swift:124:14: warning: associated value 'invalidLinkSource' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'LinkSource'; this is an error in the Swift 6 language mode
122 | case unknownLinkSource(Set<LinkSource>)
123 | case duplicatedRoute(String, Route.AcceptPolicy)
124 | case invalidLinkSource(String, LinkSource)
| `- warning: associated value 'invalidLinkSource' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'LinkSource'; this is an error in the Swift 6 language mode
125 | case invalidSchemeLinkSource(String)
126 | case wellKnownScheme(String)
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Pattern.swift:3:13: note: consider making enum 'LinkSource' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum LinkSource: Hashable, CustomStringConvertible {
| `- note: consider making enum 'LinkSource' conform to the 'Sendable' protocol
4 | case customURLScheme(String)
5 | case universalLink(URL)
[13/13] Compiling Crossroad Validator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Validator.swift:122:14: warning: associated value 'unknownLinkSource' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'LinkSource'; this is an error in the Swift 6 language mode
120 |
121 | public enum ValidationError: LocalizedError {
122 | case unknownLinkSource(Set<LinkSource>)
| `- warning: associated value 'unknownLinkSource' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'LinkSource'; this is an error in the Swift 6 language mode
123 | case duplicatedRoute(String, Route.AcceptPolicy)
124 | case invalidLinkSource(String, LinkSource)
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Pattern.swift:3:13: note: consider making enum 'LinkSource' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum LinkSource: Hashable, CustomStringConvertible {
| `- note: consider making enum 'LinkSource' conform to the 'Sendable' protocol
4 | case customURLScheme(String)
5 | case universalLink(URL)
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Validator.swift:123:14: warning: associated value 'duplicatedRoute' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'Router<UserInfo>.Route.AcceptPolicy' (aka 'Route<UserInfo>.AcceptPolicy'); this is an error in the Swift 6 language mode
121 | public enum ValidationError: LocalizedError {
122 | case unknownLinkSource(Set<LinkSource>)
123 | case duplicatedRoute(String, Route.AcceptPolicy)
| `- warning: associated value 'duplicatedRoute' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'Router<UserInfo>.Route.AcceptPolicy' (aka 'Route<UserInfo>.AcceptPolicy'); this is an error in the Swift 6 language mode
124 | case invalidLinkSource(String, LinkSource)
125 | case invalidSchemeLinkSource(String)
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Route.swift:9:17: note: consider making enum 'AcceptPolicy' conform to the 'Sendable' protocol
7 | var handler: Handler
8 |
9 | public enum AcceptPolicy: Equatable {
| `- note: consider making enum 'AcceptPolicy' conform to the 'Sendable' protocol
10 | case any
11 | case only(for: Set<LinkSource>)
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Validator.swift:124:14: warning: associated value 'invalidLinkSource' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'LinkSource'; this is an error in the Swift 6 language mode
122 | case unknownLinkSource(Set<LinkSource>)
123 | case duplicatedRoute(String, Route.AcceptPolicy)
124 | case invalidLinkSource(String, LinkSource)
| `- warning: associated value 'invalidLinkSource' of 'Sendable'-conforming enum 'ValidationError' has non-sendable type 'LinkSource'; this is an error in the Swift 6 language mode
125 | case invalidSchemeLinkSource(String)
126 | case wellKnownScheme(String)
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Pattern.swift:3:13: note: consider making enum 'LinkSource' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum LinkSource: Hashable, CustomStringConvertible {
| `- note: consider making enum 'LinkSource' conform to the 'Sendable' protocol
4 | case customURLScheme(String)
5 | case universalLink(URL)
Build complete! (13.24s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Crossroad",
"name" : "Crossroad",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "macos",
"version" : "10.10"
}
],
"products" : [
{
"name" : "Crossroad",
"targets" : [
"Crossroad"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CrossroadTests",
"module_type" : "SwiftTarget",
"name" : "CrossroadTests",
"path" : "Tests/CrossroadTests",
"sources" : [
"ContextTests.swift",
"DSLTests.swift",
"OpenURLOptionTests.swift",
"ParsableTests.swift",
"ParserTests.swift",
"PatternTests.swift",
"RouterTests.swift",
"Router_AcceptanceTests.swift",
"Router_ValidationTests.swift"
],
"target_dependencies" : [
"Crossroad"
],
"type" : "test"
},
{
"c99name" : "Crossroad",
"module_type" : "SwiftTarget",
"name" : "Crossroad",
"path" : "Sources/Crossroad",
"product_memberships" : [
"Crossroad"
],
"sources" : [
"Context.swift",
"ContextParser.swift",
"DSL.swift",
"OpenURLOption.swift",
"Parsable.swift",
"Pattern.swift",
"Route.swift",
"Router.swift",
"Utils.swift",
"Validator.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.