The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CleanroomDataTransactions with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/emaloney/cleanroomdatatransactions.git
Reference: master
Cloned https://github.com/emaloney/cleanroomdatatransactions.git into spi-builder-workspace
SUCCESS checkout https://github.com/emaloney/cleanroomdatatransactions.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/18] Emitting module CleanroomDataTransactions
/host/spi-builder-workspace/Sources/DataTransactionError.swift:86:20: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case httpError(HTTPURLResponse, HTTPResponseMetadata, Data)
                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/FetchImageTransaction.swift:19:51: error: cannot find type 'PlatformImageType' in scope
open class FetchImageTransaction: HTTPTransaction<PlatformImageType>
                                                  ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/HTTPRequestMethod.swift:82:11: error: cannot find type 'URLRequest' in scope
extension URLRequest
          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:32:94: error: cannot find type 'URLRequest' in scope
    public typealias RequestConstructor = (HTTPTransaction<ResponseDataType>, URL) throws -> URLRequest
                                                                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:36:86: error: cannot find type 'URLRequest' in scope
    public typealias RequestConfigurator = (HTTPTransaction<ResponseDataType>, inout URLRequest) throws -> Void
                                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:39:77: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public typealias RedirectApprover = (HTTPTransaction<ResponseDataType>, HTTPURLResponse, URL) -> Bool
                                                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:43:78: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public typealias ResponseValidator = (HTTPTransaction<ResponseDataType>, HTTPURLResponse, HTTPResponseMetadata, Data) throws -> Void
                                                                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:112:19: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
            task?.priority = requestPriority.taskPriority
            ~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:160:38: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var sessionConfiguration: URLSessionConfiguration = .default
                                     ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:160:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
    public var sessionConfiguration: URLSessionConfiguration = .default
                                                               ~^~~~~~~
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:171:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private var task: URLSessionTask?
                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:229:40: error: cannot find type 'URLRequest' in scope
    open func configure(request: inout URLRequest)
                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:50:35: error: cannot find type 'URLRequest' in scope
    func didConfigure<T>(request: URLRequest, for transaction: HTTPTransaction<T>, id transactionID: UUID)
                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:77:41: error: cannot find type 'URLRequest' in scope
    func willWaitForNetwork<T>(request: URLRequest, for transaction: HTTPTransaction<T>, timeout: TimeInterval, id transactionID: UUID)
                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:98:31: error: cannot find type 'URLRequest' in scope
    func didIssue<T>(request: URLRequest, for transaction: HTTPTransaction<T>, id transactionID: UUID)
                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:125:63: error: cannot find type 'URLRequest' in scope
    func didReceive<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
                                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:155:64: error: cannot find type 'URLRequest' in scope
    func didValidate<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
                                                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:405:140: error: cannot find type 'URLRequest' in scope
    func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
                                                                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:405:182: error: cannot find type 'URLRequest' in scope
    func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
                                                                                                                                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:405:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:405:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
                                                 ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:405:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> ())
                                                                                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:437:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask)
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:437:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask)
                                                                              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:387:72: error: cannot find type 'URLSessionTaskDelegate' in scope
private class HTTPTransactionTaskDelegate<ResponseDataType>: NSObject, URLSessionTaskDelegate
                                                                       ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:125:34: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func didReceive<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
                                 ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:155:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func didValidate<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
                                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/ImageConstruction.swift:67:8: error: cannot find type 'PlatformImageType' in scope
    -> PlatformImageType
       ^~~~~~~~~~~~~~~~~
error: compile command failed due to signal 6 (use -v to see invocation)
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:32:94: error: cannot find type 'URLRequest' in scope
    public typealias RequestConstructor = (HTTPTransaction<ResponseDataType>, URL) throws -> URLRequest
                                                                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:36:86: error: cannot find type 'URLRequest' in scope
    public typealias RequestConfigurator = (HTTPTransaction<ResponseDataType>, inout URLRequest) throws -> Void
                                                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:112:19: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'priority'
            task?.priority = requestPriority.taskPriority
            ~~~~~ ^~~~~~~~
swift-frontend: /home/build-user/swift/lib/AST/ASTContext.cpp:4447: swift::SILFunctionType::SILFunctionType(swift::GenericSignature, swift::SILFunctionType::ExtInfo, swift::SILCoroutineKind, swift::ParameterConvention, ArrayRef<swift::SILParameterInfo>, ArrayRef<swift::SILYieldInfo>, ArrayRef<swift::SILResultInfo>, Optional<swift::SILResultInfo>, swift::SubstitutionMap, swift::SubstitutionMap, const swift::ASTContext &, swift::RecursiveTypeProperties, swift::ProtocolConformanceRef): Assertion `!result.getInterfaceType()->hasError() && "interface type of result should not contain error types"' failed.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/DataTransaction.swift /host/spi-builder-workspace/Sources/DataTransactionError.swift /host/spi-builder-workspace/Sources/DispatchQueueExtension.swift /host/spi-builder-workspace/Sources/EncodingExtensions.swift /host/spi-builder-workspace/Sources/FetchImageTransaction.swift /host/spi-builder-workspace/Sources/HTTPRequestMethod.swift /host/spi-builder-workspace/Sources/HTTPResponseMetadata.swift /host/spi-builder-workspace/Sources/HTTPResponseStatus.swift /host/spi-builder-workspace/Sources/HTTPTransaction.swift /host/spi-builder-workspace/Sources/HTTPTransactionConfigurator.swift /host/spi-builder-workspace/Sources/HTTPTransactionControl.swift /host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift /host/spi-builder-workspace/Sources/ImageConstruction.swift /host/spi-builder-workspace/Sources/JSONDecodableTransaction.swift /host/spi-builder-workspace/Sources/JSONExtractionExtensions.swift -primary-file /host/spi-builder-workspace/Sources/JSONKey.swift -primary-file /host/spi-builder-workspace/Sources/JSONTransaction.swift /host/spi-builder-workspace/Sources/JSONTypes.swift /host/spi-builder-workspace/Sources/MIMEType.swift -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CleanroomDataTransactions.build/JSONKey.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CleanroomDataTransactions.build/JSONKey.swiftdeps -emit-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CleanroomDataTransactions.build/JSONTransaction.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CleanroomDataTransactions.build/JSONTransaction.swiftdeps -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fPIC -module-name CleanroomDataTransactions -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CleanroomDataTransactions.build/JSONKey.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CleanroomDataTransactions.build/JSONTransaction.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1.	Swift version 5.9-dev (LLVM 464b04eb9b157e3, Swift 7203d52cb1e074d)
2.	Compiling with effective version 4.1.50
3.	While evaluating request ASTLoweringRequest(Lowering AST to SIL for file "/host/spi-builder-workspace/Sources/JSONTransaction.swift")
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
/usr/bin/swift-frontend[0x6b367f3]
/usr/bin/swift-frontend[0x6b3440e]
/usr/bin/swift-frontend[0x6b36b5f]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7f4791fab420]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f47913f200b]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7f47913d1859]
/lib/x86_64-linux-gnu/libc.so.6(+0x22729)[0x7f47913d1729]
/lib/x86_64-linux-gnu/libc.so.6(+0x33fd6)[0x7f47913e2fd6]
/usr/bin/swift-frontend[0x1ec48f9]
/usr/bin/swift-frontend[0x1ec58eb]
/usr/bin/swift-frontend[0x1729017]
/usr/bin/swift-frontend[0x171d0a5]
/usr/bin/swift-frontend[0x1721073]
/usr/bin/swift-frontend[0x1721f15]
/usr/bin/swift-frontend[0x1714b34]
/usr/bin/swift-frontend[0xd42d66]
/usr/bin/swift-frontend[0xe2e063]
/usr/bin/swift-frontend[0xe3167c]
/usr/bin/swift-frontend[0xe31458]
/usr/bin/swift-frontend[0xd4a896]
/usr/bin/swift-frontend[0xe20e9f]
/usr/bin/swift-frontend[0xd4f14a]
/usr/bin/swift-frontend[0xd4c489]
/usr/bin/swift-frontend[0x66520d]
/usr/bin/swift-frontend[0x67b44e]
/usr/bin/swift-frontend[0x6684a2]
/usr/bin/swift-frontend[0x4c43d1]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f47913d3083]
/usr/bin/swift-frontend[0x4c3b1e]
BUILD FAILURE 5.9 linux

Build Machine: Linux 1