The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Crossroad, reference 4.2.0 (7f5d9b), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 12:25:36 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/giginet/Crossroad.git
Reference: 4.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/giginet/Crossroad
 * tag               4.2.0      -> FETCH_HEAD
HEAD is now at 7f5d9bc Bump up version
Cloned https://github.com/giginet/Crossroad.git
Revision (git rev-parse @):
7f5d9bc64a901b7b9c09140dd30e95dfa8e4e6fb
SUCCESS checkout https://github.com/giginet/Crossroad.git at 4.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/giginet/Crossroad.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/12] Compiling Crossroad Utils.swift
[4/13] Compiling Crossroad Route.swift
[5/13] Compiling Crossroad Router.swift
[6/13] Compiling Crossroad Parsable.swift
[7/13] Compiling Crossroad ContextParser.swift
[8/13] Compiling Crossroad OpenURLOption.swift
[9/13] Compiling Crossroad DSL.swift
[10/13] Compiling Crossroad Context.swift
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Context.swift:6:14: warning: associated value 'couldNotParse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any Parsable.Type'
  4 |     enum Error: Swift.Error {
  5 |         case keyNotFound(String)
  6 |         case couldNotParse(Parsable.Type)
    |              `- warning: associated value 'couldNotParse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any Parsable.Type'
  7 |     }
  8 |     typealias Storage = [String: String]
[11/13] Emitting module Crossroad
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Context.swift:6:14: warning: associated value 'couldNotParse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any Parsable.Type'
  4 |     enum Error: Swift.Error {
  5 |         case keyNotFound(String)
  6 |         case couldNotParse(Parsable.Type)
    |              `- warning: associated value 'couldNotParse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any Parsable.Type'
  7 |     }
  8 |     typealias Storage = [String: String]
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Validator.swift:9:23: warning: generic parameter 'UserInfo' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  7 | extension Router {
  8 |     private struct UnknownLinkSourceRule: ValidationRule {
  9 |         func validate<UserInfo>(for router: Router<UserInfo>) throws {
    |                       `- warning: generic parameter 'UserInfo' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 10 |             for route in router.routes {
 11 |                 guard case let .only(acceptSources) = route.acceptPolicy else {
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Router.swift:5:27: note: 'UserInfo' previously declared here
  3 | public typealias SimpleRouter = Router<Void>
  4 |
  5 | public final class Router<UserInfo> {
    |                           `- note: 'UserInfo' previously declared here
  6 |     public typealias Route = Crossroad.Route<UserInfo>
  7 |
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Validator.swift:23:23: warning: generic parameter 'UserInfo' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 21 |
 22 |     private struct DuplicatedRouteRule: ValidationRule {
 23 |         func validate<UserInfo>(for router: Router<UserInfo>) throws {
    |                       `- warning: generic parameter 'UserInfo' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 24 |             for route in router.routes {
 25 |                 let acceptSources: Set<LinkSource>
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Router.swift:5:27: note: 'UserInfo' previously declared here
  3 | public typealias SimpleRouter = Router<Void>
  4 |
  5 | public final class Router<UserInfo> {
    |                           `- note: 'UserInfo' previously declared here
  6 |     public typealias Route = Crossroad.Route<UserInfo>
  7 |
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Validator.swift:49:23: warning: generic parameter 'UserInfo' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 47 |
 48 |     private struct InvalidLinkSourceRule: ValidationRule {
 49 |         func validate<UserInfo>(for router: Router<UserInfo>) throws {
    |                       `- warning: generic parameter 'UserInfo' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 50 |             for route in router.routes {
 51 |                 guard let patternLinkSource = route.pattern.linkSource else {
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Router.swift:5:27: note: 'UserInfo' previously declared here
  3 | public typealias SimpleRouter = Router<Void>
  4 |
  5 | public final class Router<UserInfo> {
    |                           `- note: 'UserInfo' previously declared here
  6 |     public typealias Route = Crossroad.Route<UserInfo>
  7 |
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Validator.swift:73:23: warning: generic parameter 'UserInfo' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 71 |
 72 |     private struct InvalidUniversalLinkSourceRule: ValidationRule {
 73 |         func validate<UserInfo>(for router: Router<UserInfo>) throws {
    |                       `- warning: generic parameter 'UserInfo' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 74 |             for linkSource in router.linkSources {
 75 |                 switch linkSource {
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Router.swift:5:27: note: 'UserInfo' previously declared here
  3 | public typealias SimpleRouter = Router<Void>
  4 |
  5 | public final class Router<UserInfo> {
    |                           `- note: 'UserInfo' previously declared here
  6 |     public typealias Route = Crossroad.Route<UserInfo>
  7 |
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Validator.swift:104:23: warning: generic parameter 'UserInfo' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 |         ]
103 |
104 |         func validate<UserInfo>(for router: Router<UserInfo>) throws {
    |                       `- warning: generic parameter 'UserInfo' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
105 |             for linkSource in router.linkSources {
106 |                 switch linkSource {
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Router.swift:5:27: note: 'UserInfo' previously declared here
  3 | public typealias SimpleRouter = Router<Void>
  4 |
  5 | public final class Router<UserInfo> {
    |                           `- note: 'UserInfo' previously declared here
  6 |     public typealias Route = Crossroad.Route<UserInfo>
  7 |
[12/13] Compiling Crossroad Pattern.swift
[13/13] Compiling Crossroad Validator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Validator.swift:9:23: warning: generic parameter 'UserInfo' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  7 | extension Router {
  8 |     private struct UnknownLinkSourceRule: ValidationRule {
  9 |         func validate<UserInfo>(for router: Router<UserInfo>) throws {
    |                       `- warning: generic parameter 'UserInfo' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 10 |             for route in router.routes {
 11 |                 guard case let .only(acceptSources) = route.acceptPolicy else {
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Router.swift:5:27: note: 'UserInfo' previously declared here
  3 | public typealias SimpleRouter = Router<Void>
  4 |
  5 | public final class Router<UserInfo> {
    |                           `- note: 'UserInfo' previously declared here
  6 |     public typealias Route = Crossroad.Route<UserInfo>
  7 |
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Validator.swift:23:23: warning: generic parameter 'UserInfo' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 21 |
 22 |     private struct DuplicatedRouteRule: ValidationRule {
 23 |         func validate<UserInfo>(for router: Router<UserInfo>) throws {
    |                       `- warning: generic parameter 'UserInfo' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 24 |             for route in router.routes {
 25 |                 let acceptSources: Set<LinkSource>
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Router.swift:5:27: note: 'UserInfo' previously declared here
  3 | public typealias SimpleRouter = Router<Void>
  4 |
  5 | public final class Router<UserInfo> {
    |                           `- note: 'UserInfo' previously declared here
  6 |     public typealias Route = Crossroad.Route<UserInfo>
  7 |
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Validator.swift:49:23: warning: generic parameter 'UserInfo' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 47 |
 48 |     private struct InvalidLinkSourceRule: ValidationRule {
 49 |         func validate<UserInfo>(for router: Router<UserInfo>) throws {
    |                       `- warning: generic parameter 'UserInfo' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 50 |             for route in router.routes {
 51 |                 guard let patternLinkSource = route.pattern.linkSource else {
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Router.swift:5:27: note: 'UserInfo' previously declared here
  3 | public typealias SimpleRouter = Router<Void>
  4 |
  5 | public final class Router<UserInfo> {
    |                           `- note: 'UserInfo' previously declared here
  6 |     public typealias Route = Crossroad.Route<UserInfo>
  7 |
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Validator.swift:73:23: warning: generic parameter 'UserInfo' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 71 |
 72 |     private struct InvalidUniversalLinkSourceRule: ValidationRule {
 73 |         func validate<UserInfo>(for router: Router<UserInfo>) throws {
    |                       `- warning: generic parameter 'UserInfo' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 74 |             for linkSource in router.linkSources {
 75 |                 switch linkSource {
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Router.swift:5:27: note: 'UserInfo' previously declared here
  3 | public typealias SimpleRouter = Router<Void>
  4 |
  5 | public final class Router<UserInfo> {
    |                           `- note: 'UserInfo' previously declared here
  6 |     public typealias Route = Crossroad.Route<UserInfo>
  7 |
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Validator.swift:104:23: warning: generic parameter 'UserInfo' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
102 |         ]
103 |
104 |         func validate<UserInfo>(for router: Router<UserInfo>) throws {
    |                       `- warning: generic parameter 'UserInfo' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
105 |             for linkSource in router.linkSources {
106 |                 switch linkSource {
/Users/admin/builder/spi-builder-workspace/Sources/Crossroad/Router.swift:5:27: note: 'UserInfo' previously declared here
  3 | public typealias SimpleRouter = Router<Void>
  4 |
  5 | public final class Router<UserInfo> {
    |                           `- note: 'UserInfo' previously declared here
  6 |     public typealias Route = Crossroad.Route<UserInfo>
  7 |
Build complete! (4.68s)
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.