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 master (1f5752), with Swift 6.1 for Android on 28 May 2025 06:51:43 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/giginet/Crossroad.git
Reference: master
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
 * 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
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/giginet/Crossroad.git
https://github.com/giginet/Crossroad.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/12] Compiling Crossroad Utils.swift
[4/13] Compiling Crossroad DSL.swift
[5/13] Compiling Crossroad OpenURLOption.swift
[6/13] Emitting module Crossroad
/host/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)
/host/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)
/host/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)
/host/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>)
/host/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)
/host/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)
[7/13] Compiling Crossroad Context.swift
[8/13] Compiling Crossroad ContextParser.swift
[9/13] Compiling Crossroad Parsable.swift
[10/13] Compiling Crossroad Router.swift
[11/13] Compiling Crossroad Pattern.swift
[12/13] Compiling Crossroad Route.swift
[13/13] Compiling Crossroad Validator.swift
/host/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)
/host/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)
/host/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)
/host/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>)
/host/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)
/host/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.86s)
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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.