The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CoworkingView, reference 0.1.0 (aa300a), with Swift 6.1 for Wasm on 2 Nov 2026 16:39:09 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/coworkingview/coworkingview-swift.git
Reference: 0.1.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/coworkingview/coworkingview-swift
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at aa300af CoworkingView Swift client 0.1.0
Cloned https://github.com/coworkingview/coworkingview-swift.git
Revision (git rev-parse @):
aa300af7141486aa377a73053f31b9c05b2b6ae4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/coworkingview/coworkingview-swift.git at 0.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/coworkingview/coworkingview-swift.git
https://github.com/coworkingview/coworkingview-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.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 saguaro1/spi-images
Digest: sha256:f257c9b8465670613eb336f6def351d681b1d395aebdb231a45bac980c1f9d3c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling CoworkingView Validate.swift
[4/10] Compiling CoworkingView Parse.swift
[5/10] Compiling CoworkingView Models.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/10] Compiling CoworkingView Errors.swift
[7/10] Compiling CoworkingView Client.swift
[8/10] Compiling CoworkingView JSON.swift
[9/10] Emitting module CoworkingView
/host/spi-builder-workspace/Sources/CoworkingView/HTTP.swift:39:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 37 |
 38 | final class URLSessionTransport: HTTPTransport, @unchecked Sendable {
 39 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |
 41 |     init(timeout: TimeInterval) {
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
[10/10] Compiling CoworkingView HTTP.swift
/host/spi-builder-workspace/Sources/CoworkingView/HTTP.swift:39:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 37 |
 38 | final class URLSessionTransport: HTTPTransport, @unchecked Sendable {
 39 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |
 41 |     init(timeout: TimeInterval) {
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/CoworkingView/HTTP.swift:42:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
 40 |
 41 |     init(timeout: TimeInterval) {
 42 |         let configuration = URLSessionConfiguration.ephemeral
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
 43 |         configuration.timeoutIntervalForRequest = timeout
 44 |         configuration.timeoutIntervalForResource = timeout
/host/spi-builder-workspace/Sources/CoworkingView/HTTP.swift:45:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 43 |         configuration.timeoutIntervalForRequest = timeout
 44 |         configuration.timeoutIntervalForResource = timeout
 45 |         session = URLSession(configuration: configuration)
    |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 46 |     }
 47 |
/host/spi-builder-workspace/Sources/CoworkingView/HTTP.swift:49:23: error: cannot find 'URLRequest' in scope
 47 |
 48 |     func get(url: URL, headers: [String: String], timeout: TimeInterval) async throws -> HTTPResponse {
 49 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 50 |         request.httpMethod = "GET"
 51 |         request.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/CoworkingView/HTTP.swift:57:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 55 |         let session = self.session
 56 |         return try await withCheckedThrowingContinuation { continuation in
 57 |             let task = session.dataTask(with: request) { data, response, error in
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 58 |                 if let error {
 59 |                     continuation.resume(throwing: error)
/host/spi-builder-workspace/Sources/CoworkingView/HTTP.swift:67:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 65 |                 }
 66 |                 var headerMap: [String: String] = [:]
 67 |                 for (key, value) in http.allHeaderFields {
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 68 |                     headerMap[String(describing: key)] = String(describing: value)
 69 |                 }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:f257c9b8465670613eb336f6def351d681b1d395aebdb231a45bac980c1f9d3c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling CoworkingView HTTP.swift
/host/spi-builder-workspace/Sources/CoworkingView/HTTP.swift:39:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 37 |
 38 | final class URLSessionTransport: HTTPTransport, @unchecked Sendable {
 39 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |
 41 |     init(timeout: TimeInterval) {
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/CoworkingView/HTTP.swift:42:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
 40 |
 41 |     init(timeout: TimeInterval) {
 42 |         let configuration = URLSessionConfiguration.ephemeral
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
 43 |         configuration.timeoutIntervalForRequest = timeout
 44 |         configuration.timeoutIntervalForResource = timeout
/host/spi-builder-workspace/Sources/CoworkingView/HTTP.swift:45:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 43 |         configuration.timeoutIntervalForRequest = timeout
 44 |         configuration.timeoutIntervalForResource = timeout
 45 |         session = URLSession(configuration: configuration)
    |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 46 |     }
 47 |
/host/spi-builder-workspace/Sources/CoworkingView/HTTP.swift:49:23: error: cannot find 'URLRequest' in scope
 47 |
 48 |     func get(url: URL, headers: [String: String], timeout: TimeInterval) async throws -> HTTPResponse {
 49 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 50 |         request.httpMethod = "GET"
 51 |         request.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/CoworkingView/HTTP.swift:57:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 55 |         let session = self.session
 56 |         return try await withCheckedThrowingContinuation { continuation in
 57 |             let task = session.dataTask(with: request) { data, response, error in
    |                                `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 58 |                 if let error {
 59 |                     continuation.resume(throwing: error)
/host/spi-builder-workspace/Sources/CoworkingView/HTTP.swift:67:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 65 |                 }
 66 |                 var headerMap: [String: String] = [:]
 67 |                 for (key, value) in http.allHeaderFields {
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 68 |                     headerMap[String(describing: key)] = String(describing: value)
 69 |                 }
[3/9] Compiling CoworkingView Validate.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/9] Compiling CoworkingView Client.swift
[5/9] Emitting module CoworkingView
/host/spi-builder-workspace/Sources/CoworkingView/HTTP.swift:39:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 37 |
 38 | final class URLSessionTransport: HTTPTransport, @unchecked Sendable {
 39 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |
 41 |     init(timeout: TimeInterval) {
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
[6/9] Compiling CoworkingView Parse.swift
[7/9] Compiling CoworkingView Models.swift
[8/9] Compiling CoworkingView Errors.swift
[9/9] Compiling CoworkingView JSON.swift
BUILD FAILURE 6.1 wasm