The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of FPTF, reference 0.3.0 (ea622f), with Swift 6.1 for Linux on 25 Apr 2025 07:42:19 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/public-transport/fptf.swift.git
Reference: 0.3.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/public-transport/fptf.swift
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at ea622ff make schedule in Leg init optional as well
Cloned https://github.com/public-transport/fptf.swift.git
Revision (git rev-parse @):
ea622ff87241c211a1b082057e7e9f2771b81020
SUCCESS checkout https://github.com/public-transport/fptf.swift.git at 0.3.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/public-transport/fptf.swift.git
https://github.com/public-transport/fptf.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FPTF",
  "name" : "FPTF",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FPTF",
      "targets" : [
        "FPTF"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FPTFTests",
      "module_type" : "SwiftTarget",
      "name" : "FPTFTests",
      "path" : "Tests/FPTFTests",
      "sources" : [
        "Fixtures/JSON.swift",
        "JourneyTests.swift",
        "LineTests.swift",
        "OperatorTests.swift",
        "RegionTests.swift",
        "RouteTests.swift",
        "ScheduleTests.swift",
        "StationTests.swift",
        "StopTests.swift"
      ],
      "target_dependencies" : [
        "FPTF"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FPTF",
      "module_type" : "SwiftTarget",
      "name" : "FPTF",
      "path" : "Sources/FPTF",
      "product_memberships" : [
        "FPTF"
      ],
      "sources" : [
        "Item.swift",
        "Items/Journey.swift",
        "Items/Line.swift",
        "Items/Location.swift",
        "Items/Operator.swift",
        "Items/Region.swift",
        "Items/Route.swift",
        "Items/Schedule.swift",
        "Items/Station.swift",
        "Items/Stop.swift",
        "Mode.swift",
        "Ref.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/14] Compiling FPTF Mode.swift
[4/14] Compiling FPTF Stop.swift
/host/spi-builder-workspace/Sources/FPTF/Items/Stop.swift:6:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 4 | ///         use `Station`s instead.
 5 | public struct Stop: Item {
 6 |     public let type = "stop"
   |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
   |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
   |                `- note: make the property mutable instead
 7 |
 8 |     public var id: String
[5/15] Compiling FPTF Ref.swift
[6/15] Compiling FPTF Operator.swift
/host/spi-builder-workspace/Sources/FPTF/Items/Operator.swift:2:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 1 | public struct Operator: Item {
 2 |     public let type = "operator"
   |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
   |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
   |                `- note: make the property mutable instead
 3 |
 4 |     public var id: String
/host/spi-builder-workspace/Sources/FPTF/Items/Region.swift:3:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 1 | /// A group of `Station`s, for example a metropolitan area or a geographical or cultural region.
 2 | public struct Region: Item {
 3 |     public let type = "region"
   |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
   |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
   |                `- note: make the property mutable instead
 4 |
 5 |     public var id: String
[7/15] Compiling FPTF Region.swift
/host/spi-builder-workspace/Sources/FPTF/Items/Operator.swift:2:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 1 | public struct Operator: Item {
 2 |     public let type = "operator"
   |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
   |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
   |                `- note: make the property mutable instead
 3 |
 4 |     public var id: String
/host/spi-builder-workspace/Sources/FPTF/Items/Region.swift:3:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 1 | /// A group of `Station`s, for example a metropolitan area or a geographical or cultural region.
 2 | public struct Region: Item {
 3 |     public let type = "region"
   |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
   |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
   |                `- note: make the property mutable instead
 4 |
 5 |     public var id: String
[8/15] Compiling FPTF Station.swift
/host/spi-builder-workspace/Sources/FPTF/Items/Station.swift:5:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 3 | /// is often a broader area that may span across multiple levels or buildings.
 4 | public struct Station: Item {
 5 |     public let type = "station"
   |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
   |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
   |                `- note: make the property mutable instead
 6 |
 7 |     public var id: String
[9/15] Compiling FPTF Route.swift
/host/spi-builder-workspace/Sources/FPTF/Items/Route.swift:3:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 1 | /// Represents a single set of `Station`s of a single `Line`.
 2 | public struct Route: Item {
 3 |     public let type = "route"
   |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
   |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
   |                `- note: make the property mutable instead
 4 |
 5 |     public var id: String
/host/spi-builder-workspace/Sources/FPTF/Items/Schedule.swift:2:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 1 | public struct Schedule: Item {
 2 |     public let type = "schedule"
   |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
   |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
   |                `- note: make the property mutable instead
 3 |
 4 |     public var id: String
[10/15] Compiling FPTF Schedule.swift
/host/spi-builder-workspace/Sources/FPTF/Items/Route.swift:3:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 1 | /// Represents a single set of `Station`s of a single `Line`.
 2 | public struct Route: Item {
 3 |     public let type = "route"
   |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
   |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
   |                `- note: make the property mutable instead
 4 |
 5 |     public var id: String
/host/spi-builder-workspace/Sources/FPTF/Items/Schedule.swift:2:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 1 | public struct Schedule: Item {
 2 |     public let type = "schedule"
   |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
   |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
   |                `- note: make the property mutable instead
 3 |
 4 |     public var id: String
[11/15] Emitting module FPTF
/host/spi-builder-workspace/Sources/FPTF/Item.swift:14:10: warning: associated value 'invalidFPTF(value:reason:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 |
13 | enum Error: Swift.Error {
14 |     case invalidFPTF(value: Any, reason: String)
   |          `- warning: associated value 'invalidFPTF(value:reason:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
15 | }
16 |
[12/15] Compiling FPTF Line.swift
/host/spi-builder-workspace/Sources/FPTF/Items/Line.swift:2:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 1 | public struct Line: Item {
 2 |     public let type = "line"
   |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
   |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
   |                `- note: make the property mutable instead
 3 |
 4 |     public var id: String
/host/spi-builder-workspace/Sources/FPTF/Items/Location.swift:2:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 1 | public struct Location: Item {
 2 |     public let type = "location"
   |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
   |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
   |                `- note: make the property mutable instead
 3 |
 4 |     public var name: String?
[13/15] Compiling FPTF Location.swift
/host/spi-builder-workspace/Sources/FPTF/Items/Line.swift:2:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 1 | public struct Line: Item {
 2 |     public let type = "line"
   |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
   |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
   |                `- note: make the property mutable instead
 3 |
 4 |     public var id: String
/host/spi-builder-workspace/Sources/FPTF/Items/Location.swift:2:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 1 | public struct Location: Item {
 2 |     public let type = "location"
   |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
   |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
   |                `- note: make the property mutable instead
 3 |
 4 |     public var name: String?
[14/15] Compiling FPTF Item.swift
/host/spi-builder-workspace/Sources/FPTF/Item.swift:14:10: warning: associated value 'invalidFPTF(value:reason:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 |
13 | enum Error: Swift.Error {
14 |     case invalidFPTF(value: Any, reason: String)
   |          `- warning: associated value 'invalidFPTF(value:reason:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
15 | }
16 |
/host/spi-builder-workspace/Sources/FPTF/Items/Journey.swift:6:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 4 | /// of a route planning algorithm.
 5 | public struct Journey: Item {
 6 |     public let type = "journey"
   |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
   |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
   |                `- note: make the property mutable instead
 7 |
 8 |     public var id: String
[15/15] Compiling FPTF Journey.swift
/host/spi-builder-workspace/Sources/FPTF/Item.swift:14:10: warning: associated value 'invalidFPTF(value:reason:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 |
13 | enum Error: Swift.Error {
14 |     case invalidFPTF(value: Any, reason: String)
   |          `- warning: associated value 'invalidFPTF(value:reason:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
15 | }
16 |
/host/spi-builder-workspace/Sources/FPTF/Items/Journey.swift:6:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 4 | /// of a route planning algorithm.
 5 | public struct Journey: Item {
 6 |     public let type = "journey"
   |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
   |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
   |                `- note: make the property mutable instead
 7 |
 8 |     public var id: String
Build complete! (7.53s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FPTF",
  "name" : "FPTF",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FPTF",
      "targets" : [
        "FPTF"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FPTFTests",
      "module_type" : "SwiftTarget",
      "name" : "FPTFTests",
      "path" : "Tests/FPTFTests",
      "sources" : [
        "Fixtures/JSON.swift",
        "JourneyTests.swift",
        "LineTests.swift",
        "OperatorTests.swift",
        "RegionTests.swift",
        "RouteTests.swift",
        "ScheduleTests.swift",
        "StationTests.swift",
        "StopTests.swift"
      ],
      "target_dependencies" : [
        "FPTF"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FPTF",
      "module_type" : "SwiftTarget",
      "name" : "FPTF",
      "path" : "Sources/FPTF",
      "product_memberships" : [
        "FPTF"
      ],
      "sources" : [
        "Item.swift",
        "Items/Journey.swift",
        "Items/Line.swift",
        "Items/Location.swift",
        "Items/Operator.swift",
        "Items/Region.swift",
        "Items/Route.swift",
        "Items/Schedule.swift",
        "Items/Station.swift",
        "Items/Stop.swift",
        "Mode.swift",
        "Ref.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.