The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Interceptor, reference main (b7cd74), with Swift 6.3 for Wasm on 15 Apr 2026 16:12:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bfernandesbfs/Interceptor.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/bfernandesbfs/Interceptor
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b7cd747 Update README.md
Cloned https://github.com/bfernandesbfs/Interceptor.git
Revision (git rev-parse @):
b7cd747d0ba718a0ba76934aa2d2a4038ecb2a01
SUCCESS checkout https://github.com/bfernandesbfs/Interceptor.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/bfernandesbfs/Interceptor.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/bfernandesbfs/Responder.git
[1/72] Fetching responder
Fetched https://github.com/bfernandesbfs/Responder.git from cache (0.25s)
Computing version for https://github.com/bfernandesbfs/Responder.git
Computed https://github.com/bfernandesbfs/Responder.git at 0.0.1 (0.88s)
Creating working copy for https://github.com/bfernandesbfs/Responder.git
Working copy of https://github.com/bfernandesbfs/Responder.git resolved at 0.0.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/6] Compiling Responder Event.swift
[5/6] Compiling Responder Responder.swift
[6/6] Emitting module Responder
[8/12] Compiling Interceptor ResponseInterceptor.swift
/host/spi-builder-workspace/Sources/Interceptor/Public/ResponseInterceptor.swift:4:45: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
2 |
3 | public protocol ResponseInterceptor {
4 |     func intercept(_ data: Data?, response: URLResponse?, error: Error?)
  |                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 | }
6 |
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/12] Emitting module Interceptor
/host/spi-builder-workspace/Sources/Interceptor/Public/Interceptor.swift:4:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 2 | import Responder
 3 |
 4 | public typealias SessionComppletion = (Data?, URLResponse?, Error?) -> Void
   |                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 | public class Interceptor {
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/Interceptor/Public/RequestInterceptor.swift:4:37: error: cannot find type 'URLRequest' in scope
2 |
3 | public protocol RequestInterceptor {
4 |     func intercept(_ request: inout URLRequest) throws
  |                                     `- error: cannot find type 'URLRequest' in scope
5 | }
6 |
/host/spi-builder-workspace/Sources/Interceptor/Public/Interceptor.swift:28:47: error: cannot find type 'URLRequest' in scope
26 |     }
27 |
28 |     public func applyRequest(_ request: inout URLRequest) throws {
   |                                               `- error: cannot find type 'URLRequest' in scope
29 |         try self.test { (interceptor: InterceptorObject<RequestInterceptor>) in
30 |             try interceptor.wrapperValue.intercept(&request)
/host/spi-builder-workspace/Sources/Interceptor/Public/ResponseInterceptor.swift:4:45: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
2 |
3 | public protocol ResponseInterceptor {
4 |     func intercept(_ data: Data?, response: URLResponse?, error: Error?)
  |                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 | }
6 |
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
[10/12] Compiling Interceptor RequestInterceptor.swift
/host/spi-builder-workspace/Sources/Interceptor/Public/RequestInterceptor.swift:4:37: error: cannot find type 'URLRequest' in scope
2 |
3 | public protocol RequestInterceptor {
4 |     func intercept(_ request: inout URLRequest) throws
  |                                     `- error: cannot find type 'URLRequest' in scope
5 | }
6 |
[11/12] Compiling Interceptor InterceptorObject.swift
[12/12] Compiling Interceptor Interceptor.swift
/host/spi-builder-workspace/Sources/Interceptor/Public/Interceptor.swift:4:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 2 | import Responder
 3 |
 4 | public typealias SessionComppletion = (Data?, URLResponse?, Error?) -> Void
   |                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |
 6 | public class Interceptor {
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/Interceptor/Public/RequestInterceptor.swift:4:37: error: cannot find type 'URLRequest' in scope
2 |
3 | public protocol RequestInterceptor {
4 |     func intercept(_ request: inout URLRequest) throws
  |                                     `- error: cannot find type 'URLRequest' in scope
5 | }
6 |
/host/spi-builder-workspace/Sources/Interceptor/Public/Interceptor.swift:28:47: error: cannot find type 'URLRequest' in scope
26 |     }
27 |
28 |     public func applyRequest(_ request: inout URLRequest) throws {
   |                                               `- error: cannot find type 'URLRequest' in scope
29 |         try self.test { (interceptor: InterceptorObject<RequestInterceptor>) in
30 |             try interceptor.wrapperValue.intercept(&request)
BUILD FAILURE 6.3 wasm