Build Information
Failed to build Interceptor, reference 0.0.1 (362b5a), with Swift 6.1 for Wasm on 30 May 2025 06:39:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bfernandesbfs/Interceptor.git
Reference: 0.0.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/bfernandesbfs/Interceptor
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at 362b5a9 Merge pull request #1 from bfernandesbfs/ci
Cloned https://github.com/bfernandesbfs/Interceptor.git
Revision (git rev-parse @):
362b5a9db18ea4ca15f4cd51c3682ccff51fdeb7
SUCCESS checkout https://github.com/bfernandesbfs/Interceptor.git at 0.0.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/bfernandesbfs/Interceptor.git
https://github.com/bfernandesbfs/Interceptor.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "responder",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/bfernandesbfs/Responder.git"
}
],
"manifest_display_name" : "Interceptor",
"name" : "Interceptor",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Interceptor",
"targets" : [
"Interceptor"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "InterceptorTests",
"module_type" : "SwiftTarget",
"name" : "InterceptorTests",
"path" : "Tests/InterceptorTests",
"sources" : [
"InterceptorChainTest.swift",
"InterceptorRequestTests.swift",
"InterceptorResponseTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Interceptor"
],
"type" : "test"
},
{
"c99name" : "Interceptor",
"module_type" : "SwiftTarget",
"name" : "Interceptor",
"path" : "Sources/Interceptor",
"product_dependencies" : [
"Responder"
],
"product_memberships" : [
"Interceptor"
],
"sources" : [
"Private/InterceptorObject.swift",
"Public/Interceptor.swift",
"Public/RequestInterceptor.swift",
"Public/ResponseInterceptor.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/bfernandesbfs/Responder.git
[1/72] Fetching responder
Fetched https://github.com/bfernandesbfs/Responder.git from cache (0.67s)
Computing version for https://github.com/bfernandesbfs/Responder.git
Computed https://github.com/bfernandesbfs/Responder.git at 0.0.1 (1.33s)
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] Emitting module Responder
[5/6] Compiling Responder Event.swift
[6/6] Compiling Responder Responder.swift
[8/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 |
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 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)
[11/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
[12/12] Compiling Interceptor InterceptorObject.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/4] Compiling Responder Event.swift
[3/4] Compiling Responder Responder.swift
[4/4] Emitting module Responder
[6/10] 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 |
[7/10] 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)
[8/10] Compiling Interceptor InterceptorObject.swift
[9/10] 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/10] 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.1 wasm