The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NRouter, reference 3.0.0 (5b62e4), with Swift 6.1 for Linux on 8 Nov 2026 10:08:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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:linux-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nRouterAI/nrouter-sdk.git
Reference: 3.0.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/nRouterAI/nrouter-sdk
 * tag               3.0.0      -> FETCH_HEAD
HEAD is now at 5b62e4b feat(sdks): error envelopes, log redaction, trace routing and session context (iterations 9-10)
Cloned https://github.com/nRouterAI/nrouter-sdk.git
Revision (git rev-parse @):
5b62e4b978d59815b853ee34c8b6304007be5502
SUCCESS checkout https://github.com/nRouterAI/nrouter-sdk.git at 3.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/nRouterAI/nrouter-sdk.git
https://github.com/nRouterAI/nrouter-sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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:linux-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
linux-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:113d0504da60d143630935560f931e78b3f88a328c455129be4c663c41c49224
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling NRouter Diagnostics.swift
[4/11] Compiling NRouter Prompts.swift
[5/11] Compiling NRouter ResponseMeta.swift
/host/spi-builder-workspace/sdks/swift/Sources/NRouter/ResponseMeta.swift:89:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |
 88 |     /// Parse from an `HTTPURLResponse`.
 89 |     public init(response: HTTPURLResponse) {
    |                           `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |         self.init { name in
 91 |             // Header names are case-insensitive on the wire; ask the way
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/sdks/swift/Sources/NRouter/ResponseMeta.swift:95:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
 93 |             // platforms where the case-insensitive lookup is unavailable.
 94 |             if #available(macOS 13.0, iOS 16.0, tvOS 16.0, watchOS 9.0, *) {
 95 |                 if let v = response.value(forHTTPHeaderField: name) { return v }
    |                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
 96 |             }
 97 |             for (key, value) in response.allHeaderFields {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/11] Compiling NRouter Memory.swift
[7/11] Compiling NRouter NRouterError.swift
[8/11] Compiling NRouter Media.swift
[9/11] Emitting module NRouter
/host/spi-builder-workspace/sdks/swift/Sources/NRouter/ResponseMeta.swift:89:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |
 88 |     /// Parse from an `HTTPURLResponse`.
 89 |     public init(response: HTTPURLResponse) {
    |                           `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |         self.init { name in
 91 |             // Header names are case-insensitive on the wire; ask the way
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[10/11] Compiling NRouter NRouter.swift
/host/spi-builder-workspace/sdks/swift/Sources/NRouter/NRouter.swift:515:31: error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
513 |         NRouter.applyDeadline(&request, from: streamingSession)
514 |
515 |         let bytes: URLSession.AsyncBytes
    |                               `- error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
516 |         let response: URLResponse
517 |         do {
FoundationNetworking.URLSession:1:12: note: 'URLSession' declared here
 1 | open class URLSession : NSObject, @unchecked Sendable {
   |            `- note: 'URLSession' declared here
 2 |     open class var shared: URLSession { get }
 3 |     public init(configuration: URLSessionConfiguration)
/host/spi-builder-workspace/sdks/swift/Sources/NRouter/NRouter.swift:518:60: error: value of type 'URLSession' has no member 'bytes'
516 |         let response: URLResponse
517 |         do {
518 |             (bytes, response) = try await streamingSession.bytes(for: request)
    |                                                            `- error: value of type 'URLSession' has no member 'bytes'
519 |         } catch is CancellationError {
520 |             throw CancellationError()
[11/11] Compiling NRouter Sampling.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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:linux-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:113d0504da60d143630935560f931e78b3f88a328c455129be4c663c41c49224
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling NRouter ResponseMeta.swift
/host/spi-builder-workspace/sdks/swift/Sources/NRouter/ResponseMeta.swift:89:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |
 88 |     /// Parse from an `HTTPURLResponse`.
 89 |     public init(response: HTTPURLResponse) {
    |                           `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |         self.init { name in
 91 |             // Header names are case-insensitive on the wire; ask the way
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/sdks/swift/Sources/NRouter/ResponseMeta.swift:95:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
 93 |             // platforms where the case-insensitive lookup is unavailable.
 94 |             if #available(macOS 13.0, iOS 16.0, tvOS 16.0, watchOS 9.0, *) {
 95 |                 if let v = response.value(forHTTPHeaderField: name) { return v }
    |                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'value'
 96 |             }
 97 |             for (key, value) in response.allHeaderFields {
[3/10] Compiling NRouter Prompts.swift
[4/10] Compiling NRouter NRouter.swift
/host/spi-builder-workspace/sdks/swift/Sources/NRouter/NRouter.swift:515:31: error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
513 |         NRouter.applyDeadline(&request, from: streamingSession)
514 |
515 |         let bytes: URLSession.AsyncBytes
    |                               `- error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
516 |         let response: URLResponse
517 |         do {
FoundationNetworking.URLSession:1:12: note: 'URLSession' declared here
 1 | open class URLSession : NSObject, @unchecked Sendable {
   |            `- note: 'URLSession' declared here
 2 |     open class var shared: URLSession { get }
 3 |     public init(configuration: URLSessionConfiguration)
/host/spi-builder-workspace/sdks/swift/Sources/NRouter/NRouter.swift:518:60: error: value of type 'URLSession' has no member 'bytes'
516 |         let response: URLResponse
517 |         do {
518 |             (bytes, response) = try await streamingSession.bytes(for: request)
    |                                                            `- error: value of type 'URLSession' has no member 'bytes'
519 |         } catch is CancellationError {
520 |             throw CancellationError()
[5/10] Compiling NRouter Sampling.swift
[6/10] Compiling NRouter Memory.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Compiling NRouter NRouterError.swift
[8/10] Compiling NRouter Media.swift
[9/10] Compiling NRouter Diagnostics.swift
[10/10] Emitting module NRouter
/host/spi-builder-workspace/sdks/swift/Sources/NRouter/ResponseMeta.swift:89:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |
 88 |     /// Parse from an `HTTPURLResponse`.
 89 |     public init(response: HTTPURLResponse) {
    |                           `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |         self.init { name in
 91 |             // Header names are case-insensitive on the wire; ask the way
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
BUILD FAILURE 6.1 linux