The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Flow, reference 1.13.0 (b452ec), with Swift 6.4 for Wasm on 21 Sep 2026 20:52:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/iZettle/Flow.git
Reference: 1.13.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/iZettle/Flow
 * tag               1.13.0     -> FETCH_HEAD
HEAD is now at b452ec9 Merge pull request #130 from iZettle/bump-ios-min-deployment-target
Cloned https://github.com/iZettle/Flow.git
Revision (git rev-parse @):
b452ec9f7f525d24d99d5c01ef5853ab28223d23
SUCCESS checkout https://github.com/iZettle/Flow.git at 1.13.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/iZettle/Flow.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Flow/Future+Additions.swift:334:46: error: cannot find type 'NSInteger' in scope
332 |     ///   However, passing a nil `delayBetweenRepeats` will repeat at once.
333 |     @discardableResult
334 |     func repeatAndCollect(repeatCount count: NSInteger, delayBetweenRepetitions delay: TimeInterval? = nil) -> Future<[Value]> {
    |                                              `- error: cannot find type 'NSInteger' in scope
335 |         let state = StateAndCallback(state: (count: count, result: [Value]()))
336 |
/host/spi-builder-workspace/Flow/Scheduler.swift:127:29: error: cannot find type 'DispatchQueue' in scope
125 | public extension Scheduler {
126 |     /// Create a new instance that will schedule its work on the provided `queue`
127 |     convenience init(queue: DispatchQueue) {
    |                             `- error: cannot find type 'DispatchQueue' in scope
128 |         self.init(identifyingObject: queue, async: { queue.async(execute: $0) }, sync: queue.sync)
129 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:42: error: cannot find type 'DispatchQoS' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                          `- error: cannot find type 'DispatchQoS' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:78: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                              `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:131: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                   `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:132:186: error: cannot find type 'DispatchQueue' in scope
130 |
131 |     /// Create a new instance that will schedule its work on a `DispatchQueue` created with the provided parameters: `label`, `qos`, `attributes`, `autoreleaseFrequency` and `target`.
132 |     convenience init(label: String, qos: DispatchQoS = .default, attributes: DispatchQueue.Attributes = [], autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency = .inherit, target: DispatchQueue? = nil) {
    |                                                                                                                                                                                          `- error: cannot find type 'DispatchQueue' in scope
133 |         self.init(queue: DispatchQueue(label: label, qos: qos, attributes: attributes, autoreleaseFrequency: autoreleaseFrequency, target: target))
134 |     }
/host/spi-builder-workspace/Flow/Scheduler.swift:116:41: error: extra argument 'queue' in call
114 |
115 |     /// A Scheduler that will schedule work on `DispatchQueue.main``
116 |     static let main = Scheduler(queue: .main)
    |                                         `- error: extra argument 'queue' in call
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:116:32: error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
114 |
115 |     /// A Scheduler that will schedule work on `DispatchQueue.main``
116 |     static let main = Scheduler(queue: .main)
    |                                `- error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:116:41: error: cannot infer contextual base in reference to member 'main'
114 |
115 |     /// A Scheduler that will schedule work on `DispatchQueue.main``
116 |     static let main = Scheduler(queue: .main)
    |                                         `- error: cannot infer contextual base in reference to member 'main'
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:119:46: error: extra argument 'label' in call
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
119 |     static let background = Scheduler(label: "flow.background.serial")
    |                                              `- error: extra argument 'label' in call
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:119:38: error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
117 |
118 |     /// A Scheduler that will schedule work on a serial background queue
119 |     static let background = Scheduler(label: "flow.background.serial")
    |                                      `- error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
/host/spi-builder-workspace/Flow/Scheduler.swift:122:48: error: extra arguments at positions #1, #2 in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
122 |     static let concurrentBackground = Scheduler(label: "flow.background.concurrent", attributes: .concurrent)
    |                                                `- error: extra arguments at positions #1, #2 in call
123 | }
124 |
/host/spi-builder-workspace/Flow/Scheduler.swift:122:48: error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
 17 |     /// Creates an instance that will use `async` for asynchrouns scheduling and `sync` for synchrouns scheduling.
 18 |     /// - Parameter identifyingObject: Used to identify if two scheduler are the same using `===`.
 19 |     public init(identifyingObject: AnyObject, async: @escaping (@escaping () -> Void) -> Void, sync: @escaping (() -> Void) -> Void) {
    |            `- note: 'init(identifyingObject:async:sync:)' declared here
 20 |         self.identifyingObject = identifyingObject
 21 |         _async = async
    :
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
122 |     static let concurrentBackground = Scheduler(label: "flow.background.concurrent", attributes: .concurrent)
    |                                                `- error: missing arguments for parameters 'identifyingObject', 'async', 'sync' in call
123 | }
124 |
/host/spi-builder-workspace/Flow/Scheduler.swift:122:99: error: cannot infer contextual base in reference to member 'concurrent'
120 |
121 |     /// A Scheduler that will schedule work on a concurrent background queue
122 |     static let concurrentBackground = Scheduler(label: "flow.background.concurrent", attributes: .concurrent)
    |                                                                                                   `- error: cannot infer contextual base in reference to member 'concurrent'
123 | }
124 |
/host/spi-builder-workspace/Flow/Scheduler.swift:193:11: error: cannot find type 'DispatchQueue' in scope
191 | }
192 |
193 | extension DispatchQueue {
    |           `- error: cannot find type 'DispatchQueue' in scope
194 |     static let concurrentBackground = DispatchQueue(label: "flow.background.concurrent", attributes: .concurrent)
195 |     static let serialBackground = DispatchQueue(label: "flow.background.serial")
/host/spi-builder-workspace/Flow/Scheduler.swift:220:5: error: cannot find 'pthread_key_create' in scope
218 |         Unmanaged<ThreadState>.fromOpaque(state).release()
219 |     }
220 |     pthread_key_create(&_threadStateKey, cleanup)
    |     `- error: cannot find 'pthread_key_create' in scope
221 |     return _threadStateKey
222 | }()
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:12:18: error: cannot find type '_KeyValueCodingAndObserving' in scope
10 |
11 | // https://github.com/apple/swift/blob/master/stdlib/public/SDK/Foundation/NSObject.swift
12 | public extension _KeyValueCodingAndObserving {
   |                  `- error: cannot find type '_KeyValueCodingAndObserving' in scope
13 |     /// Returns a signal observing the property at `keyPath` of `self` using key value observing (KVO).
14 |     func signal<T>(for keyPath: KeyPath<Self, T>) -> ReadSignal<T> {
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:26:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
24 | public extension CoreSignal where Kind == Read {
25 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
26 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: KeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
27 |         self.init(getValue: { object[keyPath: keyPath] }, options: .shared, onInternalEvent: { callback in
28 |             let token = object.observe(keyPath, options: .new) { _, _ in
/host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift:38:25: error: cannot find type '_KeyValueCodingAndObserving' in scope
36 | public extension CoreSignal where Kind == ReadWrite {
37 |     /// Creates a new instance observing the property at `keyPath` of `object` using key value observing (KVO).
38 |     convenience init<O: _KeyValueCodingAndObserving>(object: O, keyPath: WritableKeyPath<O, Value>) {
   |                         `- error: cannot find type '_KeyValueCodingAndObserving' in scope
39 |         var object = object
40 |         self.init(getValue: { object[keyPath: keyPath] },
/host/spi-builder-workspace/Flow/TargetActionable.swift:13:17: error: cannot find type 'Selector' in scope
11 | /// Whether the conforming object supports a single target and action.
12 | public protocol TargetActionable: AnyObject {
13 |     var action: Selector? { get set }
   |                 `- error: cannot find type 'Selector' in scope
14 |     var target: AnyObject? { get set }
15 | }
/host/spi-builder-workspace/Flow/TargetActionable.swift:57:33: error: cannot find type 'Selector' in scope
55 | // Helper class to setup target actions.
56 | final class TargetAction: NSObject {
57 |     public static let selector: Selector = #selector(TargetAction.flowOnAction)
   |                                 `- error: cannot find type 'Selector' in scope
58 |     fileprivate let callbacker = Callbacker<()>()
59 |
/host/spi-builder-workspace/Flow/TargetActionable.swift:57:44: error: '#selector' can only be used with the Objective-C runtime
55 | // Helper class to setup target actions.
56 | final class TargetAction: NSObject {
57 |     public static let selector: Selector = #selector(TargetAction.flowOnAction)
   |                                            `- error: '#selector' can only be used with the Objective-C runtime
58 |     fileprivate let callbacker = Callbacker<()>()
59 |
/host/spi-builder-workspace/Flow/TargetActionable.swift:64:6: error: Objective-C interoperability is disabled
62 |     }
63 |
64 |     @objc func flowOnAction() {
   |      `- error: Objective-C interoperability is disabled
65 |         callbacker.callAll()
66 |     }
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Flow/Bridges/CancelBag.swift /host/spi-builder-workspace/Flow/Bridges/Disposable+Cancellable.swift /host/spi-builder-workspace/Flow/Bridges/Future+Combine.swift /host/spi-builder-workspace/Flow/Bridges/Publisher+Utilities.swift /host/spi-builder-workspace/Flow/Bridges/Signal+Combine.swift /host/spi-builder-workspace/Flow/Bridges/Signal+SwiftUI.swift /host/spi-builder-workspace/Flow/Callbacker.swift /host/spi-builder-workspace/Flow/CoreSignal.swift /host/spi-builder-workspace/Flow/Delegate.swift /host/spi-builder-workspace/Flow/Disposable.swift /host/spi-builder-workspace/Flow/Either.swift /host/spi-builder-workspace/Flow/Enablable.swift /host/spi-builder-workspace/Flow/Event.swift /host/spi-builder-workspace/Flow/EventType.swift /host/spi-builder-workspace/Flow/FiniteSignal.swift /host/spi-builder-workspace/Flow/Future+Additions.swift /host/spi-builder-workspace/Flow/Future+Combiners.swift /host/spi-builder-workspace/Flow/Future+Signal.swift /host/spi-builder-workspace/Flow/Future.swift /host/spi-builder-workspace/Flow/FutureQueue.swift /host/spi-builder-workspace/Flow/HasEventListeners.swift /host/spi-builder-workspace/Flow/Locking.swift /host/spi-builder-workspace/Flow/OrderedCallbacker.swift /host/spi-builder-workspace/Flow/ReadSignal.swift /host/spi-builder-workspace/Flow/ReadWriteSignal.swift /host/spi-builder-workspace/Flow/Recursive.swift /host/spi-builder-workspace/Flow/Result.swift /host/spi-builder-workspace/Flow/Scheduler.swift /host/spi-builder-workspace/Flow/Signal+Combiners.swift /host/spi-builder-workspace/Flow/Signal+Construction.swift /host/spi-builder-workspace/Flow/Signal+Debug.swift /host/spi-builder-workspace/Flow/Signal+KeyValueObserving.swift /host/spi-builder-workspace/Flow/Signal+Listeners.swift /host/spi-builder-workspace/Flow/Signal+Scheduling.swift /host/spi-builder-workspace/Flow/Signal+Transforms.swift /host/spi-builder-workspace/Flow/Signal+Utilities.swift /host/spi-builder-workspace/Flow/Signal.swift /host/spi-builder-workspace/Flow/SignalProvider.swift /host/spi-builder-workspace/Flow/TargetActionable.swift /host/spi-builder-workspace/Flow/UIControls+Extensions.swift /host/spi-builder-workspace/Flow/UIView+EditingMenu.swift /host/spi-builder-workspace/Flow/UIView+Signal.swift /host/spi-builder-workspace/Flow/Utilities.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -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 -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -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/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Flow.build/Debug-webassembly-wasm32/Flow-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Flow.build/Debug-webassembly-wasm32/Flow-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Flow.build/Debug-webassembly-wasm32/Flow-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Flow -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Flow.build/Debug-webassembly-wasm32/Flow-t.build/Objects-normal/wasm32/Flow_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/Flow.build/Debug-webassembly-wasm32/Flow-t.build/Objects-normal/wasm32/Modules/Flow.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Flow.build/Debug-webassembly-wasm32/Flow-t.build/Objects-normal/wasm32/Modules/Flow.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Flow.build/Debug-webassembly-wasm32/Flow-t.build/Objects-normal/wasm32/Flow-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Flow.build/Debug-webassembly-wasm32/Flow-t.build/Objects-normal/wasm32/Flow-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Flow.build/Debug-webassembly-wasm32/Flow-t.build/Objects-normal/wasm32/Flow-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Flow.build/Debug-webassembly-wasm32/Flow-t.build/Objects-normal/wasm32/Modules/Flow.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm