Build Information
Failed to build unswayed, reference main (d879bf), with Swift 6.1 for Wasm on 11 Aug 2026 22:33:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 729ceb5fcd9493dc13ee340bc4f0908bd201f85d
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Umer9538/unswayed.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/Umer9538/unswayed
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d879bf0 Audit round 2: six fixes, each locked as a regression test
Cloned https://github.com/Umer9538/unswayed.git
Revision (git rev-parse @):
d879bf09bf80de1e1f27516b5c8e1f3df9b6fe11
SUCCESS checkout https://github.com/Umer9538/unswayed.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Umer9538/unswayed.git
https://github.com/Umer9538/unswayed.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/16] Compiling ParityCore Stats.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[5/17] Compiling ParityCore HTTPProviders.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/ParityCore/HTTPProviders.swift:29:23: error: cannot find 'URLRequest' in scope
27 |
28 | public func respond(to prompt: String) async throws -> String {
29 | var request = URLRequest(url: URL(string: "https://api.anthropic.com/v1/messages")!)
| `- error: cannot find 'URLRequest' in scope
30 | request.httpMethod = "POST"
31 | request.setValue(apiKey, forHTTPHeaderField: "x-api-key")
/host/spi-builder-workspace/Sources/ParityCore/HTTPProviders.swift:40:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 | "messages": [["role": "user", "content": prompt]],
39 | ])
40 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 | guard let http = response as? HTTPURLResponse, http.statusCode == 200 else {
42 | let body = String(data: data, encoding: .utf8) ?? ""
/host/spi-builder-workspace/Sources/ParityCore/HTTPProviders.swift:44:67: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
42 | let body = String(data: data, encoding: .utf8) ?? ""
43 | throw ParityFormatError(
44 | "anthropic HTTP \((response as? HTTPURLResponse)?.statusCode ?? -1): \(body.prefix(300))")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
45 | }
46 | guard let json = try JSONSerialization.jsonObject(with: data) as? [String: Any],
/host/spi-builder-workspace/Sources/ParityCore/HTTPProviders.swift:86:23: error: cannot find 'URLRequest' in scope
84 | string:
85 | "https://generativelanguage.googleapis.com/v1beta/models/\(model):generateContent")!
86 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
87 | request.httpMethod = "POST"
88 | request.setValue("application/json", forHTTPHeaderField: "content-type")
/host/spi-builder-workspace/Sources/ParityCore/HTTPProviders.swift:94:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
92 | "generationConfig": ["temperature": 0],
93 | ])
94 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
95 | guard let http = response as? HTTPURLResponse, http.statusCode == 200 else {
96 | let body = String(data: data, encoding: .utf8) ?? ""
/host/spi-builder-workspace/Sources/ParityCore/HTTPProviders.swift:98:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
96 | let body = String(data: data, encoding: .utf8) ?? ""
97 | throw ParityFormatError(
98 | "gemini HTTP \((response as? HTTPURLResponse)?.statusCode ?? -1): \(body.prefix(300))")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
99 | }
100 | guard let json = try JSONSerialization.jsonObject(with: data) as? [String: Any],
[6/17] Compiling ParityCore FoundationModelsProvider.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/17] Compiling ParityCore Provider.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/17] Compiling ParityCore Compare.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/17] Compiling ParityCore Checks.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/17] Emitting module ParityCore
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/ParityCore/Capture.swift:214:50: error: cannot find type 'DispatchTime' in scope
212 | }
213 |
214 | private static func elapsedMs(since started: DispatchTime) -> Int {
| `- error: cannot find type 'DispatchTime' in scope
215 | Int((DispatchTime.now().uptimeNanoseconds - started.uptimeNanoseconds) / 1_000_000)
216 | }
[11/17] Compiling ParityCore Capture.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/ParityCore/Capture.swift:214:50: error: cannot find type 'DispatchTime' in scope
212 | }
213 |
214 | private static func elapsedMs(since started: DispatchTime) -> Int {
| `- error: cannot find type 'DispatchTime' in scope
215 | Int((DispatchTime.now().uptimeNanoseconds - started.uptimeNanoseconds) / 1_000_000)
216 | }
/host/spi-builder-workspace/Sources/ParityCore/Capture.swift:174:31: error: cannot find 'DispatchTime' in scope
172 |
173 | for sampleIndex in 0..<samplesPerPrompt {
174 | let started = DispatchTime.now()
| `- error: cannot find 'DispatchTime' in scope
175 | do {
176 | let output = try await provider.respond(to: prompt.prompt)
/host/spi-builder-workspace/Sources/ParityCore/Capture.swift:215:14: error: cannot find 'DispatchTime' in scope
213 |
214 | private static func elapsedMs(since started: DispatchTime) -> Int {
215 | Int((DispatchTime.now().uptimeNanoseconds - started.uptimeNanoseconds) / 1_000_000)
| `- error: cannot find 'DispatchTime' in scope
216 | }
217 | }
[12/17] Compiling ParityCore Cassette.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/ParityCore/Capture.swift:214:50: error: cannot find type 'DispatchTime' in scope
212 | }
213 |
214 | private static func elapsedMs(since started: DispatchTime) -> Int {
| `- error: cannot find type 'DispatchTime' in scope
215 | Int((DispatchTime.now().uptimeNanoseconds - started.uptimeNanoseconds) / 1_000_000)
216 | }
/host/spi-builder-workspace/Sources/ParityCore/Capture.swift:174:31: error: cannot find 'DispatchTime' in scope
172 |
173 | for sampleIndex in 0..<samplesPerPrompt {
174 | let started = DispatchTime.now()
| `- error: cannot find 'DispatchTime' in scope
175 | do {
176 | let output = try await provider.respond(to: prompt.prompt)
/host/spi-builder-workspace/Sources/ParityCore/Capture.swift:215:14: error: cannot find 'DispatchTime' in scope
213 |
214 | private static func elapsedMs(since started: DispatchTime) -> Int {
215 | Int((DispatchTime.now().uptimeNanoseconds - started.uptimeNanoseconds) / 1_000_000)
| `- error: cannot find 'DispatchTime' in scope
216 | }
217 | }
[13/17] Compiling ParityCore Suite.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling ParityCore HTTPProviders.swift
/host/spi-builder-workspace/Sources/ParityCore/HTTPProviders.swift:29:23: error: cannot find 'URLRequest' in scope
27 |
28 | public func respond(to prompt: String) async throws -> String {
29 | var request = URLRequest(url: URL(string: "https://api.anthropic.com/v1/messages")!)
| `- error: cannot find 'URLRequest' in scope
30 | request.httpMethod = "POST"
31 | request.setValue(apiKey, forHTTPHeaderField: "x-api-key")
/host/spi-builder-workspace/Sources/ParityCore/HTTPProviders.swift:40:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
38 | "messages": [["role": "user", "content": prompt]],
39 | ])
40 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
41 | guard let http = response as? HTTPURLResponse, http.statusCode == 200 else {
42 | let body = String(data: data, encoding: .utf8) ?? ""
/host/spi-builder-workspace/Sources/ParityCore/HTTPProviders.swift:44:67: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
42 | let body = String(data: data, encoding: .utf8) ?? ""
43 | throw ParityFormatError(
44 | "anthropic HTTP \((response as? HTTPURLResponse)?.statusCode ?? -1): \(body.prefix(300))")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
45 | }
46 | guard let json = try JSONSerialization.jsonObject(with: data) as? [String: Any],
/host/spi-builder-workspace/Sources/ParityCore/HTTPProviders.swift:86:23: error: cannot find 'URLRequest' in scope
84 | string:
85 | "https://generativelanguage.googleapis.com/v1beta/models/\(model):generateContent")!
86 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
87 | request.httpMethod = "POST"
88 | request.setValue("application/json", forHTTPHeaderField: "content-type")
/host/spi-builder-workspace/Sources/ParityCore/HTTPProviders.swift:94:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
92 | "generationConfig": ["temperature": 0],
93 | ])
94 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
95 | guard let http = response as? HTTPURLResponse, http.statusCode == 200 else {
96 | let body = String(data: data, encoding: .utf8) ?? ""
/host/spi-builder-workspace/Sources/ParityCore/HTTPProviders.swift:98:64: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
96 | let body = String(data: data, encoding: .utf8) ?? ""
97 | throw ParityFormatError(
98 | "gemini HTTP \((response as? HTTPURLResponse)?.statusCode ?? -1): \(body.prefix(300))")
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
99 | }
100 | guard let json = try JSONSerialization.jsonObject(with: data) as? [String: Any],
[3/15] Compiling ParityCore Provider.swift
[4/15] Compiling ParityCore Stats.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/15] Compiling ParityCore Checks.swift
[6/15] Compiling ParityCore FoundationModelsProvider.swift
[7/15] Compiling ParityCore Compare.swift
[8/15] Compiling ParityCore Capture.swift
/host/spi-builder-workspace/Sources/ParityCore/Capture.swift:214:50: error: cannot find type 'DispatchTime' in scope
212 | }
213 |
214 | private static func elapsedMs(since started: DispatchTime) -> Int {
| `- error: cannot find type 'DispatchTime' in scope
215 | Int((DispatchTime.now().uptimeNanoseconds - started.uptimeNanoseconds) / 1_000_000)
216 | }
/host/spi-builder-workspace/Sources/ParityCore/Capture.swift:174:31: error: cannot find 'DispatchTime' in scope
172 |
173 | for sampleIndex in 0..<samplesPerPrompt {
174 | let started = DispatchTime.now()
| `- error: cannot find 'DispatchTime' in scope
175 | do {
176 | let output = try await provider.respond(to: prompt.prompt)
/host/spi-builder-workspace/Sources/ParityCore/Capture.swift:215:14: error: cannot find 'DispatchTime' in scope
213 |
214 | private static func elapsedMs(since started: DispatchTime) -> Int {
215 | Int((DispatchTime.now().uptimeNanoseconds - started.uptimeNanoseconds) / 1_000_000)
| `- error: cannot find 'DispatchTime' in scope
216 | }
217 | }
[9/15] Compiling ParityCore Cassette.swift
/host/spi-builder-workspace/Sources/ParityCore/Capture.swift:214:50: error: cannot find type 'DispatchTime' in scope
212 | }
213 |
214 | private static func elapsedMs(since started: DispatchTime) -> Int {
| `- error: cannot find type 'DispatchTime' in scope
215 | Int((DispatchTime.now().uptimeNanoseconds - started.uptimeNanoseconds) / 1_000_000)
216 | }
/host/spi-builder-workspace/Sources/ParityCore/Capture.swift:174:31: error: cannot find 'DispatchTime' in scope
172 |
173 | for sampleIndex in 0..<samplesPerPrompt {
174 | let started = DispatchTime.now()
| `- error: cannot find 'DispatchTime' in scope
175 | do {
176 | let output = try await provider.respond(to: prompt.prompt)
/host/spi-builder-workspace/Sources/ParityCore/Capture.swift:215:14: error: cannot find 'DispatchTime' in scope
213 |
214 | private static func elapsedMs(since started: DispatchTime) -> Int {
215 | Int((DispatchTime.now().uptimeNanoseconds - started.uptimeNanoseconds) / 1_000_000)
| `- error: cannot find 'DispatchTime' in scope
216 | }
217 | }
[10/15] Emitting module ParityCore
/host/spi-builder-workspace/Sources/ParityCore/Capture.swift:214:50: error: cannot find type 'DispatchTime' in scope
212 | }
213 |
214 | private static func elapsedMs(since started: DispatchTime) -> Int {
| `- error: cannot find type 'DispatchTime' in scope
215 | Int((DispatchTime.now().uptimeNanoseconds - started.uptimeNanoseconds) / 1_000_000)
216 | }
[11/15] Compiling ParityCore Suite.swift
BUILD FAILURE 6.1 wasm