The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftFileStore, reference v0.7.0 (61aa52), with Swift 6.2 (beta) for Linux on 21 Jun 2025 02:15:32 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/juyan/swift-filestore.git
Reference: v0.7.0
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/juyan/swift-filestore
 * tag               v0.7.0     -> FETCH_HEAD
HEAD is now at 61aa52c platform support (#9)
Cloned https://github.com/juyan/swift-filestore.git
Revision (git rev-parse @):
61aa52c514e39a70c17ce6421d70807f46282154
SUCCESS checkout https://github.com/juyan/swift-filestore.git at v0.7.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/juyan/swift-filestore.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling SwiftFileStore Observer.swift
[4/10] Compiling SwiftFileStore ObjectStore.swift
[5/10] Compiling SwiftFileStore ObserverManager.swift
[6/11] Compiling SwiftFileStore ObjectStore+Expiry.swift
[7/11] Compiling SwiftFileStore FileObjectStore.swift
/host/spi-builder-workspace/Sources/SwiftFileStore/FileObjectStore.swift:114: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
112 | }
113 |
114 | 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
115 |
/host/spi-builder-workspace/Sources/SwiftFileStore/FileObjectStore.swift:42:35: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 40 |         try object.serialize().write(to: fileURL)
 41 |         Task {
 42 |             await observerManager.publishValue(key: key, namespace: namespace, value: object)
    |                                   `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 43 |         }
 44 |     }
/host/spi-builder-workspace/Sources/SwiftFileStore/FileObjectStore.swift:36:58: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 34 |     }
 35 |
 36 |     public func write<T>(key: String, namespace: String, object: T) async throws where T: DataRepresentable {
    |                                                          `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 37 |         let dirURL = rootDir.appendingPathComponent(namespace)
 38 |         let fileURL = dirURL.appendingPathComponent(key)
/host/spi-builder-workspace/Sources/SwiftFileStore/FileObjectStore.swift:86:46: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 84 |                     }
 85 |                 }
 86 |                 continuation.onTermination = { @Sendable _ in
    |                                              `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
 87 |                     observer.callbacks.removeValue(forKey: callbackID)
 88 |                 }
[8/11] Compiling SwiftFileStore JSONDataRepresentable.swift
[9/11] Compiling SwiftFileStore MemoryObjectStore.swift
/host/spi-builder-workspace/Sources/SwiftFileStore/MemoryObjectStore.swift:14: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
12 |     public init() {}
13 |
14 |     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
15 |         objects[namespace]?[key].flatMap { try? T.from(data: $0) }
16 |     }
/host/spi-builder-workspace/Sources/SwiftFileStore/MemoryObjectStore.swift:38: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
36 |     }
37 |
38 |     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
39 |         let observer = await observerManager.getObserver(key: key, namespace: namespace)
40 |         do {
/host/spi-builder-workspace/Sources/SwiftFileStore/MemoryObjectStore.swift:54:46: warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
52 |                     }
53 |                 }
54 |                 continuation.onTermination = { @Sendable _ in
   |                                              `- warning: capture of non-Sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
55 |                     observer.callbacks.removeValue(forKey: callbackID)
56 |                 }
[10/11] Emitting module SwiftFileStore
/host/spi-builder-workspace/Sources/SwiftFileStore/FileObjectStore.swift:114: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
112 | }
113 |
114 | 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
115 |
/host/spi-builder-workspace/Sources/SwiftFileStore/MemoryObjectStore.swift:14: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
12 |     public init() {}
13 |
14 |     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
15 |         objects[namespace]?[key].flatMap { try? T.from(data: $0) }
16 |     }
/host/spi-builder-workspace/Sources/SwiftFileStore/MemoryObjectStore.swift:38: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
36 |     }
37 |
38 |     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
39 |         let observer = await observerManager.getObserver(key: key, namespace: namespace)
40 |         do {
[11/11] Compiling SwiftFileStore PersistenceLog.swift
Build complete! (11.68s)
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"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.