Build Information
Failed to build spfk-testing, reference main (6d96a1), with Swift 6.3 for Wasm on 21 Nov 2026 20:47:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344846-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ryanfrancesconi/spfk-testing.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/ryanfrancesconi/spfk-testing
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6d96a1f Add the unsavedEdits test tag
Cloned https://github.com/ryanfrancesconi/spfk-testing.git
Revision (git rev-parse @):
6d96a1fcd730b5583eebf266578ac81657a86782
SUCCESS checkout https://github.com/ryanfrancesconi/spfk-testing.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/ryanfrancesconi/spfk-testing.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:d3f568d85e0aea9035607cd00c00b956e2abec4c377680cdb286c930e5f653a0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/129] Copying dualaudio.mka
[0/129] Copying bext_ixml_external.flac
[0/129] Copying foreign_comment_deu.mp3
[0/129] Copying and-oh-how-they-danced.mp3
[0/129] Copying dualaudio.m4a
[0/129] Copying b_major.mp3
[0/129] Copying boom.addAudio
[0/129] Copying asharp_major.mp3
[0/129] Copying ixml.wav
[0/129] Copying a_major.mp3
[0/129] Copying and-oh-how-they-danced.wav
[0/129] Copying and-oh-how-they-danced_2.wav
[0/129] Copying cowbell.wav
[0/129] Copying ITUNSMPB.m4a
[0/129] Copying cowbell_bext.wav
[3/129] Copying sine.w64
[6/129] Copying e_major.mp3
[10/129] Copying d_major.mp3
[18/129] Copying toc_many_children.mp3
[18/129] Copying xmp.mp3
[20/129] Copying dsharp_major.mp3
[21/129] Copying tabla_legacy_picture.flac
[22/129] Copying 123456789_60BPM_48k.wav
[23/129] Copying tabla_cprt.m4a
[23/129] Copying tabla_flac.mka
[25/129] Copying tabla_pcm_long_blocks.mka
[25/129] Copying tabla_pcm.mka
[25/129] Copying tabla.ogg
[25/129] Copying tabla.mp4
[25/129] Copying tabla.mp3
[30/129] Copying tabla.mka
[31/129] Copying tabla.m4a
[31/129] Copying tabla.flac
[31/129] Copying tabla.aac
[31/129] Copying tabla.wav
[31/129] Copying surround_vorbis.ogg
[31/129] Copying surround_opus.opus
[37/129] Copying surround_opus.mka
[38/129] Copying surround_flac.mka
[38/129] Copying tabla.caf
[38/129] Copying tabla.aif
[41/129] Copying surround_eac3.mka
[41/129] Copying tabla_6_channel.wav
[43/129] Copying surround_ac3.mka
[43/129] Copying stereo_eac3.mka
[45/129] Copying surround_aac.mka
[46/129] Copying songbird_exif_thumbnail.jpg
[46/129] Write sources
[49/129] Copying sine.wv
[50/129] Copying sine_popularimeter.wma
[50/129] Copying sine.wma
[52/129] Copying sine.ts
[53/129] Copying songbird.jpg
[54/129] Copying sine.opus
[54/129] Copying sine.m4v
[56/129] Copying sine.m4b
[57/129] Copying sine.snd
[58/129] Copying sharksandwich.heic
[58/129] Copying sharksandwich.jpg
[58/129] Copying sample.webm
[58/129] Copying sine.au
[58/129] Copying sample.wmv
[58/129] Copying sine.aifc
[59/129] Copying sample.mkv
[59/129] Copying sample.mka
[62/129] Copying sample.avi
[66/129] Copying sample-timecode.mov
[68/129] Copying sample-nested-seekhead.mkv
[69/129] Copying sample.mov
[70/129] Copying sample-interleaved-cues.mkv
[71/129] Copying sample-timecode-offset.mov
[71/129] Copying sample-dualaudio.mov
[72/129] Copying sample-dualaudio.mkv
[74/129] Copying sharksandwich.webp
[75/129] Copying sample.mxf
[76/129] Copying rated_80.mp3
[77/129] Copying rated_80.m4a
[78/129] Copying rated_80.flac
[78/129] Copying qtmeta.mov
[80/129] Copying prores-pattern.mov
[80/129] Copying rated_80.wav
[82/129] Copying rated_80.ogg
[82/129] Copying orientation-pattern.mov
[84/129] Copying rated_80.aif
[84/129] Copying key_vorbis_key.flac
[84/129] Copying key_standard.mp3
[84/129] Copying orientation-8.avif
[84/129] Copying key_standard.m4a
[84/129] Copying key_standard.flac
[84/129] Copying key_root.mp3
[84/129] Copying key_root.m4a
[84/129] Copying key_root.flac
[84/129] Copying key_relative.mp3
[84/129] Copying key_relative.m4a
[84/129] Copying key_relative.flac
[84/129] Copying key_piano.mp3
[84/129] Copying key_piano.m4a
[84/129] Copying key_piano.flac
[84/129] Copying key_openkey.mp3
[84/129] Copying key_openkey.m4a
[84/129] Copying key_openkey.flac
[84/129] Copying key_off.mp3
[86/129] Copying key_off.m4a
[90/129] Copying key_glyph.mp3
[99/129] Copying key_glyph.m4a
[106/129] Copying pink_noise.wav
[106/129] Copying key_glyph.flac
[106/129] Copying key_off.flac
[106/129] Copying no metadata.mp3
[106/129] Copying key_comment.mp3
[106/129] Copying key_comment.m4a
[106/129] Copying key_comment.flac
[106/129] Copying key_camelot.mp3
[106/129] Copying orientation-pattern.mp4
[106/129] Copying key_camelot.m4a
[106/129] Copying key_abmin.mp3
[106/129] Copying key_abmin.flac
[106/129] Copying gsharp_major.mp3
[108/129] Copying g_major.mp3
[109/129] Copying hlg-pattern.mov
[110/129] Copying fsharp_major.mp3
[111/129] Copying key_camelot.flac
[113/129] Copying key_abmin.m4a
[117/129] Copying f_major.mp3
[125/129] Copying csharp_major.mp3
[126/129] Copying c_major.mp3
[127/129] Copying no_data_chunk.wav
[128/129] Write swift-version-24593BA9C3E375BF.txt
[130/136] Compiling SPFKBench Measure.swift
[131/136] Compiling SPFKBench RegressionRun.swift
/host/spi-builder-workspace/Sources/SPFKBench/RegressionRun.swift:111:85: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
109 |
110 | if let flag = arguments.firstIndex(of: "--json"), arguments.indices.contains(flag + 1) {
111 | try data.write(to: URL(fileURLWithPath: arguments[flag + 1]), options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
112 | } else {
113 | FileHandle.standardOutput.write(data)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
[132/136] Compiling SPFKBench RetentionProbe.swift
[133/136] Compiling SPFKBench PeakFootprint.swift
/host/spi-builder-workspace/Sources/SPFKBench/PeakFootprint.swift:7:16: error: cannot find 'task_vm_info_data_t' in scope
5 | /// This process's physical footprint right now, in MB, as Activity Monitor's Memory column reports it.
6 | public func footprintMB() -> Double {
7 | var info = task_vm_info_data_t()
| `- error: cannot find 'task_vm_info_data_t' in scope
8 | var count = mach_msg_type_number_t(MemoryLayout<task_vm_info_data_t>.size / MemoryLayout<natural_t>.size)
9 |
/host/spi-builder-workspace/Sources/SPFKBench/PeakFootprint.swift:8:17: error: cannot find 'mach_msg_type_number_t' in scope
6 | public func footprintMB() -> Double {
7 | var info = task_vm_info_data_t()
8 | var count = mach_msg_type_number_t(MemoryLayout<task_vm_info_data_t>.size / MemoryLayout<natural_t>.size)
| `- error: cannot find 'mach_msg_type_number_t' in scope
9 |
10 | let result = withUnsafeMutablePointer(to: &info) {
/host/spi-builder-workspace/Sources/SPFKBench/PeakFootprint.swift:8:53: error: cannot find type 'task_vm_info_data_t' in scope
6 | public func footprintMB() -> Double {
7 | var info = task_vm_info_data_t()
8 | var count = mach_msg_type_number_t(MemoryLayout<task_vm_info_data_t>.size / MemoryLayout<natural_t>.size)
| `- error: cannot find type 'task_vm_info_data_t' in scope
9 |
10 | let result = withUnsafeMutablePointer(to: &info) {
/host/spi-builder-workspace/Sources/SPFKBench/PeakFootprint.swift:8:94: error: cannot find type 'natural_t' in scope
6 | public func footprintMB() -> Double {
7 | var info = task_vm_info_data_t()
8 | var count = mach_msg_type_number_t(MemoryLayout<task_vm_info_data_t>.size / MemoryLayout<natural_t>.size)
| `- error: cannot find type 'natural_t' in scope
9 |
10 | let result = withUnsafeMutablePointer(to: &info) {
/host/spi-builder-workspace/Sources/SPFKBench/PeakFootprint.swift:11:34: error: cannot find 'integer_t' in scope
9 |
10 | let result = withUnsafeMutablePointer(to: &info) {
11 | $0.withMemoryRebound(to: integer_t.self, capacity: Int(count)) {
| `- error: cannot find 'integer_t' in scope
12 | task_info(mach_task_self_, task_flavor_t(TASK_VM_INFO), $0, &count)
13 | }
/host/spi-builder-workspace/Sources/SPFKBench/PeakFootprint.swift:12:13: error: cannot find 'task_info' in scope
10 | let result = withUnsafeMutablePointer(to: &info) {
11 | $0.withMemoryRebound(to: integer_t.self, capacity: Int(count)) {
12 | task_info(mach_task_self_, task_flavor_t(TASK_VM_INFO), $0, &count)
| `- error: cannot find 'task_info' in scope
13 | }
14 | }
/host/spi-builder-workspace/Sources/SPFKBench/PeakFootprint.swift:12:23: error: cannot find 'mach_task_self_' in scope
10 | let result = withUnsafeMutablePointer(to: &info) {
11 | $0.withMemoryRebound(to: integer_t.self, capacity: Int(count)) {
12 | task_info(mach_task_self_, task_flavor_t(TASK_VM_INFO), $0, &count)
| `- error: cannot find 'mach_task_self_' in scope
13 | }
14 | }
/host/spi-builder-workspace/Sources/SPFKBench/PeakFootprint.swift:12:40: error: cannot find 'task_flavor_t' in scope
10 | let result = withUnsafeMutablePointer(to: &info) {
11 | $0.withMemoryRebound(to: integer_t.self, capacity: Int(count)) {
12 | task_info(mach_task_self_, task_flavor_t(TASK_VM_INFO), $0, &count)
| `- error: cannot find 'task_flavor_t' in scope
13 | }
14 | }
/host/spi-builder-workspace/Sources/SPFKBench/PeakFootprint.swift:12:54: error: cannot find 'TASK_VM_INFO' in scope
10 | let result = withUnsafeMutablePointer(to: &info) {
11 | $0.withMemoryRebound(to: integer_t.self, capacity: Int(count)) {
12 | task_info(mach_task_self_, task_flavor_t(TASK_VM_INFO), $0, &count)
| `- error: cannot find 'TASK_VM_INFO' in scope
13 | }
14 | }
/host/spi-builder-workspace/Sources/SPFKBench/PeakFootprint.swift:11:12: error: generic parameter 'T' could not be inferred
9 |
10 | let result = withUnsafeMutablePointer(to: &info) {
11 | $0.withMemoryRebound(to: integer_t.self, capacity: Int(count)) {
| `- error: generic parameter 'T' could not be inferred
12 | task_info(mach_task_self_, task_flavor_t(TASK_VM_INFO), $0, &count)
13 | }
Swift.UnsafeMutablePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafeMutablePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafeMutablePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
| `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
/host/spi-builder-workspace/Sources/SPFKBench/PeakFootprint.swift:16:21: error: cannot find 'KERN_SUCCESS' in scope
14 | }
15 |
16 | guard result == KERN_SUCCESS else { return 0 }
| `- error: cannot find 'KERN_SUCCESS' in scope
17 | return Double(info.phys_footprint) / 1_048_576
18 | }
/host/spi-builder-workspace/Sources/SPFKBench/PeakFootprint.swift:39:9: error: cannot find 'Thread' in scope
37 | }
38 |
39 | Thread.detachNewThread { [self] in
| `- error: cannot find 'Thread' in scope
40 | while lock.withLock({ running }) {
41 | let current = footprintMB()
/host/spi-builder-workspace/Sources/SPFKBench/PeakFootprint.swift:43:17: error: cannot find 'Thread' in scope
41 | let current = footprintMB()
42 | lock.withLock { peak = max(peak, current) }
43 | Thread.sleep(forTimeInterval: interval)
| `- error: cannot find 'Thread' in scope
44 | }
45 | }
[134/136] Compiling SPFKBench PoolLateness.swift
/host/spi-builder-workspace/Sources/SPFKBench/PoolLateness.swift:26:9: error: cannot find 'Thread' in scope
24 | }
25 |
26 | Thread.detachNewThread { [self] in
| `- error: cannot find 'Thread' in scope
27 | while lock.withLock({ running }) {
28 | let posted = DispatchTime.now().uptimeNanoseconds
/host/spi-builder-workspace/Sources/SPFKBench/PoolLateness.swift:28:30: error: cannot find 'DispatchTime' in scope
26 | Thread.detachNewThread { [self] in
27 | while lock.withLock({ running }) {
28 | let posted = DispatchTime.now().uptimeNanoseconds
| `- error: cannot find 'DispatchTime' in scope
29 |
30 | Task.detached { [self] in
/host/spi-builder-workspace/Sources/SPFKBench/PoolLateness.swift:31:39: error: cannot find 'DispatchTime' in scope
29 |
30 | Task.detached { [self] in
31 | let late = Double(DispatchTime.now().uptimeNanoseconds - posted) / 1_000_000
| `- error: cannot find 'DispatchTime' in scope
32 | lock.withLock { lateness.append(late) }
33 | }
/host/spi-builder-workspace/Sources/SPFKBench/PoolLateness.swift:35:17: error: cannot find 'Thread' in scope
33 | }
34 |
35 | Thread.sleep(forTimeInterval: interval)
| `- error: cannot find 'Thread' in scope
36 | }
37 | }
[135/136] Emitting module SPFKBench
[136/136] Compiling SPFKBench BenchSamples.swift
/host/spi-builder-workspace/Sources/SPFKBench/BenchSamples.swift:42:71: error: cannot find 'DispatchTime' in scope
40 | _ body: (T) async throws -> Void
41 | ) async rethrows -> BenchSamples {
42 | try await sample(iterations: iterations, warmup: warmup, clock: { DispatchTime.now().uptimeNanoseconds }, prepare: prepare, body)
| `- error: cannot find 'DispatchTime' in scope
43 | }
44 |
BUILD FAILURE 6.3 wasm