The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NebiusForFoundationModels, reference v1.0.0 (87c7e1), with Swift 6.3 for Wasm on 22 Oct 2026 13:20:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/csauvage/nebius-for-foundation-models.git
Reference: v1.0.0
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/csauvage/nebius-for-foundation-models
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at 87c7e1b Add Nebius and Tavily integrations for Foundation Models
Cloned https://github.com/csauvage/nebius-for-foundation-models.git
Revision (git rev-parse @):
87c7e1b1b2b2ba5a4b025a601063c3eccaaecb9f
SUCCESS checkout https://github.com/csauvage/nebius-for-foundation-models.git at v1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/csauvage/nebius-for-foundation-models.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:11aa8e4a9dbcd813ae44128d01e945c51d260b4dfda77b6bb7d997d0cc236164
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/29] Write sources
[9/29] Write swift-version-24593BA9C3E375BF.txt
[11/44] Compiling UpdateNebiusModelCatalog main.swift
/host/spi-builder-workspace/Tools/UpdateNebiusModelCatalog/main.swift:184:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
182 |   private static func catalogData(input: URL?) async throws -> Data {
183 |     if let input { return try Data(contentsOf: input) }
184 |     let (data, response) = try await URLSession.shared.data(from: publicCatalogURL)
    |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
185 |     guard let response = response as? HTTPURLResponse, response.statusCode == 200 else {
186 |       throw GeneratorError.invalidResponse((response as? HTTPURLResponse)?.statusCode ?? -1)
/host/spi-builder-workspace/Tools/UpdateNebiusModelCatalog/main.swift:186:76: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
184 |     let (data, response) = try await URLSession.shared.data(from: publicCatalogURL)
185 |     guard let response = response as? HTTPURLResponse, response.statusCode == 200 else {
186 |       throw GeneratorError.invalidResponse((response as? HTTPURLResponse)?.statusCode ?? -1)
    |                                                                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
187 |     }
188 |     return data
[12/44] Emitting module UpdateNebiusModelCatalog
[13/44] Compiling TavilyAPI TavilyJSONValue.swift
/host/spi-builder-workspace/Sources/NebiusAPI/NebiusClient+DedicatedEndpoints.swift:80:19: error: cannot find 'URLRequest' in scope
 78 |     var url = URL(string: "https://api.tokenfactory.nebius.com/v0/dedicated_endpoints")!
 79 |     if let suffix { url.appendPathComponent(suffix) }
 80 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
 81 |     // Template revalidation and manual refresh must reach the control plane.
 82 |     request.cachePolicy = .reloadIgnoringLocalCacheData
/host/spi-builder-workspace/Sources/NebiusAPI/NebiusClient+DedicatedEndpoints.swift:82:28: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 80 |     var request = URLRequest(url: url)
 81 |     // Template revalidation and manual refresh must reach the control plane.
 82 |     request.cachePolicy = .reloadIgnoringLocalCacheData
    |                            `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 83 |     request.httpMethod = method
 84 |     request.timeoutInterval = 60
/host/spi-builder-workspace/Sources/NebiusAPI/NebiusClient+DedicatedEndpoints.swift:90:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 88 |     if body != nil { request.setValue("application/json", forHTTPHeaderField: "Content-Type") }
 89 |     // Deliberately does not use baseURL or headers: these can contain proxy credentials.
 90 |     let (data, response) = try await session.data(for: request)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 91 |     try Task.checkCancellation()
 92 |     guard let response = response as? HTTPURLResponse else {
BUILD FAILURE 6.3 wasm