The Swift Package Index logo.Swift Package Index

Build Information

Successful build of JJLISO8601DateFormatter, reference 0.2.0 (50d5ea), with Swift 6.1 for macOS (SPM) on 7 Feb 2026 04:36:33 UTC.

Swift 6 data race errors: 2

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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/michaeleisel/JJLISO8601DateFormatter.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/michaeleisel/JJLISO8601DateFormatter
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 50d5ea2 bump to 0.2.0
Cloned https://github.com/michaeleisel/JJLISO8601DateFormatter.git
Revision (git rev-parse @):
50d5ea26ffd3f82e3db8516d939d80b745e168cf
SUCCESS checkout https://github.com/michaeleisel/JJLISO8601DateFormatter.git at 0.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/michaeleisel/JJLISO8601DateFormatter.git
https://github.com/michaeleisel/JJLISO8601DateFormatter.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JJLISO8601DateFormatter",
  "name" : "JJLISO8601DateFormatter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "JJLISO8601DateFormatter",
      "targets" : [
        "JJLISO8601DateFormatter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "tzdb",
      "module_type" : "ClangTarget",
      "name" : "tzdb",
      "path" : "Sources/tzdb",
      "product_memberships" : [
        "JJLISO8601DateFormatter"
      ],
      "sources" : [
        "localtime.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "JJLInternal",
      "module_type" : "ClangTarget",
      "name" : "JJLInternal",
      "path" : "Sources/JJLInternal",
      "product_memberships" : [
        "JJLISO8601DateFormatter"
      ],
      "sources" : [
        "JJLInternal.c"
      ],
      "target_dependencies" : [
        "tzdb"
      ],
      "type" : "library"
    },
    {
      "c99name" : "JJLISO8601DateFormatterTests",
      "module_type" : "SwiftTarget",
      "name" : "JJLISO8601DateFormatterTests",
      "path" : "Tests/JJLISO8601DateFormatterTests",
      "sources" : [
        "JJLISO8601DateFormatterTests.swift",
        "JJLSafeIOTests.swift"
      ],
      "target_dependencies" : [
        "JJLISO8601DateFormatter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JJLISO8601DateFormatter",
      "module_type" : "SwiftTarget",
      "name" : "JJLISO8601DateFormatter",
      "path" : "Sources/JJLISO8601DateFormatter",
      "product_memberships" : [
        "JJLISO8601DateFormatter"
      ],
      "sources" : [
        "JJLISO8601DateFormatter.swift"
      ],
      "target_dependencies" : [
        "JJLInternal"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.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/4] Write sources
[1/4] Write swift-version-2F0A5646E1D333AE.txt
[2/4] Compiling tzdb localtime.c
[3/4] Compiling JJLInternal JJLInternal.c
[5/6] Emitting module JJLISO8601DateFormatter
/Users/admin/builder/spi-builder-workspace/Sources/JJLISO8601DateFormatter/JJLISO8601DateFormatter.swift:11:24: warning: static property 'nameToTimeZone' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 |     private static let gmtTimeZone = TimeZone(identifier: "GMT")!
 11 |     private static var nameToTimeZone: [String: timezone_t] = [:]
    |                        |- warning: static property 'nameToTimeZone' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'nameToTimeZone' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'nameToTimeZone' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |     private static var dictionaryLock: UnsafeMutablePointer<pthread_rwlock_t> = {
 13 |         let lock = UnsafeMutablePointer<pthread_rwlock_t>.allocate(capacity: 1)
/Users/admin/builder/spi-builder-workspace/Sources/JJLISO8601DateFormatter/JJLISO8601DateFormatter.swift:12:24: warning: static property 'dictionaryLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 10 |     private static let gmtTimeZone = TimeZone(identifier: "GMT")!
 11 |     private static var nameToTimeZone: [String: timezone_t] = [:]
 12 |     private static var dictionaryLock: UnsafeMutablePointer<pthread_rwlock_t> = {
    |                        |- warning: static property 'dictionaryLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'dictionaryLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'dictionaryLock' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |         let lock = UnsafeMutablePointer<pthread_rwlock_t>.allocate(capacity: 1)
 14 |         pthread_rwlock_init(lock, nil)
[6/6] Compiling JJLISO8601DateFormatter JJLISO8601DateFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/JJLISO8601DateFormatter/JJLISO8601DateFormatter.swift:11:24: warning: static property 'nameToTimeZone' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 |     private static let gmtTimeZone = TimeZone(identifier: "GMT")!
 11 |     private static var nameToTimeZone: [String: timezone_t] = [:]
    |                        |- warning: static property 'nameToTimeZone' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'nameToTimeZone' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'nameToTimeZone' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |     private static var dictionaryLock: UnsafeMutablePointer<pthread_rwlock_t> = {
 13 |         let lock = UnsafeMutablePointer<pthread_rwlock_t>.allocate(capacity: 1)
/Users/admin/builder/spi-builder-workspace/Sources/JJLISO8601DateFormatter/JJLISO8601DateFormatter.swift:12:24: warning: static property 'dictionaryLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 10 |     private static let gmtTimeZone = TimeZone(identifier: "GMT")!
 11 |     private static var nameToTimeZone: [String: timezone_t] = [:]
 12 |     private static var dictionaryLock: UnsafeMutablePointer<pthread_rwlock_t> = {
    |                        |- warning: static property 'dictionaryLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'dictionaryLock' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'dictionaryLock' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |         let lock = UnsafeMutablePointer<pthread_rwlock_t>.allocate(capacity: 1)
 14 |         pthread_rwlock_init(lock, nil)
Build complete! (4.71s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "JJLISO8601DateFormatter",
  "name" : "JJLISO8601DateFormatter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "JJLISO8601DateFormatter",
      "targets" : [
        "JJLISO8601DateFormatter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "tzdb",
      "module_type" : "ClangTarget",
      "name" : "tzdb",
      "path" : "Sources/tzdb",
      "product_memberships" : [
        "JJLISO8601DateFormatter"
      ],
      "sources" : [
        "localtime.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "JJLInternal",
      "module_type" : "ClangTarget",
      "name" : "JJLInternal",
      "path" : "Sources/JJLInternal",
      "product_memberships" : [
        "JJLISO8601DateFormatter"
      ],
      "sources" : [
        "JJLInternal.c"
      ],
      "target_dependencies" : [
        "tzdb"
      ],
      "type" : "library"
    },
    {
      "c99name" : "JJLISO8601DateFormatterTests",
      "module_type" : "SwiftTarget",
      "name" : "JJLISO8601DateFormatterTests",
      "path" : "Tests/JJLISO8601DateFormatterTests",
      "sources" : [
        "JJLISO8601DateFormatterTests.swift",
        "JJLSafeIOTests.swift"
      ],
      "target_dependencies" : [
        "JJLISO8601DateFormatter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "JJLISO8601DateFormatter",
      "module_type" : "SwiftTarget",
      "name" : "JJLISO8601DateFormatter",
      "path" : "Sources/JJLISO8601DateFormatter",
      "product_memberships" : [
        "JJLISO8601DateFormatter"
      ],
      "sources" : [
        "JJLISO8601DateFormatter.swift"
      ],
      "target_dependencies" : [
        "JJLInternal"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.