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 main (638291), with Swift 6.0 for Linux on 3 Nov 2024 10:04:50 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/omaralbeik/Stores.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/omaralbeik/Stores
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-4609320-0":/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 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 MultiObjectStore.swift
[11/14] Emitting module Blueprints
[12/14] Compiling Blueprints AnySingleObjectStore.swift
[13/14] Compiling Blueprints AnyMultiObjectStore.swift
[14/14] Compiling Blueprints Logger.swift
[16/36] Compiling TestUtils StoresError.swift
[17/36] Compiling KeychainStore SingleKeychainStore.swift
[18/36] Compiling KeychainStore KeychainError.swift
[19/36] Compiling KeychainStore MultiKeychainStore.swift
[20/36] Compiling CoreDataStore SingleCoreDataStore.swift
[21/36] Emitting module CoreDataStore
[22/36] Compiling CoreDataStore Database.swift
[23/36] Compiling KeychainStore KeychainAccessibility.swift
[24/36] Compiling TestUtils SingleObjectStoreFake.swift
[25/36] Emitting module KeychainStore
[26/36] Compiling CoreDataStore MultiCoreDataStore.swift
[27/36] Compiling CoreDataStore Entity.swift
[28/36] Emitting module TestUtils
[29/36] Compiling TestUtils MultiObjectStoreFake.swift
[30/38] Compiling UserDefaultsStore SingleUserDefaultsStore.swift
[33/38] Emitting module UserDefaultsStore
[34/38] Compiling UserDefaultsStore MultiUserDefaultsStore.swift
[35/39] Compiling TestUtils User.swift
[36/39] 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 |   }
[37/40] Emitting module FileSystemStore
[38/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 |     }
[42/43] Compiling Stores Stores.swift
[43/43] Emitting module Stores
Build complete! (10.78s)
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.