Build Information
Failed to build XcodeHelperKit, reference master (3d4e9f), with Swift 6.2 for Linux on 18 Jun 2025 07:23:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/saltzmanjoelh/xcodehelperkit.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/xcodehelperkit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 3d4e9f1 Updated help info
Cloned https://github.com/saltzmanjoelh/xcodehelperkit.git
Revision (git rev-parse @):
3d4e9f1da54d31190b569c2d34e1f291e8d96ea0
SUCCESS checkout https://github.com/saltzmanjoelh/xcodehelperkit.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/saltzmanjoelh/xcodehelperkit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Fetching https://github.com/saltzmanjoelh/ProcessRunner.git
Fetching https://github.com/saltzmanjoelh/DockerProcess.git
Fetching https://github.com/saltzmanjoelh/S3Kit.git
Fetching https://github.com/tuist/xcodeproj.git
Fetching https://github.com/saltzmanjoelh/CliRunnable.git
[1/76] Fetching processrunner
[77/721] Fetching processrunner, dockerprocess
[239/960] Fetching processrunner, dockerprocess, s3kit
[961/1334] Fetching processrunner, dockerprocess, s3kit, clirunnable
[1223/24667] Fetching processrunner, dockerprocess, s3kit, clirunnable, xcodeproj
Fetched https://github.com/saltzmanjoelh/ProcessRunner.git from cache (0.32s)
[4292/24591] Fetching dockerprocess, s3kit, clirunnable, xcodeproj
Fetched https://github.com/saltzmanjoelh/CliRunnable.git from cache (0.33s)
[4384/24217] Fetching dockerprocess, s3kit, xcodeproj
Fetched https://github.com/saltzmanjoelh/S3Kit.git from cache (1.32s)
Fetched https://github.com/saltzmanjoelh/DockerProcess.git from cache (1.32s)
Fetched https://github.com/tuist/xcodeproj.git from cache (1.36s)
Computing version for https://github.com/tuist/xcodeproj.git
Computed https://github.com/tuist/xcodeproj.git at 6.7.0 (1.80s)
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/kylef/PathKit
[1/4863] Fetching swiftshell
[1071/6990] Fetching swiftshell, aexml
[2394/8401] Fetching swiftshell, aexml, pathkit
Fetched https://github.com/kylef/PathKit from cache (0.31s)
Fetched https://github.com/tadija/AEXML from cache (0.35s)
Fetched https://github.com/kareman/SwiftShell from cache (0.35s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 4.1.2 (2.47s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 0.9.2 (0.39s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.25s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.3.3 (0.63s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (2.07s)
Computing version for https://github.com/saltzmanjoelh/ProcessRunner.git
Computed https://github.com/saltzmanjoelh/ProcessRunner.git at 1.0.11 (0.35s)
Computing version for https://github.com/saltzmanjoelh/S3Kit.git
Computed https://github.com/saltzmanjoelh/S3Kit.git at 1.0.21 (0.35s)
Computing version for https://github.com/saltzmanjoelh/DockerProcess.git
Computed https://github.com/saltzmanjoelh/DockerProcess.git at 1.0.28 (0.35s)
Computing version for https://github.com/saltzmanjoelh/CliRunnable.git
Computed https://github.com/saltzmanjoelh/CliRunnable.git at 1.0.48 (0.38s)
Fetching https://github.com/saltzmanjoelh/Yaml.git
[1/1163] Fetching yaml
Fetched https://github.com/saltzmanjoelh/Yaml.git from cache (0.27s)
Computing version for https://github.com/saltzmanjoelh/Yaml.git
Computed https://github.com/saltzmanjoelh/Yaml.git at 3.4.10 (0.67s)
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
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/saltzmanjoelh/Yaml.git
Working copy of https://github.com/saltzmanjoelh/Yaml.git resolved at 3.4.10
Creating working copy for https://github.com/saltzmanjoelh/ProcessRunner.git
Working copy of https://github.com/saltzmanjoelh/ProcessRunner.git resolved at 1.0.11
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/kylef/PathKit
Working copy of https://github.com/kylef/PathKit 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/S3Kit.git
Working copy of https://github.com/saltzmanjoelh/S3Kit.git resolved at 1.0.21
Creating working copy for https://github.com/saltzmanjoelh/CliRunnable.git
Working copy of https://github.com/saltzmanjoelh/CliRunnable.git resolved at 1.0.48
Building for debugging...
[0/31] Write sources
[9/31] Write swift-version-24593BA9C3E375BF.txt
[11/52] Compiling Yaml YAMLResult.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/52] 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)")!
[13/52] 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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/52] 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
[15/52] 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 | }
[16/52] 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
[17/52] Emitting module ProcessRunner
[18/52] Compiling ProcessRunner ProcessRunner.swift
[19/52] 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 |
[20/52] Compiling AEXML Error.swift
[21/53] Compiling AEXML Options.swift
[22/53] Compiling Yaml Yaml.swift
[24/53] 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
[25/53] Compiling AEXML Element.swift
[26/53] Compiling Yaml YAMLRegex.swift
[27/53] Compiling Yaml YAMLTokenizer.swift
[28/53] Compiling Yaml YAMLOperators.swift
[29/53] Emitting module Yaml
[30/53] Emitting module PathKit
BUILD FAILURE 6.2 linux