The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Aksara, reference v0.2.0 (e3bd0e), with Swift 6.1 for macOS (SPM) on 4 Sep 2026 23:56:56 UTC.

Swift 6 data race errors: 1

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: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/iQbalADR/aksara.git
Reference: v0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/iQbalADR/aksara
 * tag               v0.2.0     -> FETCH_HEAD
HEAD is now at e3bd0ee Release 0.2.0
Cloned https://github.com/iQbalADR/aksara.git
Revision (git rev-parse @):
e3bd0ee1238df4a0e97da326cdde8dd35e11cf7f
SUCCESS checkout https://github.com/iQbalADR/aksara.git at v0.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/iQbalADR/aksara.git
https://github.com/iQbalADR/aksara.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Aksara",
  "name" : "Aksara",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "Aksara",
      "targets" : [
        "Aksara"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AksaraSwiftUI",
      "targets" : [
        "AksaraSwiftUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AksaraTests",
      "module_type" : "SwiftTarget",
      "name" : "AksaraTests",
      "path" : "ios/Tests/AksaraTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/ios/Tests/AksaraTests/Resources/ar.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/ios/Tests/AksaraTests/Resources/en.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/ios/Tests/AksaraTests/Resources/id.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/ios/Tests/AksaraTests/Resources/ja.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "DiskCacheTests.swift",
        "FlattenerTests.swift",
        "InterpolatorTests.swift",
        "LocalizerTests.swift",
        "LookupBenchmarkTests.swift",
        "PluralResolverTests.swift",
        "SchemaValidatorTests.swift",
        "TestSupport.swift"
      ],
      "target_dependencies" : [
        "Aksara"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AksaraSwiftUI",
      "module_type" : "SwiftTarget",
      "name" : "AksaraSwiftUI",
      "path" : "ios/Sources/AksaraSwiftUI",
      "product_memberships" : [
        "AksaraSwiftUI"
      ],
      "sources" : [
        "LocText.swift",
        "LocalizationManager.swift"
      ],
      "target_dependencies" : [
        "Aksara"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Aksara",
      "module_type" : "SwiftTarget",
      "name" : "Aksara",
      "path" : "ios/Sources/Aksara",
      "product_memberships" : [
        "Aksara",
        "AksaraSwiftUI"
      ],
      "sources" : [
        "DiskCache.swift",
        "Flattener.swift",
        "Interpolator.swift",
        "LocalizationConfig.swift",
        "Localizer.swift",
        "Notifications.swift",
        "PluralResolver.swift",
        "PluralRules.swift",
        "SchemaValidator.swift",
        "TranslationParser.swift",
        "TranslationTable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/14] Compiling Aksara TranslationParser.swift
[5/15] Compiling Aksara PluralResolver.swift
[6/15] Compiling Aksara Localizer.swift
/Users/admin/builder/spi-builder-workspace/ios/Sources/Aksara/Localizer.swift:212:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
210 |             post()
211 |         } else {
212 |             DispatchQueue.main.async(execute: post)
    |                                               `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
213 |         }
214 |     }
[7/15] Compiling Aksara Notifications.swift
[8/15] Compiling Aksara LocalizationConfig.swift
[9/15] Compiling Aksara PluralRules.swift
[10/15] Compiling Aksara DiskCache.swift
[11/15] Compiling Aksara Flattener.swift
[12/15] Compiling Aksara Interpolator.swift
[13/15] Compiling Aksara SchemaValidator.swift
[14/15] Emitting module Aksara
[15/15] Compiling Aksara TranslationTable.swift
[16/18] Compiling AksaraSwiftUI LocalizationManager.swift
/Users/admin/builder/spi-builder-workspace/ios/Sources/AksaraSwiftUI/LocalizationManager.swift:14:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LocalizationManager' may have shared mutable state; this is an error in the Swift 6 language mode
10 | /// Implemented with `ObservableObject`/`@Published` (iOS 13+) rather than the iOS-17
11 | /// `@Observable` macro, so the whole SwiftUI layer works down to **iOS 15**.
12 | public final class LocalizationManager: ObservableObject {
   |                    `- note: class 'LocalizationManager' does not conform to the 'Sendable' protocol
13 |     /// Backed by `Localizer.shared` — the same table the rest of the app reads.
14 |     public static let shared = LocalizationManager()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LocalizationManager' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     /// Bumped on every table swap. `@Published` drives `objectWillChange`, which is
/Users/admin/builder/spi-builder-workspace/ios/Sources/AksaraSwiftUI/LocalizationManager.swift:29:13: warning: capture of 'self' with non-sendable type 'LocalizationManager?' in a '@Sendable' closure
10 | /// Implemented with `ObservableObject`/`@Published` (iOS 13+) rather than the iOS-17
11 | /// `@Observable` macro, so the whole SwiftUI layer works down to **iOS 15**.
12 | public final class LocalizationManager: ObservableObject {
   |                    `- note: class 'LocalizationManager' does not conform to the 'Sendable' protocol
13 |     /// Backed by `Localizer.shared` — the same table the rest of the app reads.
14 |     public static let shared = LocalizationManager()
   :
27 |             forName: .aksaraDidChange, object: nil, queue: .main
28 |         ) { [weak self] _ in
29 |             self?.revision &+= 1
   |             `- warning: capture of 'self' with non-sendable type 'LocalizationManager?' in a '@Sendable' closure
30 |         }
31 |     }
[17/18] Emitting module AksaraSwiftUI
/Users/admin/builder/spi-builder-workspace/ios/Sources/AksaraSwiftUI/LocalizationManager.swift:14:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LocalizationManager' may have shared mutable state; this is an error in the Swift 6 language mode
10 | /// Implemented with `ObservableObject`/`@Published` (iOS 13+) rather than the iOS-17
11 | /// `@Observable` macro, so the whole SwiftUI layer works down to **iOS 15**.
12 | public final class LocalizationManager: ObservableObject {
   |                    `- note: class 'LocalizationManager' does not conform to the 'Sendable' protocol
13 |     /// Backed by `Localizer.shared` — the same table the rest of the app reads.
14 |     public static let shared = LocalizationManager()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LocalizationManager' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     /// Bumped on every table swap. `@Published` drives `objectWillChange`, which is
[18/18] Compiling AksaraSwiftUI LocText.swift
Build complete! (9.30s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Aksara",
  "name" : "Aksara",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "Aksara",
      "targets" : [
        "Aksara"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AksaraSwiftUI",
      "targets" : [
        "AksaraSwiftUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AksaraTests",
      "module_type" : "SwiftTarget",
      "name" : "AksaraTests",
      "path" : "ios/Tests/AksaraTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/ios/Tests/AksaraTests/Resources/ar.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/ios/Tests/AksaraTests/Resources/en.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/ios/Tests/AksaraTests/Resources/id.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/ios/Tests/AksaraTests/Resources/ja.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "DiskCacheTests.swift",
        "FlattenerTests.swift",
        "InterpolatorTests.swift",
        "LocalizerTests.swift",
        "LookupBenchmarkTests.swift",
        "PluralResolverTests.swift",
        "SchemaValidatorTests.swift",
        "TestSupport.swift"
      ],
      "target_dependencies" : [
        "Aksara"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AksaraSwiftUI",
      "module_type" : "SwiftTarget",
      "name" : "AksaraSwiftUI",
      "path" : "ios/Sources/AksaraSwiftUI",
      "product_memberships" : [
        "AksaraSwiftUI"
      ],
      "sources" : [
        "LocText.swift",
        "LocalizationManager.swift"
      ],
      "target_dependencies" : [
        "Aksara"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Aksara",
      "module_type" : "SwiftTarget",
      "name" : "Aksara",
      "path" : "ios/Sources/Aksara",
      "product_memberships" : [
        "Aksara",
        "AksaraSwiftUI"
      ],
      "sources" : [
        "DiskCache.swift",
        "Flattener.swift",
        "Interpolator.swift",
        "LocalizationConfig.swift",
        "Localizer.swift",
        "Notifications.swift",
        "PluralResolver.swift",
        "PluralRules.swift",
        "SchemaValidator.swift",
        "TranslationParser.swift",
        "TranslationTable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.