The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CleanroomDataTransactions, reference master (ca9ff5), with Swift 6.2 for Linux on 18 Jun 2025 07:44:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/emaloney/cleanroomdatatransactions.git
Reference: master
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/emaloney/cleanroomdatatransactions
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ca9ff51 Release 8.1.0 (build 38)
Cloned https://github.com/emaloney/cleanroomdatatransactions.git
Revision (git rev-parse @):
ca9ff51fa888a9f48e6497fd9cad580b71b91e33
SUCCESS checkout https://github.com/emaloney/cleanroomdatatransactions.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/emaloney/cleanroomdatatransactions.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: compile command failed due to signal 6 (use -v to see invocation)
error: compile command failed due to signal 6 (use -v to see invocation)
[3/20] Compiling CleanroomDataTransactions HTTPTransactionTracer.swift
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:50:35: error: cannot find type 'URLRequest' in scope
 48 |      tracer.
 49 |      */
 50 |     func didConfigure<T>(request: URLRequest, for transaction: HTTPTransaction<T>, id transactionID: UUID)
    |                                   `- error: cannot find type 'URLRequest' in scope
 51 |
 52 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:77:41: error: cannot find type 'URLRequest' in scope
 75 |      - note: This function is _only_ called when running on iOS 11 or higher.
 76 |      */
 77 |     func willWaitForNetwork<T>(request: URLRequest, for transaction: HTTPTransaction<T>, timeout: TimeInterval, id transactionID: UUID)
    |                                         `- error: cannot find type 'URLRequest' in scope
 78 |
 79 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:98:31: error: cannot find type 'URLRequest' in scope
 96 |      tracer.
 97 |      */
 98 |     func didIssue<T>(request: URLRequest, for transaction: HTTPTransaction<T>, id transactionID: UUID)
    |                               `- error: cannot find type 'URLRequest' in scope
 99 |
100 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:125:63: error: cannot find type 'URLRequest' in scope
123 |      tracer.
124 |      */
125 |     func didReceive<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                                               `- error: cannot find type 'URLRequest' in scope
126 |
127 |     /**
/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.
123 |      tracer.
124 |      */
125 |     func didReceive<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 |
127 |     /**
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/Sources/HTTPTransactionTracer.swift:155:64: error: cannot find type 'URLRequest' in scope
153 |      tracer.
154 |      */
155 |     func didValidate<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                                                `- error: cannot find type 'URLRequest' in scope
156 |
157 |     /**
/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.
153 |      tracer.
154 |      */
155 |     func didValidate<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |
157 |     /**
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/Sources/ImageConstruction.swift:67:8: error: cannot find type 'PlatformImageType' in scope
65 | public func platformImage(fromData data: Data)
66 |     throws
67 |     -> PlatformImageType
   |        `- error: cannot find type 'PlatformImageType' in scope
68 | {
69 |     guard let image = PlatformImageType(data: data) else {
/host/spi-builder-workspace/Sources/ImageConstruction.swift:69:23: error: cannot find 'PlatformImageType' in scope
67 |     -> PlatformImageType
68 | {
69 |     guard let image = PlatformImageType(data: data) else {
   |                       `- error: cannot find 'PlatformImageType' in scope
70 |         throw DataTransactionError.dataFormatError("Couldn't construct \(PlatformImageType.self) from data containing \(data.count) bytes")
71 |     }
/host/spi-builder-workspace/Sources/ImageConstruction.swift:70:74: error: cannot find 'PlatformImageType' in scope
68 | {
69 |     guard let image = PlatformImageType(data: data) else {
70 |         throw DataTransactionError.dataFormatError("Couldn't construct \(PlatformImageType.self) from data containing \(data.count) bytes")
   |                                                                          `- error: cannot find 'PlatformImageType' in scope
71 |     }
72 |     return image
[4/20] Compiling CleanroomDataTransactions ImageConstruction.swift
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:50:35: error: cannot find type 'URLRequest' in scope
 48 |      tracer.
 49 |      */
 50 |     func didConfigure<T>(request: URLRequest, for transaction: HTTPTransaction<T>, id transactionID: UUID)
    |                                   `- error: cannot find type 'URLRequest' in scope
 51 |
 52 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:77:41: error: cannot find type 'URLRequest' in scope
 75 |      - note: This function is _only_ called when running on iOS 11 or higher.
 76 |      */
 77 |     func willWaitForNetwork<T>(request: URLRequest, for transaction: HTTPTransaction<T>, timeout: TimeInterval, id transactionID: UUID)
    |                                         `- error: cannot find type 'URLRequest' in scope
 78 |
 79 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:98:31: error: cannot find type 'URLRequest' in scope
 96 |      tracer.
 97 |      */
 98 |     func didIssue<T>(request: URLRequest, for transaction: HTTPTransaction<T>, id transactionID: UUID)
    |                               `- error: cannot find type 'URLRequest' in scope
 99 |
100 |     /**
/host/spi-builder-workspace/Sources/HTTPTransactionTracer.swift:125:63: error: cannot find type 'URLRequest' in scope
123 |      tracer.
124 |      */
125 |     func didReceive<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                                               `- error: cannot find type 'URLRequest' in scope
126 |
127 |     /**
/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.
123 |      tracer.
124 |      */
125 |     func didReceive<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 |
127 |     /**
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/Sources/HTTPTransactionTracer.swift:155:64: error: cannot find type 'URLRequest' in scope
153 |      tracer.
154 |      */
155 |     func didValidate<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                                                `- error: cannot find type 'URLRequest' in scope
156 |
157 |     /**
/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.
153 |      tracer.
154 |      */
155 |     func didValidate<T>(response: HTTPURLResponse, to request: URLRequest, for transaction: HTTPTransaction<T>, meta: HTTPResponseMetadata, data: Data, id transactionID: UUID)
    |                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |
157 |     /**
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/Sources/ImageConstruction.swift:67:8: error: cannot find type 'PlatformImageType' in scope
65 | public func platformImage(fromData data: Data)
66 |     throws
67 |     -> PlatformImageType
   |        `- error: cannot find type 'PlatformImageType' in scope
68 | {
69 |     guard let image = PlatformImageType(data: data) else {
/host/spi-builder-workspace/Sources/ImageConstruction.swift:69:23: error: cannot find 'PlatformImageType' in scope
67 |     -> PlatformImageType
68 | {
69 |     guard let image = PlatformImageType(data: data) else {
   |                       `- error: cannot find 'PlatformImageType' in scope
70 |         throw DataTransactionError.dataFormatError("Couldn't construct \(PlatformImageType.self) from data containing \(data.count) bytes")
71 |     }
/host/spi-builder-workspace/Sources/ImageConstruction.swift:70:74: error: cannot find 'PlatformImageType' in scope
68 | {
69 |     guard let image = PlatformImageType(data: data) else {
70 |         throw DataTransactionError.dataFormatError("Couldn't construct \(PlatformImageType.self) from data containing \(data.count) bytes")
   |                                                                          `- error: cannot find 'PlatformImageType' in scope
71 |     }
72 |     return image
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:32:94: error: cannot find type 'URLRequest' in scope
 30 |     /** The signature of a function used to construct `URLRequest`s for
 31 |      the transaction. */
 32 |     public typealias RequestConstructor = (HTTPTransaction<ResponseDataType>, URL) throws -> URLRequest
    |                                                                                              `- error: cannot find type 'URLRequest' in scope
 33 |
 34 |     /** The signature of a function used to configure the `URLRequest` prior to
/host/spi-builder-workspace/Sources/HTTPTransaction.swift:36:86: error: cannot find type 'URLRequest' in scope
 34 |     /** The signature of a function used to configure the `URLRequest` prior to
 35 |      issuing the transaction. */
 36 |     public typealias RequestConfigurator = (HTTPTransaction<ResponseDataType>, inout URLRequest) throws -> Void
    |                                                                                      `- error: cannot find type 'URLRequest' in scope
 37 |
 38 |     /** The signature of a function used to approve HTTP redirects. */
swift-frontend: /home/build-user/swift/lib/AST/ASTContext.cpp:5288: swift::SILFunctionType::SILFunctionType(GenericSignature, ExtInfo, SILCoroutineKind, ParameterConvention, ArrayRef<SILParameterInfo>, ArrayRef<SILYieldInfo>, ArrayRef<SILResultInfo>, std::optional<SILResultInfo>, SubstitutionMap, SubstitutionMap, const ASTContext &, RecursiveTypeProperties, ProtocolConformanceRef): Assertion `!yield.getInterfaceType()->hasError() && "interface type of yield 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 -serialize-diagnostics-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CleanroomDataTransactions.build/JSONKey.dia -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 -serialize-diagnostics-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CleanroomDataTransactions.build/JSONTransaction.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Modules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -empty-abi-descriptor -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -g -Xcc -fno-omit-frame-pointer -no-auto-bridging-header-chaining -module-name CleanroomDataTransactions -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/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 6.2-dev (LLVM 0d47fa0a0fd41fb, Swift 536aa932a9e0ea3)
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):
0  swift-frontend 0x0000561f01774918
1  swift-frontend 0x0000561f0177243e
2  swift-frontend 0x0000561f01774fb1
3  libc.so.6      0x00007fd967ca1520
4  libc.so.6      0x00007fd967cf59fc pthread_kill + 300
5  libc.so.6      0x00007fd967ca1476 raise + 22
6  libc.so.6      0x00007fd967c877f3 abort + 211
7  libc.so.6      0x00007fd967c8771b
8  libc.so.6      0x00007fd967c98e96
9  swift-frontend 0x0000561efb6914e7
10 swift-frontend 0x0000561efb6924ff
11 swift-frontend 0x0000561efadc847b
12 swift-frontend 0x0000561efadbbb93
13 swift-frontend 0x0000561efadbf163
14 swift-frontend 0x0000561efadc04b8
15 swift-frontend 0x0000561efadb25a8
16 swift-frontend 0x0000561efa325bc1
17 swift-frontend 0x0000561efa454cfb
18 swift-frontend 0x0000561efa459fc3
19 swift-frontend 0x0000561efa459aa8
20 swift-frontend 0x0000561efa32c853
21 swift-frontend 0x0000561efa32cfa4
22 swift-frontend 0x0000561efa43f8c6
23 swift-frontend 0x0000561efa331f53
24 swift-frontend 0x0000561efa32d92f
25 swift-frontend 0x0000561ef9b0c808
26 swift-frontend 0x0000561ef9b1e42a
27 swift-frontend 0x0000561ef9b0f7de
28 swift-frontend 0x0000561ef9b0e878
29 swift-frontend 0x0000561ef988a26b
30 libc.so.6      0x00007fd967c88d90
31 libc.so.6      0x00007fd967c88e40 __libc_start_main + 128
32 swift-frontend 0x0000561ef9889265
BUILD FAILURE 6.2 linux