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.0 for macOS (SPM) on 26 Nov 2024 11:00:56 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.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 /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
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 0.3.0 (ea622ff)
warning: '.resolve-product-dependencies': dependency 'fptf.swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/public-transport/fptf.swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.txt
[3/14] 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
[4/14] 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
[5/14] 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
[6/14] Compiling FPTF Region.swift
/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
[7/14] 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
[8/14] Compiling FPTF Mode.swift
[9/15] Compiling FPTF Ref.swift
[10/15] 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
[11/15] 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
[12/15] 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
[13/15] 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
[14/15] 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?
[15/15] 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! (9.92s)
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",
        "Mode.swift",
        "Ref.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.