The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftFileStore, reference main (dbf4ed), with Swift 6.4 for Wasm on 25 Sep 2026 20:15:44 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/junyan72/swift-filestore.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/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:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/junyan72/swift-filestore.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Planning deferred tasks]
[27 / 35] SwiftFileStore
/host/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 |
/host/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/non-sendable-values-in-async-conformances-and-overrides\NonSendableInAsyncConformanceOrOverride]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/non-sendable-values-in-async-conformances-and-overrides\NonSendableInAsyncConformanceOrOverride]8;;\]
19 |         objects[namespace]?[key].flatMap { try? T.from(data: $0) }
20 |     }
/host/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/non-sendable-values-in-async-conformances-and-overrides\NonSendableInAsyncConformanceOrOverride]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/non-sendable-values-in-async-conformances-and-overrides\NonSendableInAsyncConformanceOrOverride]8;;\]
43 |         let observer = await observerManager.getObserver(key: key, namespace: namespace)
44 |         do {
[#NonSendableInAsyncConformanceOrOverride]: <https://docs.swift.org/compiler/documentation/diagnostics/non-sendable-values-in-async-conformances-and-overrides>
/host/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/non-sendable-values-in-async-conformances-and-overrides\NonSendableInAsyncConformanceOrOverride]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/non-sendable-values-in-async-conformances-and-overrides\NonSendableInAsyncConformanceOrOverride]8;;\]
19 |         objects[namespace]?[key].flatMap { try? T.from(data: $0) }
20 |     }
/host/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/non-sendable-values-in-async-conformances-and-overrides\NonSendableInAsyncConformanceOrOverride]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/non-sendable-values-in-async-conformances-and-overrides\NonSendableInAsyncConformanceOrOverride]8;;\]
43 |         let observer = await observerManager.getObserver(key: key, namespace: namespace)
44 |         do {
/host/spi-builder-workspace/Sources/SwiftFileStore/MemoryObjectStore.swift:25:31: warning: conformance of 'T' to protocol 'DataRepresentable' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
23 |         let data = try object.serialize()
24 |         objects[namespace, default: [:]][key] = data
25 |         await observerManager.publishValue(key: key, namespace: namespace, value: object)
   |                               `- warning: conformance of 'T' to protocol 'DataRepresentable' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
26 |     }
27 |
[#IsolatedConformances]: <https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances>
[#NonSendableInAsyncConformanceOrOverride]: <https://docs.swift.org/compiler/documentation/diagnostics/non-sendable-values-in-async-conformances-and-overrides>
[32 / 35] SwiftFileStore
/host/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 |
/host/spi-builder-workspace/Sources/SwiftFileStore/FileObjectStore.swift:54:35: warning: conformance of 'T' to protocol 'DataRepresentable' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 52 |         try object.serialize().write(to: fileURL)
 53 |         Task {
 54 |             await observerManager.publishValue(key: key, namespace: namespace, value: object)
    |                                   `- warning: conformance of 'T' to protocol 'DataRepresentable' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 55 |         }
 56 |     }
[#IsolatedConformances]: <https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances>
[35 / 36]
Build complete! (5.64 secs)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftFileStore",
  "name" : "SwiftFileStore",
  "path" : "/host/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"
}
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Done.