The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Enconvert, reference 0.1.1 (14f0d7), with Swift 6.3 for Wasm on 23 Sep 2026 10:34:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/enconvert/swift-sdk.git
Reference: 0.1.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/enconvert/swift-sdk
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at 14f0d75 feat: userAgent init parameter and enconvert-sdk/<version> (swift) User-Agent; 0.1.1
Cloned https://github.com/enconvert/swift-sdk.git
Revision (git rev-parse @):
14f0d75dddc0ad8972d454d3681174c262df4e82
SUCCESS checkout https://github.com/enconvert/swift-sdk.git at 0.1.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/enconvert/swift-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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:253aad7f5b11d25cf9eaef34120b94cd8a325782929c57fb304a7711494a3f9a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling Enconvert Client.swift
[4/13] Compiling Enconvert EnconvertV2.swift
[5/13] Compiling Enconvert Errors.swift
[6/13] Compiling Enconvert Formats.swift
[7/14] Compiling Enconvert Version.swift
[8/14] Compiling Enconvert Transport.swift
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:21:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |     let timeout: TimeInterval
 20 |     let userAgent: String
 21 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 22 |
 23 |     init(apiKey: String, baseURL: String, timeout: TimeInterval, userAgent: String) {
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/Enconvert/Transport.swift:28:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 26 |         self.timeout = timeout
 27 |         self.userAgent = userAgent
 28 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 29 |         configuration.timeoutIntervalForRequest = timeout
 30 |         configuration.timeoutIntervalForResource = timeout
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:31:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 29 |         configuration.timeoutIntervalForRequest = timeout
 30 |         configuration.timeoutIntervalForResource = timeout
 31 |         self.session = URLSession(configuration: configuration)
    |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 32 |     }
 33 |
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:57:23: error: cannot find 'URLRequest' in scope
 55 |             throw EnconvertError.invalidArgument("Invalid URL: \(baseURL)\(path)")
 56 |         }
 57 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 58 |         request.httpMethod = method
 59 |         request.setValue(apiKey, forHTTPHeaderField: "X-API-Key")
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:67:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 65 |         }
 66 |
 67 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 68 |         let httpResponse = response as? HTTPURLResponse
 69 |         var headers: [String: String] = [:]
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:70:60: error: pattern cannot match values of type '(key: AnyHashable, value: Any)'
 68 |         let httpResponse = response as? HTTPURLResponse
 69 |         var headers: [String: String] = [:]
 70 |         for (name, value) in httpResponse?.allHeaderFields ?? [:] {
    |                                                            `- error: pattern cannot match values of type '(key: AnyHashable, value: Any)'
 71 |             if let name = name as? String, let value = value as? String {
 72 |                 headers[name.lowercased()] = value
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:88:23: error: cannot find 'URLRequest' in scope
 86 |             throw EnconvertError.invalidArgument("Invalid URL: \(baseURL)\(path)")
 87 |         }
 88 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 89 |         request.httpMethod = method
 90 |         request.setValue(apiKey, forHTTPHeaderField: "X-API-Key")
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:95:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 93 |         request.httpBody = body
 94 |
 95 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 96 |         let statusCode = (response as? HTTPURLResponse)?.statusCode ?? 0
 97 |         return (data, statusCode)
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:96:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 94 |
 95 |         let (data, response) = try await session.data(for: request)
 96 |         let statusCode = (response as? HTTPURLResponse)?.statusCode ?? 0
    |                                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 97 |         return (data, statusCode)
 98 |     }
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:129:23: error: cannot find 'URLRequest' in scope
127 |             throw EnconvertError.invalidArgument("Invalid download URL: \(url)")
128 |         }
129 |         let request = URLRequest(url: downloadURL)
    |                       `- error: cannot find 'URLRequest' in scope
130 |         let (data, response) = try await session.data(for: request)
131 |         let statusCode = (response as? HTTPURLResponse)?.statusCode ?? 0
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:130:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
128 |         }
129 |         let request = URLRequest(url: downloadURL)
130 |         let (data, response) = try await session.data(for: request)
    |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
131 |         let statusCode = (response as? HTTPURLResponse)?.statusCode ?? 0
132 |         guard (200...299).contains(statusCode) else {
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:131:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
129 |         let request = URLRequest(url: downloadURL)
130 |         let (data, response) = try await session.data(for: request)
131 |         let statusCode = (response as? HTTPURLResponse)?.statusCode ?? 0
    |                                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
132 |         guard (200...299).contains(statusCode) else {
133 |             throw EnconvertError.api(statusCode: statusCode, message: "Failed to download: HTTP \(statusCode)")
[9/14] Compiling Enconvert V2Types.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/14] Compiling Enconvert Internal.swift
[11/14] Compiling Enconvert JSONValue.swift
[12/14] Compiling Enconvert V2Types+Extraction.swift
[13/14] Compiling Enconvert Types.swift
[14/14] Emitting module Enconvert
/host/spi-builder-workspace/Sources/Enconvert/Transport.swift:21:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |     let timeout: TimeInterval
 20 |     let userAgent: String
 21 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 22 |
 23 |     init(apiKey: String, baseURL: String, timeout: TimeInterval, userAgent: String) {
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
BUILD FAILURE 6.3 wasm