The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Stores, reference 1.0.0 (638291), with Swift 6.1 for Linux on 27 Apr 2025 16:46:30 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/omaralbeik/Stores.git
Reference: 1.0.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/omaralbeik/Stores
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 6382917 Keep a ref to store in AnyStore classes (#22)
Cloned https://github.com/omaralbeik/Stores.git
Revision (git rev-parse @):
638291752db347e40ea4932be424585d47447d32
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/omaralbeik/Stores.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/omaralbeik/Stores.git
https://github.com/omaralbeik/Stores.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Stores",
  "name" : "Stores",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Stores",
      "targets" : [
        "Stores"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Blueprints",
      "targets" : [
        "Blueprints"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "UserDefaultsStore",
      "targets" : [
        "UserDefaultsStore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FileSystemStore",
      "targets" : [
        "FileSystemStore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CoreDataStore",
      "targets" : [
        "CoreDataStore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "KeychainStore",
      "targets" : [
        "KeychainStore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "StoresTestUtils",
      "targets" : [
        "TestUtils"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UserDefaultsStoreTests",
      "module_type" : "SwiftTarget",
      "name" : "UserDefaultsStoreTests",
      "path" : "Tests/UserDefaults",
      "sources" : [
        "MultiUserDefaultsStoreTests.swift",
        "SingleUserDefaultsStoreTests.swift"
      ],
      "target_dependencies" : [
        "UserDefaultsStore",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "UserDefaultsStore",
      "module_type" : "SwiftTarget",
      "name" : "UserDefaultsStore",
      "path" : "Sources/UserDefaults",
      "product_memberships" : [
        "Stores",
        "UserDefaultsStore"
      ],
      "sources" : [
        "MultiUserDefaultsStore.swift",
        "SingleUserDefaultsStore.swift"
      ],
      "target_dependencies" : [
        "Blueprints"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TestUtils",
      "module_type" : "SwiftTarget",
      "name" : "TestUtils",
      "path" : "Tests/Utils",
      "product_memberships" : [
        "StoresTestUtils"
      ],
      "sources" : [
        "MultiObjectStoreFake.swift",
        "SingleObjectStoreFake.swift",
        "StoresError.swift",
        "User.swift"
      ],
      "target_dependencies" : [
        "Blueprints"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Stores",
      "module_type" : "SwiftTarget",
      "name" : "Stores",
      "path" : "Sources/Stores",
      "product_memberships" : [
        "Stores"
      ],
      "sources" : [
        "Stores.swift"
      ],
      "target_dependencies" : [
        "Blueprints",
        "UserDefaultsStore",
        "FileSystemStore",
        "CoreDataStore",
        "KeychainStore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "KeychainStoreTests",
      "module_type" : "SwiftTarget",
      "name" : "KeychainStoreTests",
      "path" : "Tests/Keychain",
      "sources" : [
        "KeychainErrorTests.swift",
        "MultiKeychainStoreTests.swift",
        "SingleKeychainStoreTests.swift"
      ],
      "target_dependencies" : [
        "KeychainStore",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KeychainStore",
      "module_type" : "SwiftTarget",
      "name" : "KeychainStore",
      "path" : "Sources/Keychain",
      "product_memberships" : [
        "Stores",
        "KeychainStore"
      ],
      "sources" : [
        "KeychainAccessibility.swift",
        "KeychainError.swift",
        "MultiKeychainStore.swift",
        "SingleKeychainStore.swift"
      ],
      "target_dependencies" : [
        "Blueprints"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FileSystemStoreTests",
      "module_type" : "SwiftTarget",
      "name" : "FileSystemStoreTests",
      "path" : "Tests/FileSystem",
      "sources" : [
        "MultiFileSystemStoreTests.swift",
        "SingleFileSystemStoreTests.swift"
      ],
      "target_dependencies" : [
        "FileSystemStore",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FileSystemStore",
      "module_type" : "SwiftTarget",
      "name" : "FileSystemStore",
      "path" : "Sources/FileSystem",
      "product_memberships" : [
        "Stores",
        "FileSystemStore"
      ],
      "sources" : [
        "MultiFileSystemStore.swift",
        "SingleFileSystemStore.swift"
      ],
      "target_dependencies" : [
        "Blueprints"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CoreDataStoreTests",
      "module_type" : "SwiftTarget",
      "name" : "CoreDataStoreTests",
      "path" : "Tests/CoreData",
      "sources" : [
        "DatabaseTests.swift",
        "MultiCoreDataStoreTests.swift",
        "SingleCoreDataStoreTests.swift"
      ],
      "target_dependencies" : [
        "CoreDataStore",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CoreDataStore",
      "module_type" : "SwiftTarget",
      "name" : "CoreDataStore",
      "path" : "Sources/CoreData",
      "product_memberships" : [
        "Stores",
        "CoreDataStore"
      ],
      "sources" : [
        "Database.swift",
        "Entity.swift",
        "MultiCoreDataStore.swift",
        "SingleCoreDataStore.swift"
      ],
      "target_dependencies" : [
        "Blueprints"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BlueprintsTests",
      "module_type" : "SwiftTarget",
      "name" : "BlueprintsTests",
      "path" : "Tests/Blueprints",
      "sources" : [
        "AnyMultiObjectStoreTests.swift",
        "AnySingleObjectStoreTests.swift",
        "MultiObjectStoreTests.swift",
        "SingleObjectStoreTests.swift"
      ],
      "target_dependencies" : [
        "Blueprints",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Blueprints",
      "module_type" : "SwiftTarget",
      "name" : "Blueprints",
      "path" : "Sources/Blueprints",
      "product_memberships" : [
        "Stores",
        "Blueprints",
        "UserDefaultsStore",
        "FileSystemStore",
        "CoreDataStore",
        "KeychainStore",
        "StoresTestUtils"
      ],
      "sources" : [
        "AnyMultiObjectStore.swift",
        "AnySingleObjectStore.swift",
        "Logger.swift",
        "MultiObjectStore.swift",
        "SingleObjectStore.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/14] Compiling Blueprints SingleObjectStore.swift
[10/14] Compiling Blueprints AnyMultiObjectStore.swift
[11/14] Compiling Blueprints MultiObjectStore.swift
[12/14] Emitting module Blueprints
[13/14] Compiling Blueprints AnySingleObjectStore.swift
[14/14] Compiling Blueprints Logger.swift
[16/36] Emitting module FileSystemStore
[17/36] Compiling CoreDataStore SingleCoreDataStore.swift
[18/36] Compiling FileSystemStore MultiFileSystemStore.swift
/host/spi-builder-workspace/Sources/FileSystem/MultiFileSystemStore.swift:80:15: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
 78 |       let newURL = try url(forObject: object)
 79 |       let data = try encoder.encode(object)
 80 |       manager.createFile(atPath: newURL.path, contents: data)
    |               `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
 81 |     }
 82 |   }
/host/spi-builder-workspace/Sources/FileSystem/MultiFileSystemStore.swift:95:17: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
 93 |       }
 94 |       pairs.forEach { pair in
 95 |         manager.createFile(atPath: pair.url.path, contents: pair.data)
    |                 `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
 96 |       }
 97 |     }
[19/36] Compiling FileSystemStore SingleFileSystemStore.swift
/host/spi-builder-workspace/Sources/FileSystem/SingleFileSystemStore.swift:77:15: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
 75 |       let data = try encoder.encode(object)
 76 |       _ = try storeURL()
 77 |       manager.createFile(atPath: try fileURL().path, contents: data)
    |               `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
 78 |     }
 79 |   }
[20/36] Compiling CoreDataStore MultiCoreDataStore.swift
[21/37] Emitting module KeychainStore
[22/37] Compiling KeychainStore MultiKeychainStore.swift
[23/37] Compiling KeychainStore SingleKeychainStore.swift
[24/37] Emitting module CoreDataStore
[25/37] Compiling CoreDataStore Database.swift
[26/37] Compiling CoreDataStore Entity.swift
[27/38] Compiling KeychainStore KeychainAccessibility.swift
[28/38] Compiling KeychainStore KeychainError.swift
[30/39] Compiling UserDefaultsStore SingleUserDefaultsStore.swift
[31/39] Emitting module UserDefaultsStore
[32/39] Compiling UserDefaultsStore MultiUserDefaultsStore.swift
[35/40] Emitting module TestUtils
[36/40] Compiling TestUtils MultiObjectStoreFake.swift
[37/40] Compiling TestUtils User.swift
[38/40] Compiling TestUtils StoresError.swift
[39/40] Compiling TestUtils SingleObjectStoreFake.swift
[42/43] Compiling Stores Stores.swift
[43/43] Emitting module Stores
Build complete! (9.97s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Stores",
  "name" : "Stores",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Stores",
      "targets" : [
        "Stores"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Blueprints",
      "targets" : [
        "Blueprints"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "UserDefaultsStore",
      "targets" : [
        "UserDefaultsStore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FileSystemStore",
      "targets" : [
        "FileSystemStore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CoreDataStore",
      "targets" : [
        "CoreDataStore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "KeychainStore",
      "targets" : [
        "KeychainStore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "StoresTestUtils",
      "targets" : [
        "TestUtils"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UserDefaultsStoreTests",
      "module_type" : "SwiftTarget",
      "name" : "UserDefaultsStoreTests",
      "path" : "Tests/UserDefaults",
      "sources" : [
        "MultiUserDefaultsStoreTests.swift",
        "SingleUserDefaultsStoreTests.swift"
      ],
      "target_dependencies" : [
        "UserDefaultsStore",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "UserDefaultsStore",
      "module_type" : "SwiftTarget",
      "name" : "UserDefaultsStore",
      "path" : "Sources/UserDefaults",
      "product_memberships" : [
        "Stores",
        "UserDefaultsStore"
      ],
      "sources" : [
        "MultiUserDefaultsStore.swift",
        "SingleUserDefaultsStore.swift"
      ],
      "target_dependencies" : [
        "Blueprints"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TestUtils",
      "module_type" : "SwiftTarget",
      "name" : "TestUtils",
      "path" : "Tests/Utils",
      "product_memberships" : [
        "StoresTestUtils"
      ],
      "sources" : [
        "MultiObjectStoreFake.swift",
        "SingleObjectStoreFake.swift",
        "StoresError.swift",
        "User.swift"
      ],
      "target_dependencies" : [
        "Blueprints"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Stores",
      "module_type" : "SwiftTarget",
      "name" : "Stores",
      "path" : "Sources/Stores",
      "product_memberships" : [
        "Stores"
      ],
      "sources" : [
        "Stores.swift"
      ],
      "target_dependencies" : [
        "Blueprints",
        "UserDefaultsStore",
        "FileSystemStore",
        "CoreDataStore",
        "KeychainStore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "KeychainStoreTests",
      "module_type" : "SwiftTarget",
      "name" : "KeychainStoreTests",
      "path" : "Tests/Keychain",
      "sources" : [
        "KeychainErrorTests.swift",
        "MultiKeychainStoreTests.swift",
        "SingleKeychainStoreTests.swift"
      ],
      "target_dependencies" : [
        "KeychainStore",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KeychainStore",
      "module_type" : "SwiftTarget",
      "name" : "KeychainStore",
      "path" : "Sources/Keychain",
      "product_memberships" : [
        "Stores",
        "KeychainStore"
      ],
      "sources" : [
        "KeychainAccessibility.swift",
        "KeychainError.swift",
        "MultiKeychainStore.swift",
        "SingleKeychainStore.swift"
      ],
      "target_dependencies" : [
        "Blueprints"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FileSystemStoreTests",
      "module_type" : "SwiftTarget",
      "name" : "FileSystemStoreTests",
      "path" : "Tests/FileSystem",
      "sources" : [
        "MultiFileSystemStoreTests.swift",
        "SingleFileSystemStoreTests.swift"
      ],
      "target_dependencies" : [
        "FileSystemStore",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FileSystemStore",
      "module_type" : "SwiftTarget",
      "name" : "FileSystemStore",
      "path" : "Sources/FileSystem",
      "product_memberships" : [
        "Stores",
        "FileSystemStore"
      ],
      "sources" : [
        "MultiFileSystemStore.swift",
        "SingleFileSystemStore.swift"
      ],
      "target_dependencies" : [
        "Blueprints"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CoreDataStoreTests",
      "module_type" : "SwiftTarget",
      "name" : "CoreDataStoreTests",
      "path" : "Tests/CoreData",
      "sources" : [
        "DatabaseTests.swift",
        "MultiCoreDataStoreTests.swift",
        "SingleCoreDataStoreTests.swift"
      ],
      "target_dependencies" : [
        "CoreDataStore",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CoreDataStore",
      "module_type" : "SwiftTarget",
      "name" : "CoreDataStore",
      "path" : "Sources/CoreData",
      "product_memberships" : [
        "Stores",
        "CoreDataStore"
      ],
      "sources" : [
        "Database.swift",
        "Entity.swift",
        "MultiCoreDataStore.swift",
        "SingleCoreDataStore.swift"
      ],
      "target_dependencies" : [
        "Blueprints"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BlueprintsTests",
      "module_type" : "SwiftTarget",
      "name" : "BlueprintsTests",
      "path" : "Tests/Blueprints",
      "sources" : [
        "AnyMultiObjectStoreTests.swift",
        "AnySingleObjectStoreTests.swift",
        "MultiObjectStoreTests.swift",
        "SingleObjectStoreTests.swift"
      ],
      "target_dependencies" : [
        "Blueprints",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Blueprints",
      "module_type" : "SwiftTarget",
      "name" : "Blueprints",
      "path" : "Sources/Blueprints",
      "product_memberships" : [
        "Stores",
        "Blueprints",
        "UserDefaultsStore",
        "FileSystemStore",
        "CoreDataStore",
        "KeychainStore",
        "StoresTestUtils"
      ],
      "sources" : [
        "AnyMultiObjectStore.swift",
        "AnySingleObjectStore.swift",
        "Logger.swift",
        "MultiObjectStore.swift",
        "SingleObjectStore.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.