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.0 for Linux on 29 Nov 2024 18:14:35 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.58.1
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.0
Building package at path:  $PWD
https://github.com/omaralbeik/Stores.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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 AnySingleObjectStore.swift
[11/14] Compiling Blueprints MultiObjectStore.swift
[12/14] Compiling Blueprints Logger.swift
[13/14] Compiling Blueprints AnyMultiObjectStore.swift
[14/14] Emitting module Blueprints
[16/36] Compiling CoreDataStore Entity.swift
[17/36] Compiling KeychainStore KeychainError.swift
[18/36] Emitting module KeychainStore
[19/36] Compiling KeychainStore KeychainAccessibility.swift
[20/36] Compiling CoreDataStore Database.swift
[21/36] Emitting module CoreDataStore
[22/36] Compiling CoreDataStore MultiCoreDataStore.swift
[23/36] Emitting module UserDefaultsStore
[24/36] Compiling CoreDataStore SingleCoreDataStore.swift
[25/36] Compiling UserDefaultsStore MultiUserDefaultsStore.swift
[26/36] Compiling KeychainStore MultiKeychainStore.swift
[27/36] Compiling KeychainStore SingleKeychainStore.swift
[28/38] Compiling UserDefaultsStore SingleUserDefaultsStore.swift
[29/39] Compiling TestUtils MultiObjectStoreFake.swift
[33/39] Compiling TestUtils StoresError.swift
[34/39] Compiling TestUtils SingleObjectStoreFake.swift
[35/39] Compiling TestUtils User.swift
[36/39] Emitting module TestUtils
[38/40] 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 |   }
[39/40] 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 |     }
[40/40] Emitting module FileSystemStore
[42/43] Emitting module Stores
[43/43] Compiling Stores Stores.swift
Build complete! (12.69s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.