Build Information
Failed to build Flow, reference 1.13.0 (b452ec
), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 02:31:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path: $PWD
https://github.com/iZettle/Flow.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/41] Emitting module Flow
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[4/41] Compiling Flow CancelBag.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[5/41] Compiling Flow Disposable+Cancellable.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[6/41] Compiling Flow Future+Combine.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[7/41] Compiling Flow Publisher+Utilities.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[8/41] Compiling Flow Signal+Combine.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[9/41] Compiling Flow Signal+SwiftUI.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[10/41] Compiling Flow Callbacker.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[11/41] Compiling Flow CoreSignal.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[12/41] Compiling Flow Delegate.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[13/41] Compiling Flow Disposable.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[14/41] Compiling Flow Either.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[15/41] Compiling Flow Enablable.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[16/46] Compiling Flow ReadSignal.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[17/46] Compiling Flow ReadWriteSignal.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[18/46] Compiling Flow Recursive.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[19/46] Compiling Flow Result.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[20/46] Compiling Flow Scheduler.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[21/46] Compiling Flow Signal+Combiners.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[22/46] Compiling Flow Signal+Construction.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[23/46] Compiling Flow Signal+Debug.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[24/46] Compiling Flow Signal+KeyValueObserving.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[25/46] Compiling Flow Signal+Listeners.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[26/46] Compiling Flow Signal+Scheduling.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[27/46] Compiling Flow Signal+Transforms.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[28/46] Compiling Flow Signal+Utilities.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[29/46] Compiling Flow Signal.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
[30/46] Compiling Flow SignalProvider.swift
/host/spi-builder-workspace/Flow/Bridges/CancelBag.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(Combine)
11 | import Combine
error: compile command failed due to signal 11 (use -v to see invocation)
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/swift-frontend -frontend -c /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 -primary-file /host/spi-builder-workspace/Flow/Future.swift -primary-file /host/spi-builder-workspace/Flow/FutureQueue.swift -primary-file /host/spi-builder-workspace/Flow/HasEventListeners.swift -primary-file /host/spi-builder-workspace/Flow/Locking.swift -primary-file /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 -supplementary-output-file-map /tmp/TemporaryDirectory.tWGMOp/supplementaryOutputs-4 -target wasm32-unknown-wasi -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk -I /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Modules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -empty-abi-descriptor -resource-dir /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk -Xcc -g -no-auto-bridging-header-chaining -module-name Flow -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 -parse-as-library -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Flow.build/Future.swift.o -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Flow.build/FutureQueue.swift.o -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Flow.build/HasEventListeners.swift.o -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Flow.build/Locking.swift.o -o /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Flow.build/OrderedCallbacker.swift.o -index-store-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/index/store -index-system-modules
1. Swift version 6.2-dev (LLVM 0d47fa0a0fd41fb, Swift 536aa932a9e0ea3)
2. Compiling with effective version 5.10
3. While evaluating request TypeCheckPrimaryFileRequest(source_file "/host/spi-builder-workspace/Flow/Locking.swift")
4. While evaluating request TypeCheckFunctionBodyRequest(Flow.(file).UnsafeMutablePointer extension.protect@/host/spi-builder-workspace/Flow/Locking.swift:77:10)
5. While checking effects handling for 'protect(_:)' (at /host/spi-builder-workspace/Flow/Locking.swift:77:5)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x0000561ba62e8918
1 swift-frontend 0x0000561ba62e643e
2 swift-frontend 0x0000561ba62e8fb1
3 libc.so.6 0x00007f954efcb520
4 swift-frontend 0x0000561ba059f7d6
5 swift-frontend 0x0000561b9fda6a61
6 swift-frontend 0x0000561b9fda52f6
7 swift-frontend 0x0000561b9fda3060
8 swift-frontend 0x0000561ba02e527c
9 swift-frontend 0x0000561ba02e5253
10 swift-frontend 0x0000561b9fda4def
11 swift-frontend 0x0000561b9fda2e03
12 swift-frontend 0x0000561ba02e527c
13 swift-frontend 0x0000561ba02e7f89
14 swift-frontend 0x0000561ba02e7ee9
15 swift-frontend 0x0000561ba02e5809
16 swift-frontend 0x0000561ba02e5773
17 swift-frontend 0x0000561b9fd9fce2
18 swift-frontend 0x0000561b9fe2f50b
19 swift-frontend 0x0000561ba042e0e2
20 swift-frontend 0x0000561ba0385bd9
21 swift-frontend 0x0000561ba050c398
22 swift-frontend 0x0000561b9fe9ce62
23 swift-frontend 0x0000561b9fe9ee4b
24 swift-frontend 0x0000561b9fe9cd45
25 swift-frontend 0x0000561b9e9f3129
26 swift-frontend 0x0000561b9e9e93ea
27 swift-frontend 0x0000561b9e9e91db
28 swift-frontend 0x0000561b9e6923c2
29 swift-frontend 0x0000561b9e6837de
30 swift-frontend 0x0000561b9e682878
31 swift-frontend 0x0000561b9e3fe26b
32 libc.so.6 0x00007f954efb2d90
33 libc.so.6 0x00007f954efb2e40 __libc_start_main + 128
34 swift-frontend 0x0000561b9e3fd265
*** Signal 11: Backtracing from 0x7f954f01f9fc... done ***
*** Program crashed: Bad pointer dereference at 0x0000000000000062 ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "swift-frontend" crashed:
0 0x00007f954f01f9fc <unknown> in libc.so.6
...
Registers:
rax 0x0000000000000000 0
rdx 0x00007f954ee67f80 80 7f e6 4e 95 7f 00 00 80 89 e6 4e 95 7f 00 00 ··æN······æN····
rcx 0x00007f954f01f9fc 41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00 A·ÅA÷Ý=·ðÿÿ¸····
rbx 0x000000000000000b 11
rsi 0x0000000000000062 98
rdi 0x0000000000000062 98
rbp 0x0000000000000062 98
rsp 0x0000561babcbf660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
r8 0x0000000000000000 0
r9 0x0000561babcbf430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
r10 0x00007f954ef98108 be 01 00 00 12 00 0f 00 60 24 04 00 00 00 00 00 ¾·······`$······
r11 0x0000000000000246 582
r12 0x000000000000000b 11
r13 0x0000000000000016 22
r14 0x0000000000000000 0
r15 0x0000561babcbf738 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
rip 0x00007f954f01f9fc 41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00 A·ÅA÷Ý=·ðÿÿ¸····
rflags 0x0000000000000246 ZF PF
cs 0x0033 fs 0x0000 gs 0x0000
Images (25 omitted):
0x00007f954ef89000–0x00007f954f145341 d5197096f709801829b118af1b7cf6631efa2dcd libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
Backtrace took 0.01s
BUILD FAILURE 6.2 wasm