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 master (7ed639), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 11:27:18 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/public-transport/fptf.swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/public-transport/fptf.swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7ed639a Merge pull request #6 from lightsprint09/stopover
Cloned https://github.com/public-transport/fptf.swift.git
Revision (git rev-parse @):
7ed639a34ba4194687b15e38d9aa254023a02fb3
SUCCESS checkout https://github.com/public-transport/fptf.swift.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": "fptf.swift",
      "name": "FPTF",
      "url": "https://github.com/public-transport/fptf.swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/fptf.swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/public-transport/fptf.swift.git
[1/589] Fetching fptf.swift
Fetched https://github.com/public-transport/fptf.swift.git from cache (0.87s)
Creating working copy for https://github.com/public-transport/fptf.swift.git
Working copy of https://github.com/public-transport/fptf.swift.git resolved at master (7ed639a)
warning: '.resolve-product-dependencies': dependency 'fptf.swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
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
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FPTF",
  "name" : "FPTF",
  "path" : "/Users/admin/builder/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",
        "Items/Stopover.swift",
        "Mode.swift",
        "Ref.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/15] Compiling FPTF Mode.swift
[4/15] Compiling FPTF Station.swift
/Users/admin/builder/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
[5/15] Compiling FPTF Stop.swift
/Users/admin/builder/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
[6/15] Compiling FPTF Schedule.swift
/Users/admin/builder/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
[7/15] Compiling FPTF Route.swift
/Users/admin/builder/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
[8/15] Compiling FPTF Stopover.swift
/Users/admin/builder/spi-builder-workspace/Sources/FPTF/Items/Stopover.swift:4:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 2 |
 3 | public struct Stopover: Item {
 4 |     public let type: String = "stopover"
   |                |- 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
 5 |
 6 |     public var stop: Ref<Stop>
[9/16] Compiling FPTF Ref.swift
[10/16] Compiling FPTF Operator.swift
/Users/admin/builder/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
/Users/admin/builder/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
[11/16] Compiling FPTF Region.swift
/Users/admin/builder/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
/Users/admin/builder/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
[12/16] Emitting module FPTF
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/FPTF/Items/Location.swift:24:5: warning: 'public' modifier is redundant for initializer declared in a public extension
22 |
23 | public extension Location {
24 |     public init(name: String?, address: String?, location: CLLocation) {
   |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
25 |         self.name = name
26 |         self.address = address
[13/16] Compiling FPTF Item.swift
/Users/admin/builder/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 |
/Users/admin/builder/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
[14/16] Compiling FPTF Journey.swift
/Users/admin/builder/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 |
/Users/admin/builder/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/16] Compiling FPTF Line.swift
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/FPTF/Items/Location.swift:24:5: warning: 'public' modifier is redundant for initializer declared in a public extension
22 |
23 | public extension Location {
24 |     public init(name: String?, address: String?, location: CLLocation) {
   |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
25 |         self.name = name
26 |         self.address = address
/Users/admin/builder/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?
[16/16] Compiling FPTF Location.swift
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/FPTF/Items/Location.swift:24:5: warning: 'public' modifier is redundant for initializer declared in a public extension
22 |
23 | public extension Location {
24 |     public init(name: String?, address: String?, location: CLLocation) {
   |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
25 |         self.name = name
26 |         self.address = address
/Users/admin/builder/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?
Build complete! (4.66s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FPTF",
  "name" : "FPTF",
  "path" : "/Users/admin/builder/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",
        "Items/Stopover.swift",
        "Mode.swift",
        "Ref.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.