Build Information
Failed to build XcodeHelperCliKit, reference master (ed64ae), with Swift 6.3 for Linux on 11 Apr 2026 07:25:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/saltzmanjoelh/xcodehelperclikit.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/saltzmanjoelh/xcodehelperclikit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at ed64aec Updated help descriptions
Cloned https://github.com/saltzmanjoelh/xcodehelperclikit.git
Revision (git rev-parse @):
ed64aec6e63e0f0595167259210e8041771a2cfe
SUCCESS checkout https://github.com/saltzmanjoelh/xcodehelperclikit.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/saltzmanjoelh/xcodehelperclikit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/saltzmanjoelh/XcodeHelperKit.git
[1/1184] Fetching xcodehelperkit
Fetched https://github.com/saltzmanjoelh/XcodeHelperKit.git from cache (0.27s)
Computing version for https://github.com/saltzmanjoelh/XcodeHelperKit.git
Computed https://github.com/saltzmanjoelh/XcodeHelperKit.git at 1.0.81 (2.48s)
Fetching https://github.com/tuist/xcodeproj.git
Fetching https://github.com/saltzmanjoelh/CliRunnable.git
Fetching https://github.com/saltzmanjoelh/DockerProcess.git
Fetching https://github.com/saltzmanjoelh/S3Kit.git
[1/239] Fetching s3kit
[240/613] Fetching s3kit, clirunnable
[282/1258] Fetching s3kit, clirunnable, dockerprocess
[1259/25666] Fetching s3kit, clirunnable, dockerprocess, xcodeproj
Fetching https://github.com/saltzmanjoelh/ProcessRunner.git
Fetched https://github.com/saltzmanjoelh/S3Kit.git from cache (0.26s)
[1752/25427] Fetching clirunnable, dockerprocess, xcodeproj
Fetched https://github.com/saltzmanjoelh/DockerProcess.git from cache (0.28s)
[1595/24782] Fetching clirunnable, xcodeproj
[10383/24858] Fetching clirunnable, xcodeproj, processrunner
Fetched https://github.com/saltzmanjoelh/ProcessRunner.git from cache (0.32s)
[14043/24782] Fetching clirunnable, xcodeproj
Fetched https://github.com/saltzmanjoelh/CliRunnable.git from cache (1.59s)
Fetched https://github.com/tuist/xcodeproj.git from cache (1.63s)
Computing version for https://github.com/tuist/xcodeproj.git
Computed https://github.com/tuist/xcodeproj.git at 6.7.0 (2.04s)
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/tadija/AEXML
[1/4891] Fetching swiftshell
[1175/6343] Fetching swiftshell, pathkit
[1176/8498] Fetching swiftshell, pathkit, aexml
Fetched https://github.com/tadija/AEXML from cache (0.36s)
Fetched https://github.com/kylef/PathKit from cache (0.42s)
Fetched https://github.com/kareman/SwiftShell from cache (0.43s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 4.1.2 (0.95s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 0.9.2 (0.45s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (2.20s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.3.3 (3.07s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (2.52s)
Computing version for https://github.com/saltzmanjoelh/ProcessRunner.git
Computed https://github.com/saltzmanjoelh/ProcessRunner.git at 1.0.11 (1.23s)
Computing version for https://github.com/saltzmanjoelh/S3Kit.git
Computed https://github.com/saltzmanjoelh/S3Kit.git at 1.0.21 (1.08s)
Computing version for https://github.com/saltzmanjoelh/DockerProcess.git
Computed https://github.com/saltzmanjoelh/DockerProcess.git at 1.0.28 (0.61s)
Computing version for https://github.com/saltzmanjoelh/CliRunnable.git
Computed https://github.com/saltzmanjoelh/CliRunnable.git at 1.0.48 (0.66s)
Fetching https://github.com/saltzmanjoelh/Yaml.git
[1/1163] Fetching yaml
Fetched https://github.com/saltzmanjoelh/Yaml.git from cache (0.22s)
Computing version for https://github.com/saltzmanjoelh/Yaml.git
Computed https://github.com/saltzmanjoelh/Yaml.git at 3.4.10 (0.69s)
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 0.9.2
Creating working copy for https://github.com/saltzmanjoelh/Yaml.git
Working copy of https://github.com/saltzmanjoelh/Yaml.git resolved at 3.4.10
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.3.3
Creating working copy for https://github.com/tuist/xcodeproj.git
Working copy of https://github.com/tuist/xcodeproj.git resolved at 6.7.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/saltzmanjoelh/DockerProcess.git
Working copy of https://github.com/saltzmanjoelh/DockerProcess.git resolved at 1.0.28
Creating working copy for https://github.com/saltzmanjoelh/XcodeHelperKit.git
Working copy of https://github.com/saltzmanjoelh/XcodeHelperKit.git resolved at 1.0.81
Creating working copy for https://github.com/saltzmanjoelh/CliRunnable.git
Working copy of https://github.com/saltzmanjoelh/CliRunnable.git resolved at 1.0.48
Creating working copy for https://github.com/saltzmanjoelh/S3Kit.git
Working copy of https://github.com/saltzmanjoelh/S3Kit.git resolved at 1.0.21
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 4.1.2
Creating working copy for https://github.com/saltzmanjoelh/ProcessRunner.git
Working copy of https://github.com/saltzmanjoelh/ProcessRunner.git resolved at 1.0.11
Building for debugging...
[0/35] Write sources
[10/35] Write swift-version-24593BA9C3E375BF.txt
[12/56] Compiling S3Kit S3V4Signer.swift
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/S3V4Signer.swift:67:54: error: cannot find 'CC_SHA256_DIGEST_LENGTH' in scope
65 | public func sha256(str: String) -> String {
66 | let data = str.data(using: String.Encoding.utf8)!
67 | var hash = [UInt8](repeating: 0, count: Int(CC_SHA256_DIGEST_LENGTH))
| `- error: cannot find 'CC_SHA256_DIGEST_LENGTH' in scope
68 | _ = data.withUnsafeBytes{
69 | CC_SHA256($0, CC_LONG(data.count), &hash)
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/S3V4Signer.swift:69:13: error: cannot find 'CC_SHA256' in scope
67 | var hash = [UInt8](repeating: 0, count: Int(CC_SHA256_DIGEST_LENGTH))
68 | _ = data.withUnsafeBytes{
69 | CC_SHA256($0, CC_LONG(data.count), &hash)
| `- error: cannot find 'CC_SHA256' in scope
70 | }
71 |
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/S3V4Signer.swift:69:27: error: cannot find 'CC_LONG' in scope
67 | var hash = [UInt8](repeating: 0, count: Int(CC_SHA256_DIGEST_LENGTH))
68 | _ = data.withUnsafeBytes{
69 | CC_SHA256($0, CC_LONG(data.count), &hash)
| `- error: cannot find 'CC_LONG' in scope
70 | }
71 |
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/S3V4Signer.swift:72:51: error: cannot find 'CC_SHA256_DIGEST_LENGTH' in scope
70 | }
71 |
72 | let res = NSData(bytes: hash, length: Int(CC_SHA256_DIGEST_LENGTH))
| `- error: cannot find 'CC_SHA256_DIGEST_LENGTH' in scope
73 | return hexdigest(data: res)
74 | }
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/S3V4Signer.swift:79:29: error: cannot find 'CC_SHA256_DIGEST_LENGTH' in scope
77 | let data = string.cString(using: String.Encoding.utf8.rawValue)
78 | let dataLen = Int(string.lengthOfBytes(using: String.Encoding.utf8.rawValue))
79 | let digestLen = Int(CC_SHA256_DIGEST_LENGTH)
| `- error: cannot find 'CC_SHA256_DIGEST_LENGTH' in scope
80 | let result = UnsafeMutablePointer<CUnsignedChar>.allocate(capacity: digestLen)
81 | CCHmac(CCHmacAlgorithm(kCCHmacAlgSHA256), key.bytes, key.length, data, dataLen, result);
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/S3V4Signer.swift:81:9: error: cannot find 'CCHmac' in scope
79 | let digestLen = Int(CC_SHA256_DIGEST_LENGTH)
80 | let result = UnsafeMutablePointer<CUnsignedChar>.allocate(capacity: digestLen)
81 | CCHmac(CCHmacAlgorithm(kCCHmacAlgSHA256), key.bytes, key.length, data, dataLen, result);
| `- error: cannot find 'CCHmac' in scope
82 | return NSData(bytes: result, length: digestLen)
83 | }
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/S3V4Signer.swift:81:16: error: cannot find 'CCHmacAlgorithm' in scope
79 | let digestLen = Int(CC_SHA256_DIGEST_LENGTH)
80 | let result = UnsafeMutablePointer<CUnsignedChar>.allocate(capacity: digestLen)
81 | CCHmac(CCHmacAlgorithm(kCCHmacAlgSHA256), key.bytes, key.length, data, dataLen, result);
| `- error: cannot find 'CCHmacAlgorithm' in scope
82 | return NSData(bytes: result, length: digestLen)
83 | }
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/S3V4Signer.swift:81:32: error: cannot find 'kCCHmacAlgSHA256' in scope
79 | let digestLen = Int(CC_SHA256_DIGEST_LENGTH)
80 | let result = UnsafeMutablePointer<CUnsignedChar>.allocate(capacity: digestLen)
81 | CCHmac(CCHmacAlgorithm(kCCHmacAlgSHA256), key.bytes, key.length, data, dataLen, result);
| `- error: cannot find 'kCCHmacAlgSHA256' in scope
82 | return NSData(bytes: result, length: digestLen)
83 | }
[13/56] Compiling AEXML Parser.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:10:39: error: cannot find type 'XMLParserDelegate' in scope
8 |
9 | /// Simple wrapper around `Foundation.XMLParser`.
10 | internal class AEXMLParser: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
11 |
12 | // MARK: - Properties
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:58:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
56 | // MARK: - XMLParserDelegate
57 |
58 | func parser(_ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
59 | didStartElement elementName: String,
60 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:68:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
66 | }
67 |
68 | func parser(_ parser: XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
69 | currentValue.append(string)
70 | currentElement?.value = currentValue.isEmpty ? nil : currentValue
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:73:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
71 | }
72 |
73 | func parser(_ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
74 | didEndElement elementName: String,
75 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:84:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
82 | }
83 |
84 | func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
85 | self.parseError = parseError
86 | }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:41:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
39 |
40 | func parse() throws {
41 | let parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
42 | parser.delegate = self
43 |
[14/56] Compiling Yaml YAMLRegex.swift
[15/56] Compiling AEXML Error.swift
[16/56] Compiling AEXML Options.swift
[17/56] Compiling S3Kit S3Kit.swift
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/S3Kit.swift:62:131: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 |
61 |
62 | public func upload(file fileURL: URL, to bucket: String, in region: String = "us-east-1") throws -> (data: NSData?, response: HTTPURLResponse) {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let s3URL = URL(string: "https://s3.amazonaws.com/\(bucket)/\(fileURL.lastPathComponent)")!
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/.build/checkouts/S3Kit/Sources/S3Kit/S3Kit.swift:177:131: error: cannot find type 'URLRequest' in scope
175 | }
176 |
177 | public func downloadRequest(forFile fileURL: URL, fromBucket bucket: String, inRegion region: String = "us-east-1") throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
178 |
179 | let s3URL = URL(string: "https://s3.amazonaws.com/\(bucket)/\(fileURL.lastPathComponent)")!
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/S3Kit.swift:74:23: error: cannot find 'NSMutableURLRequest' in scope
72 |
73 | //create an URL Request
74 | let request = NSMutableURLRequest(url: s3URL)
| `- error: cannot find 'NSMutableURLRequest' in scope
75 | request.cachePolicy = .reloadIgnoringCacheData
76 | request.httpMethod = "PUT"
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/S3Kit.swift:75:32: error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
73 | //create an URL Request
74 | let request = NSMutableURLRequest(url: s3URL)
75 | request.cachePolicy = .reloadIgnoringCacheData
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
76 | request.httpMethod = "PUT"
77 | request.httpBodyStream = fileStream
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/S3Kit.swift:92:36: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
90 |
91 | //send the request
92 | var data: Data?, response: URLResponse?, error: NSError?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
93 | let semaphore = DispatchSemaphore(value: 0)
94 | URLSession.shared.dataTask(with: request as URLRequest) { (d:Data?, r:URLResponse?, e:Error?) -> Void in
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/.build/checkouts/S3Kit/Sources/S3Kit/S3Kit.swift:94:53: error: cannot find type 'URLRequest' in scope
92 | var data: Data?, response: URLResponse?, error: NSError?
93 | let semaphore = DispatchSemaphore(value: 0)
94 | URLSession.shared.dataTask(with: request as URLRequest) { (d:Data?, r:URLResponse?, e:Error?) -> Void in
| `- error: cannot find type 'URLRequest' in scope
95 | data = d
96 | response = r
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/S3Kit.swift:94:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
92 | var data: Data?, response: URLResponse?, error: NSError?
93 | let semaphore = DispatchSemaphore(value: 0)
94 | URLSession.shared.dataTask(with: request as URLRequest) { (d:Data?, r:URLResponse?, e:Error?) -> Void in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
95 | data = d
96 | response = r
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/S3Kit.swift:110:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |
109 |
110 | guard let urlResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 | throw S3KitError.noResponse
112 | }
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/.build/checkouts/S3Kit/Sources/S3Kit/S3Kit.swift:113:24: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
111 | throw S3KitError.noResponse
112 | }
113 | if urlResponse.statusCode != 200 {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
114 | var description = ""
115 | if let theData = data {
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/S3Kit.swift:138:23: error: cannot find 'NSMutableURLRequest' in scope
136 |
137 | //create an URL Request
138 | let request = NSMutableURLRequest(url: s3URL)
| `- error: cannot find 'NSMutableURLRequest' in scope
139 | request.httpMethod = "HEAD"
140 |
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/S3Kit.swift:150:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
148 |
149 | //send the request
150 | var response: URLResponse?, error: NSError?
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
151 | let semaphore = DispatchSemaphore(value: 0)
152 | URLSession.shared.dataTask(with: request as URLRequest) {
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/.build/checkouts/S3Kit/Sources/S3Kit/S3Kit.swift:152:53: error: cannot find type 'URLRequest' in scope
150 | var response: URLResponse?, error: NSError?
151 | let semaphore = DispatchSemaphore(value: 0)
152 | URLSession.shared.dataTask(with: request as URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
153 | response = $1; error = $2 as NSError?
154 | var description = ""
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/S3Kit.swift:152:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
150 | var response: URLResponse?, error: NSError?
151 | let semaphore = DispatchSemaphore(value: 0)
152 | URLSession.shared.dataTask(with: request as URLRequest) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
153 | response = $1; error = $2 as NSError?
154 | var description = ""
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/S3Kit.swift:153:24: error: value of type '_' expected to be an instance of a class or class-constrained type in assignment
151 | let semaphore = DispatchSemaphore(value: 0)
152 | URLSession.shared.dataTask(with: request as URLRequest) {
153 | response = $1; error = $2 as NSError?
| `- error: value of type '_' expected to be an instance of a class or class-constrained type in assignment
154 | var description = ""
155 | if let data = $0 {
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/S3Kit.swift:171:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 | throw error!
170 | }
171 | guard let urlResponse = response as? HTTPURLResponse else {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
172 | throw S3KitError.noResponse
173 | }
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/.build/checkouts/S3Kit/Sources/S3Kit/S3Kit.swift:174:28: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
172 | throw S3KitError.noResponse
173 | }
174 | return urlResponse.statusCode == 200
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
175 | }
176 |
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/S3Kit.swift:183:23: error: cannot find 'URLRequest' in scope
181 |
182 | //create an URL Request
183 | var request = URLRequest(url: s3URL)
| `- error: cannot find 'URLRequest' in scope
184 | request.httpMethod = "GET"
185 | request.cachePolicy = .reloadIgnoringCacheData
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/S3Kit.swift:185:32: error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
183 | var request = URLRequest(url: s3URL)
184 | request.httpMethod = "GET"
185 | request.cachePolicy = .reloadIgnoringCacheData
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
186 |
187 | //create the signed headers
[18/56] Compiling Yaml YAMLTokenizer.swift
[19/56] Compiling Yaml YAMLResult.swift
[20/56] Compiling Yaml Yaml.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/56] Emitting module S3Kit
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/S3Kit.swift:62:131: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 |
61 |
62 | public func upload(file fileURL: URL, to bucket: String, in region: String = "us-east-1") throws -> (data: NSData?, response: HTTPURLResponse) {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |
64 | let s3URL = URL(string: "https://s3.amazonaws.com/\(bucket)/\(fileURL.lastPathComponent)")!
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/.build/checkouts/S3Kit/Sources/S3Kit/S3Kit.swift:177:131: error: cannot find type 'URLRequest' in scope
175 | }
176 |
177 | public func downloadRequest(forFile fileURL: URL, fromBucket bucket: String, inRegion region: String = "us-east-1") throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
178 |
179 | let s3URL = URL(string: "https://s3.amazonaws.com/\(bucket)/\(fileURL.lastPathComponent)")!
[22/56] Compiling S3Kit Data+SHA256.swift
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/Data+SHA256.swift:39:32: error: missing argument for parameter 'capacity' in call
37 | #endif
38 |
39 | let hash = NSMutableString()
| `- error: missing argument for parameter 'capacity' in call
40 | for byte in bytes {
41 | hash.appendFormat("%02x", byte)
Foundation.NSMutableString.init:2:17: note: 'init(capacity:)' declared here
1 | class NSMutableString {
2 | required public init(capacity: Int)}
| `- note: 'init(capacity:)' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/S3Kit/Sources/S3Kit/Data+SHA256.swift:40:17: error: cannot find 'bytes' in scope
38 |
39 | let hash = NSMutableString()
40 | for byte in bytes {
| `- error: cannot find 'bytes' in scope
41 | hash.appendFormat("%02x", byte)
42 | }
[23/56] Compiling AEXML Document.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:10:39: error: cannot find type 'XMLParserDelegate' in scope
8 |
9 | /// Simple wrapper around `Foundation.XMLParser`.
10 | internal class AEXMLParser: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
11 |
12 | // MARK: - Properties
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/56] Compiling ProcessRunner ProcessRunner.swift
[25/56] Compiling AEXML Element.swift
[26/56] Emitting module AEXML
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:10:39: error: cannot find type 'XMLParserDelegate' in scope
8 |
9 | /// Simple wrapper around `Foundation.XMLParser`.
10 | internal class AEXMLParser: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
11 |
12 | // MARK: - Properties
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:58:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
56 | // MARK: - XMLParserDelegate
57 |
58 | func parser(_ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
59 | didStartElement elementName: String,
60 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:68:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
66 | }
67 |
68 | func parser(_ parser: XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
69 | currentValue.append(string)
70 | currentElement?.value = currentValue.isEmpty ? nil : currentValue
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:73:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
71 | }
72 |
73 | func parser(_ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
74 | didEndElement elementName: String,
75 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Parser.swift:84:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
82 | }
83 |
84 | func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
85 | self.parseError = parseError
86 | }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
[27/56] Emitting module ProcessRunner
[29/57] Emitting module PathKit
[30/57] Compiling Yaml YAMLOperators.swift
BUILD FAILURE 6.3 linux