Build Information
Failed to build SwiftEureka, reference v0.1.9-alpha (a375b9), with Swift 6.3 for Wasm on 13 Apr 2026 17:00:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/putridparrot/SwiftEureka.git
Reference: v0.1.9-alpha
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/putridparrot/SwiftEureka
* tag v0.1.9-alpha -> FETCH_HEAD
HEAD is now at a375b9f Disable all test code for non-Linux
Cloned https://github.com/putridparrot/SwiftEureka.git
Revision (git rev-parse @):
a375b9f88789d8ea4b21115bac79124f0762a722
SUCCESS checkout https://github.com/putridparrot/SwiftEureka.git at v0.1.9-alpha
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/putridparrot/SwiftEureka.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-log.git
[1/6552] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.83s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (1.68s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling Logging LogEvent.swift
[5/9] Compiling Logging LogHandler.swift
[6/9] Compiling Logging MetadataProvider.swift
[7/9] Emitting module Logging
[8/9] Compiling Logging Locks.swift
[9/9] Compiling Logging Logging.swift
[11/21] Compiling SwiftEureka Port.swift
[12/22] Compiling SwiftEureka InstanceStatus.swift
[13/22] Compiling SwiftEureka LeaseInfo.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/22] Emitting module SwiftEureka
/host/spi-builder-workspace/Sources/SwiftEureka/EurekaClient.swift:39:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 | private let rootUrl = "eureka"
38 |
39 | private let session: URLSession;
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | private let baseUrl: URL
41 | private let logger: Logger?
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/SwiftEureka/EurekaClient.swift:46:63: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | ///
45 | /// - Parameter baseUrl: The base URL, including the port of the server
46 | public init(baseUrl: URL, logger: Logger? = nil, session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | self.baseUrl = baseUrl
48 | self.logger = logger
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/SwiftEureka/EurekaClient.swift:46:77: error: value of type '_' expected to be instance of class or class-constrained type
44 | ///
45 | /// - Parameter baseUrl: The base URL, including the port of the server
46 | public init(baseUrl: URL, logger: Logger? = nil, session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
47 | self.baseUrl = baseUrl
48 | self.logger = logger
/host/spi-builder-workspace/Sources/SwiftEureka/EurekaClient.swift:46:77: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 | ///
45 | /// - Parameter baseUrl: The base URL, including the port of the server
46 | public init(baseUrl: URL, logger: Logger? = nil, session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 | self.baseUrl = baseUrl
48 | self.logger = logger
/host/spi-builder-workspace/Sources/SwiftEureka/EurekaClient.swift:255:41: error: cannot find type 'URLRequest' in scope
253 | }
254 |
255 | private func dataTask(with request: URLRequest) async -> Result<Data?, Error> {
| `- error: cannot find type 'URLRequest' in scope
256 | await withCheckedContinuation { continuation in
257 | logger?.debug("Request: \(request)")
[15/22] Compiling SwiftEureka ActionType.swift
[16/22] Compiling SwiftEureka BoolFromString.swift
[17/22] Compiling SwiftEureka DataCenterInfo.swift
[18/22] Compiling SwiftEureka DataCenterName.swift
[19/22] Compiling SwiftEureka String+Dictionary.swift
[20/22] Compiling SwiftEureka InstanceInfo.swift
[21/22] Compiling SwiftEureka EurekaClient.swift
/host/spi-builder-workspace/Sources/SwiftEureka/EurekaClient.swift:39:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 | private let rootUrl = "eureka"
38 |
39 | private let session: URLSession;
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | private let baseUrl: URL
41 | private let logger: Logger?
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/SwiftEureka/EurekaClient.swift:46:63: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | ///
45 | /// - Parameter baseUrl: The base URL, including the port of the server
46 | public init(baseUrl: URL, logger: Logger? = nil, session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | self.baseUrl = baseUrl
48 | self.logger = logger
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/SwiftEureka/EurekaClient.swift:46:77: error: value of type '_' expected to be instance of class or class-constrained type
44 | ///
45 | /// - Parameter baseUrl: The base URL, including the port of the server
46 | public init(baseUrl: URL, logger: Logger? = nil, session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
47 | self.baseUrl = baseUrl
48 | self.logger = logger
/host/spi-builder-workspace/Sources/SwiftEureka/EurekaClient.swift:46:77: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 | ///
45 | /// - Parameter baseUrl: The base URL, including the port of the server
46 | public init(baseUrl: URL, logger: Logger? = nil, session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 | self.baseUrl = baseUrl
48 | self.logger = logger
/host/spi-builder-workspace/Sources/SwiftEureka/EurekaClient.swift:255:41: error: cannot find type 'URLRequest' in scope
253 | }
254 |
255 | private func dataTask(with request: URLRequest) async -> Result<Data?, Error> {
| `- error: cannot find type 'URLRequest' in scope
256 | await withCheckedContinuation { continuation in
257 | logger?.debug("Request: \(request)")
/host/spi-builder-workspace/Sources/SwiftEureka/EurekaClient.swift:242:23: error: cannot find 'URLRequest' in scope
240 |
241 | private func dataTask(url: URL, httpMethod: String, httpBody: Data?) async -> Result<Data?, Error> {
242 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
243 | request.httpMethod = httpMethod
244 | request.timeoutInterval = 20
/host/spi-builder-workspace/Sources/SwiftEureka/EurekaClient.swift:252:37: error: extra argument 'with' in call
250 | }
251 |
252 | return await dataTask(with: request)
| `- error: extra argument 'with' in call
253 | }
254 |
/host/spi-builder-workspace/Sources/SwiftEureka/EurekaClient.swift:252:30: error: missing arguments for parameters 'url', 'httpMethod', 'httpBody' in call
239 | }
240 |
241 | private func dataTask(url: URL, httpMethod: String, httpBody: Data?) async -> Result<Data?, Error> {
| `- note: 'dataTask(url:httpMethod:httpBody:)' declared here
242 | var request = URLRequest(url: url)
243 | request.httpMethod = httpMethod
:
250 | }
251 |
252 | return await dataTask(with: request)
| `- error: missing arguments for parameters 'url', 'httpMethod', 'httpBody' in call
253 | }
254 |
[22/22] Compiling SwiftEureka InstanceInfo+Json.swift
/host/spi-builder-workspace/Sources/SwiftEureka/EurekaClient.swift:39:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 | private let rootUrl = "eureka"
38 |
39 | private let session: URLSession;
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | private let baseUrl: URL
41 | private let logger: Logger?
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/SwiftEureka/EurekaClient.swift:46:63: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | ///
45 | /// - Parameter baseUrl: The base URL, including the port of the server
46 | public init(baseUrl: URL, logger: Logger? = nil, session: URLSession = .shared) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | self.baseUrl = baseUrl
48 | self.logger = logger
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/SwiftEureka/EurekaClient.swift:46:77: error: value of type '_' expected to be instance of class or class-constrained type
44 | ///
45 | /// - Parameter baseUrl: The base URL, including the port of the server
46 | public init(baseUrl: URL, logger: Logger? = nil, session: URLSession = .shared) {
| `- error: value of type '_' expected to be instance of class or class-constrained type
47 | self.baseUrl = baseUrl
48 | self.logger = logger
/host/spi-builder-workspace/Sources/SwiftEureka/EurekaClient.swift:46:77: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 | ///
45 | /// - Parameter baseUrl: The base URL, including the port of the server
46 | public init(baseUrl: URL, logger: Logger? = nil, session: URLSession = .shared) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 | self.baseUrl = baseUrl
48 | self.logger = logger
/host/spi-builder-workspace/Sources/SwiftEureka/EurekaClient.swift:255:41: error: cannot find type 'URLRequest' in scope
253 | }
254 |
255 | private func dataTask(with request: URLRequest) async -> Result<Data?, Error> {
| `- error: cannot find type 'URLRequest' in scope
256 | await withCheckedContinuation { continuation in
257 | logger?.debug("Request: \(request)")
/host/spi-builder-workspace/Sources/SwiftEureka/EurekaClient.swift:242:23: error: cannot find 'URLRequest' in scope
240 |
241 | private func dataTask(url: URL, httpMethod: String, httpBody: Data?) async -> Result<Data?, Error> {
242 | var request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
243 | request.httpMethod = httpMethod
244 | request.timeoutInterval = 20
/host/spi-builder-workspace/Sources/SwiftEureka/EurekaClient.swift:252:37: error: extra argument 'with' in call
250 | }
251 |
252 | return await dataTask(with: request)
| `- error: extra argument 'with' in call
253 | }
254 |
/host/spi-builder-workspace/Sources/SwiftEureka/EurekaClient.swift:252:30: error: missing arguments for parameters 'url', 'httpMethod', 'httpBody' in call
239 | }
240 |
241 | private func dataTask(url: URL, httpMethod: String, httpBody: Data?) async -> Result<Data?, Error> {
| `- note: 'dataTask(url:httpMethod:httpBody:)' declared here
242 | var request = URLRequest(url: url)
243 | request.httpMethod = httpMethod
:
250 | }
251 |
252 | return await dataTask(with: request)
| `- error: missing arguments for parameters 'url', 'httpMethod', 'httpBody' in call
253 | }
254 |
BUILD FAILURE 6.3 wasm