Build Information
Failed to build translate_tool, reference main (10acd9), with Swift 6.2 for Wasm on 26 Feb 2026 02:36:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cenkbilgen/translate_strings.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/cenkbilgen/translate_strings
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 10acd96 remove gitkeep
Cloned https://github.com/cenkbilgen/translate_strings.git
Revision (git rev-parse @):
10acd969c79c20825625909170a36e7f91540c23
SUCCESS checkout https://github.com/cenkbilgen/translate_strings.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/cenkbilgen/translate_strings.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/cenkbilgen/KeychainSimple.git
Fetching https://github.com/cenkbilgen/StringsCatalogKit.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/72] Fetching keychainsimple
[73/131] Fetching keychainsimple, stringscatalogkit
[89/6189] Fetching keychainsimple, stringscatalogkit, swift-algorithms
[271/23361] Fetching keychainsimple, stringscatalogkit, swift-algorithms, swift-argument-parser
Fetched https://github.com/cenkbilgen/KeychainSimple.git from cache (1.35s)
Fetched https://github.com/cenkbilgen/StringsCatalogKit.git from cache (1.35s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.35s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.37s)
Computing version for https://github.com/cenkbilgen/KeychainSimple.git
Computed https://github.com/cenkbilgen/KeychainSimple.git at 2.0.0 (1.98s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.57s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.47s)
Computing version for https://github.com/cenkbilgen/StringsCatalogKit.git
Computed https://github.com/cenkbilgen/StringsCatalogKit.git at 1.1.2 (0.86s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (0.42s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.37s)
Creating working copy for https://github.com/cenkbilgen/StringsCatalogKit.git
Working copy of https://github.com/cenkbilgen/StringsCatalogKit.git resolved at 1.1.2
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/cenkbilgen/KeychainSimple.git
Working copy of https://github.com/cenkbilgen/KeychainSimple.git resolved at 2.0.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/22] Write sources
[10/22] Compiling _NumericsShims _NumericsShims.c
[10/22] Write swift-version-24593BA9C3E375BF.txt
[13/48] Emitting module StringsCatalogKit
[14/48] Compiling RealModule RealFunctions.swift
[15/49] Compiling RealModule Float80+Real.swift
[16/49] Compiling RealModule Real.swift
[17/49] Compiling RealModule ElementaryFunctions.swift
[18/49] Compiling RealModule Float+Real.swift
[19/49] Compiling RealModule Float16+Real.swift
[20/49] Compiling RealModule RelaxedArithmetic.swift
[21/49] Emitting module RealModule
[22/49] Compiling RealModule AlgebraicField.swift
[23/49] Compiling RealModule ApproximateEquality.swift
[24/49] Compiling RealModule AugmentedArithmetic.swift
[25/49] Compiling RealModule Double+Real.swift
[26/50] Wrapping AST for RealModule for debugging
[28/75] Emitting module ArgumentParserToolInfo
[29/75] Compiling ArgumentParserToolInfo ToolInfo.swift
[30/76] Wrapping AST for ArgumentParserToolInfo for debugging
[32/122] Compiling TranslationServices TranslatorOpenAI.swift
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorOpenAI.swift:22:63: error: cannot find type 'URLRequest' in scope
20 | }
21 |
22 | internal func makePromptRequest(prompt: String) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
23 | var request = makeRequest(path: "chat/completions")
24 | struct Body: Encodable {
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:13:54: error: cannot find type 'URLRequest' in scope
11 | var baseURL: URL { get }
12 | var headers: [String: String] { get }
13 | func makePromptRequest(prompt: String) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
14 | associatedtype ResponseBody: Decodable
15 | func decodeStructuredReply(body: ResponseBody) throws -> LLM.Schema.StructuredContent
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:19:48: error: cannot find type 'URLRequest' in scope
17 |
18 | extension LLMAPI {
19 | internal func makeRequest(path: String) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
20 | var request = URLRequest(url: baseURL.appending(path: path))
21 | request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorProtocol.swift:34:18: error: cannot find type 'URLRequest' in scope
32 |
33 | func send<ResponseBody: Decodable>(
34 | request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | decoder: JSONDecoder = NetService.decoder
36 | ) async throws -> ResponseBody {
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorOpenAI.swift:129:38: error: cannot convert value of type 'TranslatorOpenAI.ResponseBody' to specified type 'ResponseBody'
127 | }
128 |
129 | let body: ResponseBody = try await send(request: request)
| `- error: cannot convert value of type 'TranslatorOpenAI.ResponseBody' to specified type 'ResponseBody'
130 | return Set(body.data.map(\.id))
131 | }
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorOpenAI.swift:129:48: error: incorrect argument label in call (have 'request:', expected 'prompt:')
127 | }
128 |
129 | let body: ResponseBody = try await send(request: request)
| `- error: incorrect argument label in call (have 'request:', expected 'prompt:')
130 | return Set(body.data.map(\.id))
131 | }
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorOpenAI.swift:129:44: error: 'send' is inaccessible due to 'private' protection level
127 | }
128 |
129 | let body: ResponseBody = try await send(request: request)
| `- error: 'send' is inaccessible due to 'private' protection level
130 | return Set(body.data.map(\.id))
131 | }
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:30:18: note: 'send(prompt:)' declared here
28 | }
29 |
30 | private func send(prompt: String) async throws -> ResponseBody {
| `- note: 'send(prompt:)' declared here
31 | let request = try makePromptRequest(prompt: prompt)
32 | let body: ResponseBody = try await send(request: request, decoder: NetService.decoder)
[33/123] Compiling TranslationServices ModelSelectable.swift
[34/123] Compiling TranslationServices TranslatorGemini.swift
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorGemini.swift:43:54: error: cannot find type 'URLRequest' in scope
41 | }
42 |
43 | func makePromptRequest(prompt: String) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
44 | var request = makeRequest(path: "")
45 |
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:13:54: error: cannot find type 'URLRequest' in scope
11 | var baseURL: URL { get }
12 | var headers: [String: String] { get }
13 | func makePromptRequest(prompt: String) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
14 | associatedtype ResponseBody: Decodable
15 | func decodeStructuredReply(body: ResponseBody) throws -> LLM.Schema.StructuredContent
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:19:48: error: cannot find type 'URLRequest' in scope
17 |
18 | extension LLMAPI {
19 | internal func makeRequest(path: String) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
20 | var request = URLRequest(url: baseURL.appending(path: path))
21 | request.httpMethod = "POST"
[35/123] Compiling KeychainSimple KeychainItem.swift
/host/spi-builder-workspace/.build/checkouts/KeychainSimple/Sources/KeychainSimple/KeychainItem.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 | @preconcurrency import LocalAuthentication
4 |
[36/123] Compiling KeychainSimple SecureInput.swift
/host/spi-builder-workspace/.build/checkouts/KeychainSimple/Sources/KeychainSimple/KeychainItem.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 | @preconcurrency import LocalAuthentication
4 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/123] Emitting module KeychainSimple
/host/spi-builder-workspace/.build/checkouts/KeychainSimple/Sources/KeychainSimple/KeychainItem.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 | @preconcurrency import LocalAuthentication
4 |
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorProtocol.swift:34:18: error: cannot find type 'URLRequest' in scope
32 |
33 | func send<ResponseBody: Decodable>(
34 | request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | decoder: JSONDecoder = NetService.decoder
36 | ) async throws -> ResponseBody {
BUILD FAILURE 6.2 wasm