This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for Linux.

Swift 6 data race errors: 1

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/public-transport/fptf.swift.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/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/public-transport/fptf.swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling FPTF Mode.swift
[4/16] 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?
[5/16] 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?
[6/16] Compiling FPTF Ref.swift
[7/16] 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
[8/16] 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
[9/16] 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
/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
[10/16] Compiling FPTF Stop.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
/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
[11/16] 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
[12/16] 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
[13/16] Compiling FPTF Stopover.swift
/host/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>
[14/16] 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/16] 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
[16/16] 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 |
/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
/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?
/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
/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
/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
/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
/host/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>
Build complete! (12.13s)
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",
        "Items/Stopover.swift",
        "Mode.swift",
        "Ref.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.