Build Information
Failed to build SmsGora, reference v1.0.1 (d31e0c), with Swift 6.1 for Wasm on 13 Nov 2026 12:32:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-58779149-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/TekservixHQ/smsgora-swift.git
Reference: v1.0.1
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/TekservixHQ/smsgora-swift
* tag v1.0.1 -> FETCH_HEAD
HEAD is now at d31e0c3 Mark JSONValue as Sendable
Cloned https://github.com/TekservixHQ/smsgora-swift.git
Revision (git rev-parse @):
d31e0c3384785e263f3a7c6e6601694abfd1ba63
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/TekservixHQ/smsgora-swift.git at v1.0.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/TekservixHQ/smsgora-swift.git
https://github.com/TekservixHQ/smsgora-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-58779149-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.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:0034c02a984097e8bef091e8149ee5bab070831958674652bcea48eef7e72457
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-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/6] Compiling SmsGora JSONValue.swift
[4/6] Compiling SmsGora HMAC.swift
[5/6] Emitting module SmsGora
/host/spi-builder-workspace/Sources/SmsGora/SmsGoraClient.swift:8:38: error: cannot find type 'URLRequest' in scope
6 | /// Sends a request and returns the raw body and response. Swap it out in tests
7 | /// or to add your own logging, retries or proxy.
8 | public typealias SmsGoraTransport = (URLRequest) async throws -> (Data, HTTPURLResponse)
| `- error: cannot find type 'URLRequest' in scope
9 |
10 | /// Thrown when the API answers with an error.
/host/spi-builder-workspace/Sources/SmsGora/SmsGoraClient.swift:68:55: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 |
67 | /// Default transport built on URLSession (works on Apple platforms and Linux).
68 | public static func urlSessionTransport(_ session: URLSession) -> SmsGoraTransport {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 | return { request in
70 | try await withCheckedThrowingContinuation { continuation in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SmsGora/SmsGoraClient.swift:248:37: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
246 | }
247 |
248 | private func header(_ response: HTTPURLResponse, _ name: String) -> String? {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
249 | for (key, value) in response.allHeaderFields {
250 | if let k = key as? String, k.caseInsensitiveCompare(name) == .orderedSame { return "\(value)" }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[6/6] Compiling SmsGora SmsGoraClient.swift
/host/spi-builder-workspace/Sources/SmsGora/SmsGoraClient.swift:8:38: error: cannot find type 'URLRequest' in scope
6 | /// Sends a request and returns the raw body and response. Swap it out in tests
7 | /// or to add your own logging, retries or proxy.
8 | public typealias SmsGoraTransport = (URLRequest) async throws -> (Data, HTTPURLResponse)
| `- error: cannot find type 'URLRequest' in scope
9 |
10 | /// Thrown when the API answers with an error.
/host/spi-builder-workspace/Sources/SmsGora/SmsGoraClient.swift:68:55: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 |
67 | /// Default transport built on URLSession (works on Apple platforms and Linux).
68 | public static func urlSessionTransport(_ session: URLSession) -> SmsGoraTransport {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 | return { request in
70 | try await withCheckedThrowingContinuation { continuation in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SmsGora/SmsGoraClient.swift:248:37: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
246 | }
247 |
248 | private func header(_ response: HTTPURLResponse, _ name: String) -> String? {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
249 | for (key, value) in response.allHeaderFields {
250 | if let k = key as? String, k.caseInsensitiveCompare(name) == .orderedSame { return "\(value)" }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SmsGora/SmsGoraClient.swift:64:74: error: cannot infer contextual base in reference to member 'shared'
62 | self.baseURL = url
63 | self.timeout = timeout
64 | self.transport = transport ?? SmsGoraClient.urlSessionTransport(.shared)
| `- error: cannot infer contextual base in reference to member 'shared'
65 | }
66 |
/host/spi-builder-workspace/Sources/SmsGora/SmsGoraClient.swift:93:19: error: cannot find 'URLRequest' in scope
91 | throw SmsGoraError(status: 0, message: "Invalid URL: \(baseURL + path)", errors: nil, body: nil, retryAfter: nil)
92 | }
93 | var req = URLRequest(url: url, timeoutInterval: timeout)
| `- error: cannot find 'URLRequest' in scope
94 | req.httpMethod = method.uppercased()
95 | req.setValue(apiKey, forHTTPHeaderField: "x-api-key")
/host/spi-builder-workspace/Sources/SmsGora/SmsGoraClient.swift:249:38: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
247 |
248 | private func header(_ response: HTTPURLResponse, _ name: String) -> String? {
249 | for (key, value) in response.allHeaderFields {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
250 | if let k = key as? String, k.caseInsensitiveCompare(name) == .orderedSame { return "\(value)" }
251 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-58779149-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0034c02a984097e8bef091e8149ee5bab070831958674652bcea48eef7e72457
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/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] Compiling SmsGora JSONValue.swift
[3/5] Compiling SmsGora SmsGoraClient.swift
/host/spi-builder-workspace/Sources/SmsGora/SmsGoraClient.swift:8:38: error: cannot find type 'URLRequest' in scope
6 | /// Sends a request and returns the raw body and response. Swap it out in tests
7 | /// or to add your own logging, retries or proxy.
8 | public typealias SmsGoraTransport = (URLRequest) async throws -> (Data, HTTPURLResponse)
| `- error: cannot find type 'URLRequest' in scope
9 |
10 | /// Thrown when the API answers with an error.
/host/spi-builder-workspace/Sources/SmsGora/SmsGoraClient.swift:68:55: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 |
67 | /// Default transport built on URLSession (works on Apple platforms and Linux).
68 | public static func urlSessionTransport(_ session: URLSession) -> SmsGoraTransport {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 | return { request in
70 | try await withCheckedThrowingContinuation { continuation in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SmsGora/SmsGoraClient.swift:248:37: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
246 | }
247 |
248 | private func header(_ response: HTTPURLResponse, _ name: String) -> String? {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
249 | for (key, value) in response.allHeaderFields {
250 | if let k = key as? String, k.caseInsensitiveCompare(name) == .orderedSame { return "\(value)" }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SmsGora/SmsGoraClient.swift:64:74: error: cannot infer contextual base in reference to member 'shared'
62 | self.baseURL = url
63 | self.timeout = timeout
64 | self.transport = transport ?? SmsGoraClient.urlSessionTransport(.shared)
| `- error: cannot infer contextual base in reference to member 'shared'
65 | }
66 |
/host/spi-builder-workspace/Sources/SmsGora/SmsGoraClient.swift:93:19: error: cannot find 'URLRequest' in scope
91 | throw SmsGoraError(status: 0, message: "Invalid URL: \(baseURL + path)", errors: nil, body: nil, retryAfter: nil)
92 | }
93 | var req = URLRequest(url: url, timeoutInterval: timeout)
| `- error: cannot find 'URLRequest' in scope
94 | req.httpMethod = method.uppercased()
95 | req.setValue(apiKey, forHTTPHeaderField: "x-api-key")
/host/spi-builder-workspace/Sources/SmsGora/SmsGoraClient.swift:249:38: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
247 |
248 | private func header(_ response: HTTPURLResponse, _ name: String) -> String? {
249 | for (key, value) in response.allHeaderFields {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
250 | if let k = key as? String, k.caseInsensitiveCompare(name) == .orderedSame { return "\(value)" }
251 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Compiling SmsGora HMAC.swift
[5/5] Emitting module SmsGora
/host/spi-builder-workspace/Sources/SmsGora/SmsGoraClient.swift:8:38: error: cannot find type 'URLRequest' in scope
6 | /// Sends a request and returns the raw body and response. Swap it out in tests
7 | /// or to add your own logging, retries or proxy.
8 | public typealias SmsGoraTransport = (URLRequest) async throws -> (Data, HTTPURLResponse)
| `- error: cannot find type 'URLRequest' in scope
9 |
10 | /// Thrown when the API answers with an error.
/host/spi-builder-workspace/Sources/SmsGora/SmsGoraClient.swift:68:55: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 |
67 | /// Default transport built on URLSession (works on Apple platforms and Linux).
68 | public static func urlSessionTransport(_ session: URLSession) -> SmsGoraTransport {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 | return { request in
70 | try await withCheckedThrowingContinuation { continuation in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SmsGora/SmsGoraClient.swift:248:37: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
246 | }
247 |
248 | private func header(_ response: HTTPURLResponse, _ name: String) -> String? {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
249 | for (key, value) in response.allHeaderFields {
250 | if let k = key as? String, k.caseInsensitiveCompare(name) == .orderedSame { return "\(value)" }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
BUILD FAILURE 6.1 wasm