The Swift Package Index logo.Swift Package Index

Build Information

Successful build of DateTimeExtractor, reference main (c8beaa), with Swift 6.1 for Android on 3 Oct 2026 09:23:40 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hoangtaiki/DateTimeExtractor.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/hoangtaiki/DateTimeExtractor
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c8beaa8 Minor update Readme.md
Cloned https://github.com/hoangtaiki/DateTimeExtractor.git
Revision (git rev-parse @):
c8beaa8f87f5e9df53c8b2952dc9389cb28b36b6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/hoangtaiki/DateTimeExtractor.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/hoangtaiki/DateTimeExtractor.git
https://github.com/hoangtaiki/DateTimeExtractor.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/16] Compiling DateTimeExtractor TimeExtractor.swift
[4/17] Compiling DateTimeExtractor DateDMYExtractor.swift
[5/17] Compiling DateTimeExtractor DateExtractable.swift
[6/17] Compiling DateTimeExtractor DateMDYExtractor.swift
[7/17] Compiling DateTimeExtractor DateRegex.swift
[8/17] Compiling DateTimeExtractor ExtractedDateResult.swift
/host/spi-builder-workspace/Sources/DateTimeExtractor/ExtractedDateResult.swift:18:24: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 | enum DateFormatterCache {
 17 |     private static let lock = NSLock()
 18 |     private static var cache = [String: DateFormatter]()
    |                        |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |
 20 |     static func formatter(format: String, timezone: TimeZone) -> DateFormatter {
[9/17] Compiling DateTimeExtractor ExtractedTimeResult.swift
/host/spi-builder-workspace/Sources/DateTimeExtractor/ExtractedDateResult.swift:18:24: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 | enum DateFormatterCache {
 17 |     private static let lock = NSLock()
 18 |     private static var cache = [String: DateFormatter]()
    |                        |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |
 20 |     static func formatter(format: String, timezone: TimeZone) -> DateFormatter {
[10/17] Compiling DateTimeExtractor DateTimeExtractor.swift
[11/17] Compiling DateTimeExtractor DateYMDExtractor.swift
[12/17] Emitting module DateTimeExtractor
/host/spi-builder-workspace/Sources/DateTimeExtractor/ExtractedDateResult.swift:18:24: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 16 | enum DateFormatterCache {
 17 |     private static let lock = NSLock()
 18 |     private static var cache = [String: DateFormatter]()
    |                        |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |
 20 |     static func formatter(format: String, timezone: TimeZone) -> DateFormatter {
[13/17] Compiling DateTimeExtractor KoreanDotDateExtractor.swift
[14/17] Compiling DateTimeExtractor MatchedResult.swift
[15/17] Compiling DateTimeExtractor DateExtractor.swift
[16/17] Compiling DateTimeExtractor DateFormatComponents.swift
[17/17] Compiling DateTimeExtractor TimeFormatComponents.swift
Build complete! (6.02s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DateTimeExtractor",
  "name" : "DateTimeExtractor",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "DateTimeExtractor",
      "targets" : [
        "DateTimeExtractor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DateTimeExtractorTests",
      "module_type" : "SwiftTarget",
      "name" : "DateTimeExtractorTests",
      "path" : "Tests/DateTimeExtractorTests",
      "sources" : [
        "DateDMYExtractorTests.swift",
        "DateExtractorTests.swift",
        "DateFormatComponentsTests.swift",
        "DateMDYExtractorTests.swift",
        "DateTimeExtractorTests.swift",
        "DateYMDExtractorTests.swift",
        "ExtractedDateResultTests.swift",
        "ExtractedTimeResultTests.swift",
        "KoreanDotDateExtractorTests.swift",
        "TimeExtractorTests.swift",
        "TimeFormatComponentsTests.swift"
      ],
      "target_dependencies" : [
        "DateTimeExtractor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DateTimeExtractor",
      "module_type" : "SwiftTarget",
      "name" : "DateTimeExtractor",
      "path" : "Sources",
      "product_memberships" : [
        "DateTimeExtractor"
      ],
      "sources" : [
        "DateTimeExtractor/DateDMYExtractor.swift",
        "DateTimeExtractor/DateExtractable.swift",
        "DateTimeExtractor/DateExtractor.swift",
        "DateTimeExtractor/DateFormatComponents.swift",
        "DateTimeExtractor/DateMDYExtractor.swift",
        "DateTimeExtractor/DateRegex.swift",
        "DateTimeExtractor/DateTimeExtractor.swift",
        "DateTimeExtractor/DateYMDExtractor.swift",
        "DateTimeExtractor/ExtractedDateResult.swift",
        "DateTimeExtractor/ExtractedTimeResult.swift",
        "DateTimeExtractor/KoreanDotDateExtractor.swift",
        "DateTimeExtractor/MatchedResult.swift",
        "DateTimeExtractor/TimeExtractor.swift",
        "DateTimeExtractor/TimeFormatComponents.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7.1"
}
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Done.