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

Failed to build Flow, reference master (b452ec), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 02:32:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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-1":/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
[3/41] 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
[4/41] 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
[5/41] 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
[6/41] 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
[7/41] 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: emit-module command failed with exit code 1 (use -v to see invocation)
[8/46] 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
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.4ggVPz/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 0x000055dd4a0d3918
1  swift-frontend 0x000055dd4a0d143e
2  swift-frontend 0x000055dd4a0d3fb1
3  libc.so.6      0x00007f219fdb1520
4  swift-frontend 0x000055dd4438a7d6
5  swift-frontend 0x000055dd43b91a61
6  swift-frontend 0x000055dd43b902f6
7  swift-frontend 0x000055dd43b8e060
8  swift-frontend 0x000055dd440d027c
9  swift-frontend 0x000055dd440d0253
10 swift-frontend 0x000055dd43b8fdef
11 swift-frontend 0x000055dd43b8de03
12 swift-frontend 0x000055dd440d027c
13 swift-frontend 0x000055dd440d2f89
14 swift-frontend 0x000055dd440d2ee9
15 swift-frontend 0x000055dd440d0809
16 swift-frontend 0x000055dd440d0773
17 swift-frontend 0x000055dd43b8ace2
18 swift-frontend 0x000055dd43c1a50b
19 swift-frontend 0x000055dd442190e2
20 swift-frontend 0x000055dd44170bd9
21 swift-frontend 0x000055dd442f7398
22 swift-frontend 0x000055dd43c87e62
23 swift-frontend 0x000055dd43c89e4b
24 swift-frontend 0x000055dd43c87d45
25 swift-frontend 0x000055dd427de129
26 swift-frontend 0x000055dd427d43ea
27 swift-frontend 0x000055dd427d41db
28 swift-frontend 0x000055dd4247d3c2
29 swift-frontend 0x000055dd4246e7de
30 swift-frontend 0x000055dd4246d878
31 swift-frontend 0x000055dd421e926b
32 libc.so.6      0x00007f219fd98d90
33 libc.so.6      0x00007f219fd98e40 __libc_start_main + 128
34 swift-frontend 0x000055dd421e8265
*** Signal 11: Backtracing from 0x7f219fe059fc... done ***
*** Program crashed: Bad pointer dereference at 0x0000000000000064 ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "swift-frontend" crashed:
  0  0x00007f219fe059fc <unknown> in libc.so.6
...
Registers:
rax 0x0000000000000000  0
rdx 0x00007f219fc4df80  80 df c4 9f 21 7f 00 00 80 e9 c4 9f 21 7f 00 00  ·ßÄ·!····éÄ·!···
rcx 0x00007f219fe059fc  41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00  A·ÅA÷Ý=·ðÿÿ¸····
rbx 0x000000000000000b  11
rsi 0x0000000000000064  100
rdi 0x0000000000000064  100
rbp 0x0000000000000064  100
rsp 0x000055dd4f96d660  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
 r8 0x0000000000000035  53
 r9 0x000055dd4f96d430  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ················
r10 0x00007f219fd7e108  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 0x000055dd4f96d7c8  ff ff ff 7f fe ff ff ff 00 00 00 00 00 00 00 00  ÿÿÿ·þÿÿÿ········
rip 0x00007f219fe059fc  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):
0x00007f219fd6f000–0x00007f219ff2b341 d5197096f709801829b118af1b7cf6631efa2dcd libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
Backtrace took 0.07s
BUILD FAILURE 6.2 wasm