The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftFileStore, reference main (dbf4ed), with Swift 6.2 for macOS (SPM) on 6 Jul 2026 02:10:08 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/junyan72/swift-filestore.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/junyan72/swift-filestore
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at dbf4ede Update macOS runner to use latest version
Cloned https://github.com/junyan72/swift-filestore.git
Revision (git rev-parse @):
dbf4ede286f929a1fd08270064b0eddb021eaf67
SUCCESS checkout https://github.com/junyan72/swift-filestore.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/junyan72/swift-filestore.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--3CB7CFEC50E0D141.txt
[3/11] Compiling SwiftFileStore PersistenceLog.swift
[4/11] Compiling SwiftFileStore ObserverManager.swift
[5/11] Compiling SwiftFileStore ObjectStore+Expiry.swift
[6/11] Compiling SwiftFileStore Observer.swift
[7/11] Compiling SwiftFileStore ObjectStore.swift
[8/11] Compiling SwiftFileStore JSONDataRepresentable.swift
[9/11] Compiling SwiftFileStore MemoryObjectStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileStore/MemoryObjectStore.swift:18:17: warning: non-Sendable parameter type 'T.Type' cannot be sent from caller of protocol requirement 'read(key:namespace:objectType:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
16 |     }
17 |
18 |     public func read<T>(key: String, namespace: String, objectType _: T.Type) async throws -> T? where T: DataRepresentable {
   |                 `- warning: non-Sendable parameter type 'T.Type' cannot be sent from caller of protocol requirement 'read(key:namespace:objectType:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
19 |         objects[namespace]?[key].flatMap { try? T.from(data: $0) }
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileStore/MemoryObjectStore.swift:42:17: warning: non-Sendable parameter type 'T.Type' cannot be sent from caller of protocol requirement 'observe(key:namespace:objectType:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
40 |     }
41 |
42 |     public func observe<T>(key: String, namespace: String, objectType: T.Type) async -> AsyncThrowingStream<T?, Error> where T: DataRepresentable {
   |                 `- warning: non-Sendable parameter type 'T.Type' cannot be sent from caller of protocol requirement 'observe(key:namespace:objectType:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
43 |         let observer = await observerManager.getObserver(key: key, namespace: namespace)
44 |         do {
[10/11] Emitting module SwiftFileStore
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileStore/FileObjectStore.swift:126:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
124 | }
125 |
126 | extension String: Error {}
    | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
127 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileStore/MemoryObjectStore.swift:18:17: warning: non-Sendable parameter type 'T.Type' cannot be sent from caller of protocol requirement 'read(key:namespace:objectType:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
16 |     }
17 |
18 |     public func read<T>(key: String, namespace: String, objectType _: T.Type) async throws -> T? where T: DataRepresentable {
   |                 `- warning: non-Sendable parameter type 'T.Type' cannot be sent from caller of protocol requirement 'read(key:namespace:objectType:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
19 |         objects[namespace]?[key].flatMap { try? T.from(data: $0) }
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileStore/MemoryObjectStore.swift:42:17: warning: non-Sendable parameter type 'T.Type' cannot be sent from caller of protocol requirement 'observe(key:namespace:objectType:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
40 |     }
41 |
42 |     public func observe<T>(key: String, namespace: String, objectType: T.Type) async -> AsyncThrowingStream<T?, Error> where T: DataRepresentable {
   |                 `- warning: non-Sendable parameter type 'T.Type' cannot be sent from caller of protocol requirement 'observe(key:namespace:objectType:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
43 |         let observer = await observerManager.getObserver(key: key, namespace: namespace)
44 |         do {
[11/11] Compiling SwiftFileStore FileObjectStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileStore/FileObjectStore.swift:126:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
124 | }
125 |
126 | extension String: Error {}
    | |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
127 |
Build complete! (4.78s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftFileStore",
  "name" : "SwiftFileStore",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftFileStore",
      "targets" : [
        "SwiftFileStore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftFileStoreTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftFileStoreTests",
      "path" : "Tests/SwiftFileStoreTests",
      "sources" : [
        "FileObjectStoreTests.swift",
        "MemoryObjectStoreTests.swift",
        "PersistenceLogTests.swift",
        "TestObject.swift",
        "XCTestCase+.swift"
      ],
      "target_dependencies" : [
        "SwiftFileStore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftFileStore",
      "module_type" : "SwiftTarget",
      "name" : "SwiftFileStore",
      "path" : "Sources/SwiftFileStore",
      "product_memberships" : [
        "SwiftFileStore"
      ],
      "sources" : [
        "FileObjectStore.swift",
        "JSONDataRepresentable.swift",
        "MemoryObjectStore.swift",
        "ObjectStore+Expiry.swift",
        "ObjectStore.swift",
        "Observer.swift",
        "ObserverManager.swift",
        "PersistenceLog.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.