The Swift Package Index logo.Swift Package Index

Build Information

Failed to build YaSpellChecker, reference main (5dcd8a), with Swift 6.1 for Wasm on 3 Mar 2026 08:49:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/makoni/YaSpellChecker.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/makoni/YaSpellChecker
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5dcd8a0 Add custom sponsorship URL for donations
Cloned https://github.com/makoni/YaSpellChecker.git
Revision (git rev-parse @):
5dcd8a0203eb6855256c2d1ca85381ecdfa265a2
SUCCESS checkout https://github.com/makoni/YaSpellChecker.git at main
========================================
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
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "YaSpellChecker",
  "name" : "YaSpellChecker",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "YaSpellChecker",
      "targets" : [
        "YaSpellChecker"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ExampleApp",
      "targets" : [
        "ExampleApp"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "YaSpellCheckerTests",
      "module_type" : "SwiftTarget",
      "name" : "YaSpellCheckerTests",
      "path" : "Tests/YaSpellCheckerTests",
      "sources" : [
        "YaSpellCheckerTests.swift"
      ],
      "target_dependencies" : [
        "YaSpellChecker"
      ],
      "type" : "test"
    },
    {
      "c99name" : "YaSpellChecker",
      "module_type" : "SwiftTarget",
      "name" : "YaSpellChecker",
      "path" : "Sources/YaSpellChecker",
      "product_memberships" : [
        "YaSpellChecker",
        "ExampleApp"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/YaSpellChecker/Localizable.xcstrings",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "YaSpellChecker.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ExampleApp",
      "module_type" : "SwiftTarget",
      "name" : "ExampleApp",
      "path" : "Sources/ExampleApp",
      "product_memberships" : [
        "ExampleApp"
      ],
      "sources" : [
        "ExampleApp.swift"
      ],
      "target_dependencies" : [
        "YaSpellChecker"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/9] Write sources
[2/9] Copying Info.plist
[2/9] Copying Localizable.xcstrings
[4/9] Write swift-version-24593BA9C3E375BF.txt
[6/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
[7/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
[8/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 |         }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
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