Build Information
Successful build of TimeZones, reference 1.0.1 (fbb80a
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 16:07:49 UTC.
Swift 6 data race errors: 2
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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/binarybirds/timezones.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/binarybirds/timezones
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at fbb80a0 struct -> enum refactor
Cloned https://github.com/binarybirds/timezones.git
Revision (git rev-parse @):
fbb80a0b6ef1eeb5534260929cf6d0d79b0a3487
SUCCESS checkout https://github.com/binarybirds/timezones.git at 1.0.1
========================================
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": "timezones",
"name": "TimeZones",
"url": "https://github.com/binarybirds/timezones.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/timezones",
"dependencies": [
]
}
]
}
Fetching https://github.com/binarybirds/timezones.git
[1/23] Fetching timezones
Fetched https://github.com/binarybirds/timezones.git from cache (0.69s)
Creating working copy for https://github.com/binarybirds/timezones.git
Working copy of https://github.com/binarybirds/timezones.git resolved at 1.0.1 (fbb80a0)
warning: '.resolve-product-dependencies': dependency 'timezones' 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/binarybirds/timezones.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/6] Compiling TimeZones TimeZone+Location.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/TimeZone+Location.swift:33:23: warning: static property 'knownTimeZoneCoordinates' is not concurrency-safe because it is nonisolated 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 nonisolated 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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 TimeZone+Abbrevation.swift
/Users/admin/builder/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
/Users/admin/builder/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 | }
[5/6] Compiling TimeZones Coordinate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Coordinate.swift:26:5: warning: 'public' modifier is redundant for property declared in a public extension
24 | #if canImport(CoreLocation)
25 | public extension Coordinate {
26 | public var coreLocationCoordinate2D: CLLocationCoordinate2D {
| `- warning: 'public' modifier is redundant for property declared in a public extension
27 | return CLLocationCoordinate2D(latitude: self.latitude, longitude: self.longitude)
28 | }
[6/6] Emitting module TimeZones
/Users/admin/builder/spi-builder-workspace/Sources/Coordinate.swift:26:5: warning: 'public' modifier is redundant for property declared in a public extension
24 | #if canImport(CoreLocation)
25 | public extension Coordinate {
26 | public var coreLocationCoordinate2D: CLLocationCoordinate2D {
| `- warning: 'public' modifier is redundant for property declared in a public extension
27 | return CLLocationCoordinate2D(latitude: self.latitude, longitude: self.longitude)
28 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/TimeZone+Location.swift:33:23: warning: static property 'knownTimeZoneCoordinates' is not concurrency-safe because it is nonisolated 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 nonisolated 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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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! (7.99s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "TimeZones",
"name" : "TimeZones",
"path" : "/Users/admin/builder/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"
}
Done.