The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Store, reference 3.8.0 (4586ab), with Swift 6.4 for Linux on 17 Sep 2026 23:17:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexdrone/Store.git
Reference: 3.8.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/alexdrone/Store
 * tag               3.8.0      -> FETCH_HEAD
HEAD is now at 4586abe Fix demo
Cloned https://github.com/alexdrone/Store.git
Revision (git rev-parse @):
4586abebae909f9ceb583e0c40aaa5d914afed17
SUCCESS checkout https://github.com/alexdrone/Store.git at 3.8.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/alexdrone/Store.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8096] Fetching swift-log
[8097/16380] Fetching swift-log, opencombine
Fetched https://github.com/apple/swift-log.git (0.68s)
Fetched https://github.com/OpenCombine/OpenCombine.git (0.68s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (0.92s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.21s)
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Building for debugging...
[Provisioning 7 / 10]
[Pre-planning 1 / 186]
[Constructing 308 / 407]
[50 / 82] Logging
[51 / 91] OpenCombine
[52 / 91] COpenCombineHelpers
[54 / 91] OpenCombine
[65 / 91] OpenCombine
[66 / 91] OpenCombine
[68 / 91] OpenCombine-product
[71 / 91] Logging
[75 / 94]
[83 / 104] Store
[84 / 105] Store
[86 / 106] Store
[87 / 106] Store
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/Store/action/Action.swift:98:60: error: cannot specialize 'Self'
 96 |   }
 97 |
 98 |   public func cancel(context: TransactionContext<Store<M>, Self<M, V>>) { }
    |                                                            |- error: cannot specialize 'Self'
    |                                                            `- note: did you mean to explicitly reference 'Mutate' instead?
 99 | }
100 |
/host/spi-builder-workspace/Sources/Store/action/Action.swift:157:60: error: cannot specialize 'Self'
155 |   }
156 |
157 |   public func cancel(context: TransactionContext<Store<M>, Self<M, V>>) { }
    |                                                            |- error: cannot specialize 'Self'
    |                                                            `- note: did you mean to explicitly reference 'Assign' instead?
158 | }
159 |
/host/spi-builder-workspace/Sources/Store/concurrency/Locking.swift:23:24: error: cannot find 'os_unfair_lock_s' in scope
21 | /// memory, the lock implementation relies on the address of the lock value and owning process.
22 | struct UnfairLock {
23 |   private var unfair = os_unfair_lock_s()
   |                        `- error: cannot find 'os_unfair_lock_s' in scope
24 |
25 |   /// Locks an `os_unfair_lock`.
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:3:20: warning: class 'TransactionOperation' must restate inherited '@unchecked Sendable' conformance
 1 | import Foundation
 2 |
 3 | public final class TransactionOperation<T: AnyTransaction>: AsyncOperation {
   |                    `- warning: class 'TransactionOperation' must restate inherited '@unchecked Sendable' conformance
 4 |
 5 |   /// The associated transaction.
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:46:4: error: Objective-C interoperability is disabled
44 |
45 |   // Internal properties override.
46 |   @objc dynamic override public var isAsynchronous: Bool { true }
   |    `- error: Objective-C interoperability is disabled
47 |   @objc dynamic override public var isConcurrent: Bool { true }
48 |   @objc dynamic override public var isExecuting: Bool { __executing }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:47:4: error: Objective-C interoperability is disabled
45 |   // Internal properties override.
46 |   @objc dynamic override public var isAsynchronous: Bool { true }
47 |   @objc dynamic override public var isConcurrent: Bool { true }
   |    `- error: Objective-C interoperability is disabled
48 |   @objc dynamic override public var isExecuting: Bool { __executing }
49 |   @objc dynamic override public var isFinished: Bool { __finished }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:47:37: error: property does not override any property from its superclass
45 |   // Internal properties override.
46 |   @objc dynamic override public var isAsynchronous: Bool { true }
47 |   @objc dynamic override public var isConcurrent: Bool { true }
   |                                     `- error: property does not override any property from its superclass
48 |   @objc dynamic override public var isExecuting: Bool { __executing }
49 |   @objc dynamic override public var isFinished: Bool { __finished }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:48:4: error: Objective-C interoperability is disabled
46 |   @objc dynamic override public var isAsynchronous: Bool { true }
47 |   @objc dynamic override public var isConcurrent: Bool { true }
48 |   @objc dynamic override public var isExecuting: Bool { __executing }
   |    `- error: Objective-C interoperability is disabled
49 |   @objc dynamic override public var isFinished: Bool { __finished }
50 |
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:49:4: error: Objective-C interoperability is disabled
47 |   @objc dynamic override public var isConcurrent: Bool { true }
48 |   @objc dynamic override public var isExecuting: Bool { __executing }
49 |   @objc dynamic override public var isFinished: Bool { __finished }
   |    `- error: Objective-C interoperability is disabled
50 |
51 |   // __ to avoid name clashes with the superclass.
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:52:4: error: Objective-C interoperability is disabled
50 |
51 |   // __ to avoid name clashes with the superclass.
52 |   @objc dynamic private var __executing = false {
   |    `- error: Objective-C interoperability is disabled
53 |     willSet { willChangeValue(forKey: "isExecuting") }
54 |     didSet { didChangeValue(forKey: "isExecuting") }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:58:4: error: Objective-C interoperability is disabled
56 |
57 |   // __ to avoid name clashes with the superclass.
58 |   @objc dynamic private var __finished = false {
   |    `- error: Objective-C interoperability is disabled
59 |     willSet { willChangeValue(forKey: "isFinished") }
60 |     didSet { didChangeValue(forKey: "isFinished") }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:64:4: error: Objective-C interoperability is disabled
62 |
63 |   /// Begins the execution of the operation.
64 |   @objc dynamic open override func start() {
   |    `- error: Objective-C interoperability is disabled
65 |     __executing = true
66 |     execute()
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:71:4: error: Objective-C interoperability is disabled
69 |   /// Subclasses are expected to override the `execute` function and call the function `finish`
70 |   /// when they're done with their task.
71 |   @objc open func execute() {
   |    `- error: Objective-C interoperability is disabled
72 |     fatalError("Your subclass must override this")
73 |   }
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:76:4: error: Objective-C interoperability is disabled
74 |
75 |   /// This function should be called inside `execute` when the task for this operation is completed.
76 |   @objc dynamic open func finish() {
   |    `- error: Objective-C interoperability is disabled
77 |     __executing = false
78 |     __finished = true
/host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift:40:12: warning: class 'AsyncOperation' must restate inherited '@unchecked Sendable' conformance
38 | /// Subclasses are expected to override the 'execute' function and call
39 | /// the function 'finish' when they're done with their task.
40 | open class AsyncOperation: Operation {
   |            `- warning: class 'AsyncOperation' must restate inherited '@unchecked Sendable' conformance
41 |
42 |   /// The completion block type for this operation.
/host/spi-builder-workspace/Sources/Store/middleware/Middleware.swift:14:29: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
12 | /// *Logging*, *undo/redo* and *local/remote database synchronization* are a good examples of when
13 | /// a middleware could be necessary.
14 | public protocol Middleware: class {
   |                             `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
15 |
16 |   /// This function is called whenever a running transaction changes its state.
/host/spi-builder-workspace/Sources/Store/serialization/DictionaryCodable.swift:34:3: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 32 |
 33 | extension DictionaryEncoder {
 34 |   open func encode<T: Encodable>(_ value: T) throws -> [String: Any] {
    |   `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 35 |     do {
 36 |       return try castOrThrow([String: Any].self, try box(value))
/host/spi-builder-workspace/Sources/Store/serialization/DictionaryCodable.swift:488:3: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
486 |
487 | extension DictionaryDecoder {
488 |   open func decode<T: Decodable>(_ type: T.Type, from container: Any) throws -> T {
    |   `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
489 |     storage.push(container: container)
490 |     return try unbox(container, as: T.self)
/host/spi-builder-workspace/Sources/Store/store/Store.swift:13:27: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 11 | /// Represents a opaque reference to a store object.
 12 | /// `Store` and `CodableStore` are the concrete instances.
 13 | public protocol AnyStore: class {
    |                           `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 14 |
 15 |   // MARK: Observation
/host/spi-builder-workspace/Sources/Store/store/Store.swift:214:57: warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 80 | /// }
 81 | /// ```
 82 | open class Store<M>: MutableStore, ObservableObject, Identifiable {
    |                  `- note: 'M' previously declared here
 83 |
 84 |   /// A publisher that emits when the model has changed.
    :
212 |   /// - parameter action: The action that is going to be executed on this store.
213 |   /// - parameter mode: The execution strategy (*sync*/*aysnc*).
214 |   @discardableResult public func transaction<A: Action, M>(
    |                                                         `- warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
215 |     action: A,
216 |     mode: Executor.Mode = .async(nil)
/host/spi-builder-workspace/Sources/Store/store/Store.swift:237:49: warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 80 | /// }
 81 | /// ```
 82 | open class Store<M>: MutableStore, ObservableObject, Identifiable {
    |                  `- note: 'M' previously declared here
 83 |
 84 |   /// A publisher that emits when the model has changed.
    :
235 |   /// - parameter handler: Invoked when the action has finished running.
236 |   /// - returns: The transaction associated to this action execution.
237 |   @discardableResult public func run<A: Action, M>(
    |                                                 `- warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
238 |     action: A,
239 |     mode: Executor.Mode = .async(nil),
/host/spi-builder-workspace/Sources/Store/store/Store.swift:253:49: warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 80 | /// }
 81 | /// ```
 82 | open class Store<M>: MutableStore, ObservableObject, Identifiable {
    |                  `- note: 'M' previously declared here
 83 |
 84 |   /// A publisher that emits when the model has changed.
    :
251 |   /// This means that `actions[1]` will run after `actions[0]` has completed its execution,
252 |   /// `actions[2]` after `actions[1]` and so on.
253 |   @discardableResult public func run<A: Action, M>(
    |                                                 `- warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
254 |     actions: [A],
255 |     mode: Executor.Mode = .async(nil),
/host/spi-builder-workspace/Sources/Store/store/Store.swift:277:54: warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 80 | /// }
 81 | /// ```
 82 | open class Store<M>: MutableStore, ObservableObject, Identifiable {
    |                  `- note: 'M' previously declared here
 83 |
 84 |   /// A publisher that emits when the model has changed.
    :
275 |   ///                       during a given window of time.
276 |   /// - returns: A future that is resolved whenever the action has completed its execution.
277 |   @discardableResult public func futureOf<A: Action, M>(
    |                                                      `- warning: generic parameter 'M' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
278 |     action: A,
279 |     mode: Executor.Mode = .async(nil),
/host/spi-builder-workspace/Sources/Store/transactions/Transaction.swift:25:33: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 23 |
 24 | /// Represents an individual execution for a given action.
 25 | public protocol AnyTransaction: class, Cancellable {
    |                                 `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 26 |
 27 |   // MARK: Properties
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Store/action/Action.swift /host/spi-builder-workspace/Sources/Store/action/KeyPath+Introspection.swift /host/spi-builder-workspace/Sources/Store/concurrency/Executor.swift /host/spi-builder-workspace/Sources/Store/concurrency/Locking.swift /host/spi-builder-workspace/Sources/Store/concurrency/Operations.swift /host/spi-builder-workspace/Sources/Store/middleware/Middleware.swift /host/spi-builder-workspace/Sources/Store/serialization/DictionaryCodable.swift /host/spi-builder-workspace/Sources/Store/serialization/Diffing.swift /host/spi-builder-workspace/Sources/Store/serialization/Signpost.swift /host/spi-builder-workspace/Sources/Store/store/BindingProxy.swift /host/spi-builder-workspace/Sources/Store/store/CodableStore.swift /host/spi-builder-workspace/Sources/Store/store/ModelStorage.swift /host/spi-builder-workspace/Sources/Store/store/Store.swift /host/spi-builder-workspace/Sources/Store/transactions/PushID.swift /host/spi-builder-workspace/Sources/Store/transactions/Transaction.swift /host/spi-builder-workspace/Sources/Store/transactions/TransactionContext.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/COpenCombineHelpers.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/OpenCombine/Sources/COpenCombineHelpers/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Store.build/Debug-linux-x86_64/Store-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Store.build/Debug-linux-x86_64/Store-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Store.build/Debug-linux-x86_64/Store-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Store -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Store.build/Debug-linux-x86_64/Store-t.build/Objects-normal/x86_64/Store_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Store.build/Debug-linux-x86_64/Store-t.build/Objects-normal/x86_64/Modules/Store.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Store.build/Debug-linux-x86_64/Store-t.build/Objects-normal/x86_64/Modules/Store.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Store.build/Debug-linux-x86_64/Store-t.build/Objects-normal/x86_64/Store-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Store.build/Debug-linux-x86_64/Store-t.build/Objects-normal/x86_64/Store-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Store.build/Debug-linux-x86_64/Store-t.build/Objects-normal/x86_64/Store-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Store.build/Debug-linux-x86_64/Store-t.build/Objects-normal/x86_64/Modules/Store.swiftmodule
[89 / 106] Store
error: Build failed
BUILD FAILURE 6.4 linux