Build Information
Failed to build openwhisk-swift-sdk, reference 0.2.0 (7c0d30), with Swift 6.4 for Linux on 16 Sep 2026 21:43:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dokun1/openwhisk-swift-sdk.git
Reference: 0.2.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/dokun1/openwhisk-swift-sdk
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at 7c0d30e Updated readme
Cloned https://github.com/dokun1/openwhisk-swift-sdk.git
Revision (git rev-parse @):
7c0d30eb6e66e16652d099810d1d73acac335820
SUCCESS checkout https://github.com/dokun1/openwhisk-swift-sdk.git at 0.2.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/dokun1/openwhisk-swift-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/IBM-Swift/LoggerAPI.git
Fetching https://github.com/IBM-Swift/SwiftyRequest.git
Fetching https://github.com/IBM-Swift/CircuitBreaker.git
[1/784] Fetching loggerapi
[785/2517] Fetching loggerapi, circuitbreaker
[2518/4612] Fetching loggerapi, circuitbreaker, swiftyrequest
Fetched https://github.com/IBM-Swift/CircuitBreaker.git (0.55s)
[910/2879] Fetching loggerapi, swiftyrequest
Fetched https://github.com/IBM-Swift/LoggerAPI.git (0.62s)
Fetched https://github.com/IBM-Swift/SwiftyRequest.git (0.62s)
Computing version for https://github.com/IBM-Swift/SwiftyRequest.git
Computed https://github.com/IBM-Swift/SwiftyRequest.git at 1.1.3 (0.81s)
Computing version for https://github.com/IBM-Swift/CircuitBreaker.git
Computed https://github.com/IBM-Swift/CircuitBreaker.git at 5.1.0 (1.05s)
Computing version for https://github.com/IBM-Swift/LoggerAPI.git
Computed https://github.com/IBM-Swift/LoggerAPI.git at 1.9.200 (0.19s)
Fetching https://github.com/apple/swift-log.git
[1/8091] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.72s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.93s)
Creating working copy for https://github.com/IBM-Swift/SwiftyRequest.git
Working copy of https://github.com/IBM-Swift/SwiftyRequest.git resolved at 1.1.3
Creating working copy for https://github.com/IBM-Swift/CircuitBreaker.git
Working copy of https://github.com/IBM-Swift/CircuitBreaker.git resolved at 5.1.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/IBM-Swift/LoggerAPI.git
Working copy of https://github.com/IBM-Swift/LoggerAPI.git resolved at 1.9.200
warning: 'circuitbreaker': Conflicting identity for loggerapi: dependency 'github.com/kitura/loggerapi' and dependency 'github.com/ibm-swift/loggerapi' both point to the same package identity 'loggerapi'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/ibm-swift/circuitbreaker->github.com/kitura/loggerapi (B) /host/spi-builder-workspace->github.com/ibm-swift/loggerapi. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
warning: 'circuitbreaker': Conflicting identity for loggerapi: dependency 'github.com/kitura/loggerapi' and dependency 'github.com/ibm-swift/loggerapi' both point to the same package identity 'loggerapi'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/ibm-swift/circuitbreaker->github.com/kitura/loggerapi (B) /host/spi-builder-workspace->github.com/ibm-swift/loggerapi. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
Building for debugging...
[Provisioning 2 / 11]
[Pre-planning 1 / 186]
[52 / 88] Logging
[60 / 91] Logging
[63 / 92] Logging
[63 / 92] LoggerAPI
[77 / 102] CircuitBreaker
[79 / 102] CircuitBreaker
[92 / 113] SwiftyRequest
[93 / 114] SwiftyRequest
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestToken.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile RestToken.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:716:25: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m714 |[0;0m
[0;36m715 |[0;0m /// The rest request
[0;36m716 |[0;0m public let request: [4;39mURLRequest[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m717 |[0;0m
[0;36m718 |[0;0m /// The response to the request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:40:26: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m38 |[0;0m
[0;36m39 |[0;0m // The HTTP Request
[0;36m40 |[0;0m private var request: [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m41 |[0;0m
[0;36m42 |[0;0m /// `CircuitBreaker` instance for this `RestRequest`
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/CodableExtensions.swift /host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/HTTPMethod.swift /host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/JSON.swift /host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/JSONWrapper.swift /host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/MultipartFormData.swift /host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift -primary-file /host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestToken.swift /host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestUtilities.swift /host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/StringExtensions.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyRequest.build/Debug-linux-x86_64/SwiftyRequest-t.build/Objects-normal/x86_64/RestToken.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyRequest.build/Debug-linux-x86_64/SwiftyRequest-t.build/Objects-normal/x86_64/RestToken.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyRequest.build/Debug-linux-x86_64/SwiftyRequest-t.build/Objects-normal/x86_64/RestToken.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyRequest.build/Debug-linux-x86_64/SwiftyRequest-t.build/Objects-normal/x86_64/RestToken.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyRequest.build/Debug-linux-x86_64/SwiftyRequest-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyRequest.build/Debug-linux-x86_64/SwiftyRequest-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyRequest.build/Debug-linux-x86_64/SwiftyRequest-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftyRequest -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyRequest.build/Debug-linux-x86_64/SwiftyRequest-t.build/Objects-normal/x86_64/SwiftyRequest_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyRequest.build/Debug-linux-x86_64/SwiftyRequest-t.build/Objects-normal/x86_64/RestToken.o -index-unit-output-path /SwiftyRequest.build/Debug-linux-x86_64/SwiftyRequest-t.build/Objects-normal/x86_64/RestToken.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:29:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m27 |[0;0m
[0;36m28 |[0;0m /// A default `URLSession` instance
[0;36m29 |[0;0m private var session: [4;39mURLSession[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m var session = URLSession(configuration: URLSessionConfiguration.default)
[0;36m31 |[0;0m if isSecure && isSelfSigned {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:40:26: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m38 |[0;0m
[0;36m39 |[0;0m // The HTTP Request
[0;36m40 |[0;0m private var request: [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m41 |[0;0m
[0;36m42 |[0;0m /// `CircuitBreaker` instance for this `RestRequest`
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:43:55: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m41 |[0;0m
[0;36m42 |[0;0m /// `CircuitBreaker` instance for this `RestRequest`
[0;36m43 |[0;0m public var circuitBreaker: CircuitBreaker<(Data?, [4;39mHTTPURLResponse[0;0m?, Error?) -> Void, String>?
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m44 |[0;0m
[0;36m45 |[0;0m /// Parameters for a `CircuitBreaker` instance.
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:205:63: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m203 |[0;0m ///
[0;36m204 |[0;0m /// - Parameter completionHandler: Callback used on completion of operation
[0;36m205 |[0;0m public func response(completionHandler: @escaping (Data?, [4;39mHTTPURLResponse[0;0m?, Error?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m206 |[0;0m if let breaker = circuitBreaker {
[0;36m207 |[0;0m breaker.run(commandArgs: completionHandler, fallbackArgs: "Circuit is open")
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:277:28: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m275 |[0;0m /// - completionHandler: Callback used on completion of operation
[0;36m276 |[0;0m public func responseObject<T: JSONDecodable>(
[0;36m277 |[0;0m responseToError: (([4;39mHTTPURLResponse[0;0m?, Data?) -> Error?)? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m278 |[0;0m path: [JSONPathType]? = nil,
[0;36m279 |[0;0m templateParams: [String: String]? = nil,
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:355:28: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m353 |[0;0m /// - completionHandler: Callback used on completion of operation
[0;36m354 |[0;0m public func responseObject<T: Decodable>(
[0;36m355 |[0;0m responseToError: (([4;39mHTTPURLResponse[0;0m?, Data?) -> Error?)? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m356 |[0;0m templateParams: [String: String]? = nil,
[0;36m357 |[0;0m queryItems: [URLQueryItem]? = nil,
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:410:28: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m408 |[0;0m /// - completionHandler: Callback used on completion of operation
[0;36m409 |[0;0m public func responseArray<T: JSONDecodable>(
[0;36m410 |[0;0m responseToError: (([4;39mHTTPURLResponse[0;0m?, Data?) -> Error?)? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m411 |[0;0m path: [JSONPathType]? = nil,
[0;36m412 |[0;0m templateParams: [String: String]? = nil,
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:488:28: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m486 |[0;0m /// - completionHandler: Callback used on completion of operation
[0;36m487 |[0;0m public func responseString(
[0;36m488 |[0;0m responseToError: (([4;39mHTTPURLResponse[0;0m?, Data?) -> Error?)? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m489 |[0;0m templateParams: [String: String]? = nil,
[0;36m490 |[0;0m queryItems: [URLQueryItem]? = nil,
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:553:28: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m551 |[0;0m /// - completionHandler: Callback used on completion of operation
[0;36m552 |[0;0m public func responseVoid(
[0;36m553 |[0;0m responseToError: (([4;39mHTTPURLResponse[0;0m?, Data?) -> Error?)? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m554 |[0;0m templateParams: [String: String]? = nil,
[0;36m555 |[0;0m queryItems: [URLQueryItem]? = nil,
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:595:77: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m593 |[0;0m /// - destination: URL destination to save the file to
[0;36m594 |[0;0m /// - completionHandler: Callback used on completion of operation
[0;36m595 |[0;0m public func download(to destination: URL, completionHandler: @escaping ([4;39mHTTPURLResponse[0;0m?, Error?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m596 |[0;0m let task = session.downloadTask(with: request) { (source, response, error) in
[0;36m597 |[0;0m do {
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:616:66: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m614 |[0;0m ///
[0;36m615 |[0;0m /// - Parameter invocation: `Invocation` contains a command argument, Void return type, and a String fallback arguement
[0;36m616 |[0;0m private func handleInvocation(invocation: Invocation<(Data?, [4;39mHTTPURLResponse[0;0m?, Error?) -> Void, String>) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m617 |[0;0m let task = session.dataTask(with: request) { (data, response, error) in
[0;36m618 |[0;0m if error != nil {
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:716:25: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m714 |[0;0m
[0;36m715 |[0;0m /// The rest request
[0;36m716 |[0;0m public let request: [4;39mURLRequest[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m717 |[0;0m
[0;36m718 |[0;0m /// The response to the request
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:719:26: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m717 |[0;0m
[0;36m718 |[0;0m /// The response to the request
[0;36m719 |[0;0m public let response: [4;39mHTTPURLResponse[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m720 |[0;0m
[0;36m721 |[0;0m /// The Response Data
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:793:24: [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m791 |[0;0m
[0;36m792 |[0;0m // URL Session extension
[0;36m793 |[0;0m extension RestRequest: [4;39mURLSessionDelegate[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m794 |[0;0m
[0;36m795 |[0;0m /// URL session function to allow trusting certain URLs
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:796:142: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m794 |[0;0m
[0;36m795 |[0;0m /// URL session function to allow trusting certain URLs
[0;36m796 |[0;0m public func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping ([4;39mURLSession[0;0m.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m797 |[0;0m let method = challenge.protectionSpace.authenticationMethod
[0;36m798 |[0;0m let host = challenge.protectionSpace.host
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:796:39: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m794 |[0;0m
[0;36m795 |[0;0m /// URL session function to allow trusting certain URLs
[0;36m796 |[0;0m public func urlSession(_ session: [4;39mURLSession[0;0m, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m797 |[0;0m let method = challenge.protectionSpace.authenticationMethod
[0;36m798 |[0;0m let host = challenge.protectionSpace.host
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift:796:73: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m794 |[0;0m
[0;36m795 |[0;0m /// URL session function to allow trusting certain URLs
[0;36m796 |[0;0m public func urlSession(_ session: URLSession, didReceive challenge: [4;39mURLAuthenticationChallenge[0;0m, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m797 |[0;0m let method = challenge.protectionSpace.authenticationMethod
[0;36m798 |[0;0m let host = challenge.protectionSpace.host
Foundation.URLAuthenticationChallenge:2:18: [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLAuthenticationChallenge = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/CodableExtensions.swift /host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/HTTPMethod.swift /host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/JSON.swift /host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/JSONWrapper.swift /host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/MultipartFormData.swift /host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestRequest.swift /host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestToken.swift /host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/RestUtilities.swift /host/spi-builder-workspace/.build/checkouts/SwiftyRequest/Sources/SwiftyRequest/StringExtensions.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyRequest.build/Debug-linux-x86_64/SwiftyRequest-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyRequest.build/Debug-linux-x86_64/SwiftyRequest-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyRequest.build/Debug-linux-x86_64/SwiftyRequest-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftyRequest -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyRequest.build/Debug-linux-x86_64/SwiftyRequest-t.build/Objects-normal/x86_64/SwiftyRequest_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyRequest.build/Debug-linux-x86_64/SwiftyRequest-t.build/Objects-normal/x86_64/Modules/SwiftyRequest.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyRequest.build/Debug-linux-x86_64/SwiftyRequest-t.build/Objects-normal/x86_64/Modules/SwiftyRequest.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyRequest.build/Debug-linux-x86_64/SwiftyRequest-t.build/Objects-normal/x86_64/SwiftyRequest-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyRequest.build/Debug-linux-x86_64/SwiftyRequest-t.build/Objects-normal/x86_64/SwiftyRequest-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyRequest.build/Debug-linux-x86_64/SwiftyRequest-t.build/Objects-normal/x86_64/SwiftyRequest-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyRequest.build/Debug-linux-x86_64/SwiftyRequest-t.build/Objects-normal/x86_64/Modules/SwiftyRequest.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux