Build Information
Failed to build YaSpellChecker, reference 1.0.1 (ed577c), with Swift 6.1 for Wasm on 15 Aug 2025 16:13:46 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.66.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/makoni/YaSpellChecker.git
Reference: 1.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/makoni/YaSpellChecker
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at ed577c3 Add agent instructions and enhance error localization tests. Fixed building for Linux
Cloned https://github.com/makoni/YaSpellChecker.git
Revision (git rev-parse @):
ed577c3ede9d2a6769e8c5b1d14a3821c3c29978
SUCCESS checkout https://github.com/makoni/YaSpellChecker.git at 1.0.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/makoni/YaSpellChecker.git
https://github.com/makoni/YaSpellChecker.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.2
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/9] Copying Localizable.xcstrings
[0/9] Copying Info.plist
[0/9] Write sources
[4/9] Write swift-version-24593BA9C3E375BF.txt
[6/12] Emitting module YaSpellChecker
<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/12] Compiling YaSpellChecker YaSpellChecker.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/YaSpellChecker/YaSpellChecker.swift:56:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
54 | public func checkAndCorrect(text: String, lang: String = "ru,en", options: Int = 0, format: String = "plain") async throws -> String {
55 | let data: Data
56 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | guard let url = URL(string: endpoint) else {
58 | throw YaSpellCheckerError.invalidResponse
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/YaSpellChecker/YaSpellChecker.swift:60:23: error: cannot find 'URLRequest' in scope
58 | throw YaSpellCheckerError.invalidResponse
59 | }
60 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
61 | request.httpMethod = "POST"
62 | let params = [
/host/spi-builder-workspace/Sources/YaSpellChecker/YaSpellChecker.swift:73:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
71 |
72 | do {
73 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
74 | } catch {
75 | throw YaSpellCheckerError.networkError(error)
/host/spi-builder-workspace/Sources/YaSpellChecker/YaSpellChecker.swift:78:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
76 | }
77 |
78 | guard let httpResponse = response as? HTTPURLResponse, httpResponse.statusCode == 200 else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
79 | throw YaSpellCheckerError.invalidResponse
80 | }
/host/spi-builder-workspace/Sources/YaSpellChecker/YaSpellChecker.swift:78:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
76 | }
77 |
78 | guard let httpResponse = response as? HTTPURLResponse, httpResponse.statusCode == 200 else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
79 | throw YaSpellCheckerError.invalidResponse
80 | }
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/YaSpellChecker/YaSpellChecker.swift:78:77: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
76 | }
77 |
78 | guard let httpResponse = response as? HTTPURLResponse, httpResponse.statusCode == 200 else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
79 | throw YaSpellCheckerError.invalidResponse
80 | }
[8/12] Compiling YaSpellChecker resource_bundle_accessor.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-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling YaSpellChecker resource_bundle_accessor.swift
[3/8] Emitting module YaSpellChecker
[4/8] Compiling YaSpellChecker YaSpellChecker.swift
/host/spi-builder-workspace/Sources/YaSpellChecker/YaSpellChecker.swift:56:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
54 | public func checkAndCorrect(text: String, lang: String = "ru,en", options: Int = 0, format: String = "plain") async throws -> String {
55 | let data: Data
56 | let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | guard let url = URL(string: endpoint) else {
58 | throw YaSpellCheckerError.invalidResponse
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/YaSpellChecker/YaSpellChecker.swift:60:23: error: cannot find 'URLRequest' in scope
58 | throw YaSpellCheckerError.invalidResponse
59 | }
60 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
61 | request.httpMethod = "POST"
62 | let params = [
/host/spi-builder-workspace/Sources/YaSpellChecker/YaSpellChecker.swift:73:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
71 |
72 | do {
73 | (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
74 | } catch {
75 | throw YaSpellCheckerError.networkError(error)
/host/spi-builder-workspace/Sources/YaSpellChecker/YaSpellChecker.swift:78:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
76 | }
77 |
78 | guard let httpResponse = response as? HTTPURLResponse, httpResponse.statusCode == 200 else {
| `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
79 | throw YaSpellCheckerError.invalidResponse
80 | }
/host/spi-builder-workspace/Sources/YaSpellChecker/YaSpellChecker.swift:78:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
76 | }
77 |
78 | guard let httpResponse = response as? HTTPURLResponse, httpResponse.statusCode == 200 else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
79 | throw YaSpellCheckerError.invalidResponse
80 | }
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/YaSpellChecker/YaSpellChecker.swift:78:77: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
76 | }
77 |
78 | guard let httpResponse = response as? HTTPURLResponse, httpResponse.statusCode == 200 else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
79 | throw YaSpellCheckerError.invalidResponse
80 | }
BUILD FAILURE 6.1 wasm