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 Stores, reference main (638291), with Swift 6.1 for Wasm on 28 May 2025 17:56:34 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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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.63.1
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:         wasm
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-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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 MultiObjectStore.swift
[11/14] Emitting module Blueprints
[12/14] Compiling Blueprints AnySingleObjectStore.swift
[13/14] Compiling Blueprints Logger.swift
[14/14] Compiling Blueprints AnyMultiObjectStore.swift
[16/36] Emitting module KeychainStore
[17/36] Compiling KeychainStore KeychainAccessibility.swift
[18/36] Emitting module CoreDataStore
[19/36] Compiling KeychainStore MultiKeychainStore.swift
[20/36] Compiling CoreDataStore MultiCoreDataStore.swift
[21/36] Compiling CoreDataStore Entity.swift
[22/36] Compiling CoreDataStore Database.swift
[23/36] Compiling CoreDataStore SingleCoreDataStore.swift
[24/37] Compiling KeychainStore SingleKeychainStore.swift
[25/37] Compiling TestUtils SingleObjectStoreFake.swift
[26/37] Compiling KeychainStore KeychainError.swift
[27/38] 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 |   }
[29/38] Emitting module TestUtils
[30/38] Compiling TestUtils MultiObjectStoreFake.swift
[31/38] Compiling TestUtils User.swift
[32/38] Compiling TestUtils StoresError.swift
[34/39] Compiling UserDefaultsStore MultiUserDefaultsStore.swift
[35/39] Compiling UserDefaultsStore SingleUserDefaultsStore.swift
[36/39] Emitting module UserDefaultsStore
[39/40] Emitting module FileSystemStore
[40/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] Emitting module Stores
[43/43] Compiling Stores Stores.swift
Build complete! (13.72s)
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"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.