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

Swift 6 data race errors: 2

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/binarybirds/timezones.git
Reference: main
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/binarybirds/timezones
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 03bb9fb license
Cloned https://github.com/binarybirds/timezones.git
Revision (git rev-parse @):
03bb9fbc72df1be9d6611cb8215db09711ebd378
SUCCESS checkout https://github.com/binarybirds/timezones.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/binarybirds/timezones.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/6] Emitting module TimeZones
/host/spi-builder-workspace/Sources/TimeZone+Abbrevation.swift:13:5: warning: 'public' modifier is redundant for enum declared in a public extension
11 |
12 |     //created from: TimeZone.abbreviationDictionary.keys
13 |     public enum Abbrevation: String {
   |     `- warning: 'public' modifier is redundant for enum declared in a public extension
14 |         case adt
15 |         case akdt
/host/spi-builder-workspace/Sources/TimeZone+Abbrevation.swift:67:5: warning: 'public' modifier is redundant for initializer declared in a public extension
65 |     }
66 |
67 |     public init(abbrevation: TimeZone.Abbrevation) {
   |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
68 |         self.init(abbreviation: abbrevation.rawValue.uppercased())!
69 |     }
/host/spi-builder-workspace/Sources/TimeZone+Location.swift:24:5: warning: 'public' modifier is redundant for static property declared in a public extension
 22 | public extension TimeZone {
 23 |
 24 |     public static var local: TimeZone {
    |     `- warning: 'public' modifier is redundant for static property declared in a public extension
 25 |         return TimeZone(identifier: NSTimeZone.local.identifier)!
 26 |     }
/host/spi-builder-workspace/Sources/TimeZone+Location.swift:28:5: warning: 'public' modifier is redundant for static property declared in a public extension
 26 |     }
 27 |
 28 |     public static var system: TimeZone {
    |     `- warning: 'public' modifier is redundant for static property declared in a public extension
 29 |         return TimeZone(identifier: NSTimeZone.system.identifier)!
 30 |     }
/host/spi-builder-workspace/Sources/TimeZone+Location.swift:33:23: warning: static property 'knownTimeZoneCoordinates' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 31 |
 32 |     //created from TimeZone.knownTimeZoneIdentifiers
 33 |     public static var knownTimeZoneCoordinates: [String: Coordinate] = [
    |                       |- warning: static property 'knownTimeZoneCoordinates' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'knownTimeZoneCoordinates' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'knownTimeZoneCoordinates' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |         "GMT": Coordinate(latitude: -15.706_518_6, longitude: -47.905_952_3),
 35 |
/host/spi-builder-workspace/Sources/TimeZone+Location.swift:33:5: warning: 'public' modifier is redundant for static property declared in a public extension
 31 |
 32 |     //created from TimeZone.knownTimeZoneIdentifiers
 33 |     public static var knownTimeZoneCoordinates: [String: Coordinate] = [
    |     `- warning: 'public' modifier is redundant for static property declared in a public extension
 34 |         "GMT": Coordinate(latitude: -15.706_518_6, longitude: -47.905_952_3),
 35 |
/host/spi-builder-workspace/Sources/TimeZone+Location.swift:492:23: warning: static property 'GMT' is not concurrency-safe because non-'Sendable' type '(identifier: String, coordinate: Coordinate)' may have shared mutable state; this is an error in the Swift 6 language mode
490 |
491 |
492 |     public static let GMT: (identifier: String, coordinate: Coordinate) =
    |                       |- warning: static property 'GMT' is not concurrency-safe because non-'Sendable' type '(identifier: String, coordinate: Coordinate)' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'GMT' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
493 |             (identifier: "GMT", coordinate: TimeZone.knownTimeZoneCoordinates["GMT"]!)
494 |
/host/spi-builder-workspace/Sources/Coordinate.swift:13:15: note: consider making struct 'Coordinate' conform to the 'Sendable' protocol
11 | #endif
12 |
13 | public struct Coordinate: Codable {
   |               `- note: consider making struct 'Coordinate' conform to the 'Sendable' protocol
14 |     public let latitude: Double
15 |     public let longitude: Double
/host/spi-builder-workspace/Sources/TimeZone+Location.swift:492:5: warning: 'public' modifier is redundant for static property declared in a public extension
490 |
491 |
492 |     public static let GMT: (identifier: String, coordinate: Coordinate) =
    |     `- warning: 'public' modifier is redundant for static property declared in a public extension
493 |             (identifier: "GMT", coordinate: TimeZone.knownTimeZoneCoordinates["GMT"]!)
494 |
[4/6] Compiling TimeZones Coordinate.swift
[5/6] Compiling TimeZones TimeZone+Abbrevation.swift
/host/spi-builder-workspace/Sources/TimeZone+Abbrevation.swift:13:5: warning: 'public' modifier is redundant for enum declared in a public extension
11 |
12 |     //created from: TimeZone.abbreviationDictionary.keys
13 |     public enum Abbrevation: String {
   |     `- warning: 'public' modifier is redundant for enum declared in a public extension
14 |         case adt
15 |         case akdt
/host/spi-builder-workspace/Sources/TimeZone+Abbrevation.swift:67:5: warning: 'public' modifier is redundant for initializer declared in a public extension
65 |     }
66 |
67 |     public init(abbrevation: TimeZone.Abbrevation) {
   |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
68 |         self.init(abbreviation: abbrevation.rawValue.uppercased())!
69 |     }
[6/6] Compiling TimeZones TimeZone+Location.swift
/host/spi-builder-workspace/Sources/TimeZone+Location.swift:24:5: warning: 'public' modifier is redundant for static property declared in a public extension
 22 | public extension TimeZone {
 23 |
 24 |     public static var local: TimeZone {
    |     `- warning: 'public' modifier is redundant for static property declared in a public extension
 25 |         return TimeZone(identifier: NSTimeZone.local.identifier)!
 26 |     }
/host/spi-builder-workspace/Sources/TimeZone+Location.swift:28:5: warning: 'public' modifier is redundant for static property declared in a public extension
 26 |     }
 27 |
 28 |     public static var system: TimeZone {
    |     `- warning: 'public' modifier is redundant for static property declared in a public extension
 29 |         return TimeZone(identifier: NSTimeZone.system.identifier)!
 30 |     }
/host/spi-builder-workspace/Sources/TimeZone+Location.swift:33:23: warning: static property 'knownTimeZoneCoordinates' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 31 |
 32 |     //created from TimeZone.knownTimeZoneIdentifiers
 33 |     public static var knownTimeZoneCoordinates: [String: Coordinate] = [
    |                       |- warning: static property 'knownTimeZoneCoordinates' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'knownTimeZoneCoordinates' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'knownTimeZoneCoordinates' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |         "GMT": Coordinate(latitude: -15.706_518_6, longitude: -47.905_952_3),
 35 |
/host/spi-builder-workspace/Sources/TimeZone+Location.swift:33:5: warning: 'public' modifier is redundant for static property declared in a public extension
 31 |
 32 |     //created from TimeZone.knownTimeZoneIdentifiers
 33 |     public static var knownTimeZoneCoordinates: [String: Coordinate] = [
    |     `- warning: 'public' modifier is redundant for static property declared in a public extension
 34 |         "GMT": Coordinate(latitude: -15.706_518_6, longitude: -47.905_952_3),
 35 |
/host/spi-builder-workspace/Sources/TimeZone+Location.swift:492:23: warning: static property 'GMT' is not concurrency-safe because non-'Sendable' type '(identifier: String, coordinate: Coordinate)' may have shared mutable state; this is an error in the Swift 6 language mode
490 |
491 |
492 |     public static let GMT: (identifier: String, coordinate: Coordinate) =
    |                       |- warning: static property 'GMT' is not concurrency-safe because non-'Sendable' type '(identifier: String, coordinate: Coordinate)' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'GMT' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
493 |             (identifier: "GMT", coordinate: TimeZone.knownTimeZoneCoordinates["GMT"]!)
494 |
/host/spi-builder-workspace/Sources/Coordinate.swift:13:15: note: consider making struct 'Coordinate' conform to the 'Sendable' protocol
11 | #endif
12 |
13 | public struct Coordinate: Codable {
   |               `- note: consider making struct 'Coordinate' conform to the 'Sendable' protocol
14 |     public let latitude: Double
15 |     public let longitude: Double
/host/spi-builder-workspace/Sources/TimeZone+Location.swift:492:5: warning: 'public' modifier is redundant for static property declared in a public extension
490 |
491 |
492 |     public static let GMT: (identifier: String, coordinate: Coordinate) =
    |     `- warning: 'public' modifier is redundant for static property declared in a public extension
493 |             (identifier: "GMT", coordinate: TimeZone.knownTimeZoneCoordinates["GMT"]!)
494 |
Build complete! (66.93s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TimeZones",
  "name" : "TimeZones",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TimeZones",
      "targets" : [
        "TimeZones"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TimeZonesTests",
      "module_type" : "SwiftTarget",
      "name" : "TimeZonesTests",
      "path" : "Tests/TimeZonesTests",
      "sources" : [
        "TimeZonesTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "TimeZones"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TimeZones",
      "module_type" : "SwiftTarget",
      "name" : "TimeZones",
      "path" : "Sources",
      "product_memberships" : [
        "TimeZones"
      ],
      "sources" : [
        "Coordinate.swift",
        "TimeZone+Abbrevation.swift",
        "TimeZone+Location.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Unable to find image 'registry.gitlab.com/finestructure/spi-images:basic-5.10-latest' locally
basic-5.10-latest: Pulling from finestructure/spi-images
4a023cab5400: Already exists
5abf14bbdb35: Already exists
eec980dc397f: Pulling fs layer
596a0e82ccbd: Pulling fs layer
9ea203029d29: Pulling fs layer
4d3fb55c72e6: Pulling fs layer
4d3fb55c72e6: Waiting
596a0e82ccbd: Verifying Checksum
596a0e82ccbd: Download complete
4d3fb55c72e6: Verifying Checksum
4d3fb55c72e6: Download complete
9ea203029d29: Download complete
eec980dc397f: Download complete
eec980dc397f: Pull complete
596a0e82ccbd: Pull complete
9ea203029d29: Pull complete
4d3fb55c72e6: Pull complete
Digest: sha256:80237f5e8455a321cbcc921f3f173468b33b810493554f137c0f2f458f6c108c
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.