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 Android on 19 Jun 2025 12:20:39 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

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 /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/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:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/giginet/Crossroad.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/12] Compiling Crossroad Utils.swift
[4/13] Emitting module Crossroad
/host/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]
/host/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 {
/host/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 |
/host/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>
/host/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 |
/host/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 {
/host/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 |
/host/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 {
/host/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 |
/host/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 {
/host/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 |
[5/13] Compiling Crossroad Context.swift
/host/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]
[6/13] Compiling Crossroad ContextParser.swift
/host/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]
[7/13] Compiling Crossroad Pattern.swift
[8/13] Compiling Crossroad DSL.swift
[9/13] Compiling Crossroad OpenURLOption.swift
[10/13] Compiling Crossroad Parsable.swift
[11/13] Compiling Crossroad Router.swift
[12/13] Compiling Crossroad Route.swift
[13/13] Compiling Crossroad Validator.swift
/host/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 {
/host/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 |
/host/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>
/host/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 |
/host/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 {
/host/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 |
/host/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 {
/host/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 |
/host/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 {
/host/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! (24.12s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Crossroad",
  "name" : "Crossroad",
  "path" : "/host/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"
}
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Done.