Build Information
Failed to build SofarKit, reference 0.1.0 (ff6808
), with Swift 6.1 for Linux on 25 Apr 2025 09:48:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dreymonde/sofarkit.git
Reference: 0.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/dreymonde/sofarkit
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at ff68082 Drop 'Sofar' from type names
Cloned https://github.com/dreymonde/sofarkit.git
Revision (git rev-parse @):
ff6808234f96e4c29a1f586db16b759aff849180
SUCCESS checkout https://github.com/dreymonde/sofarkit.git at 0.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/dreymonde/sofarkit.git
https://github.com/dreymonde/sofarkit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swiftsoup",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scinfu/SwiftSoup"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "3.1.4",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow"
},
{
"identity" : "swiftytexttable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scottrhoyt/SwiftyTextTable"
},
{
"identity" : "light",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dreymonde/Light"
}
],
"manifest_display_name" : "SofarKit",
"name" : "SofarKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SofarKit",
"targets" : [
"SofarKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SofarManager",
"targets" : [
"SofarManager"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SofarManager",
"module_type" : "SwiftTarget",
"name" : "SofarManager",
"path" : "Sources/SofarManager",
"product_dependencies" : [
"Light"
],
"product_memberships" : [
"SofarManager"
],
"sources" : [
"SofarManager.swift"
],
"target_dependencies" : [
"SofarKit"
],
"type" : "library"
},
{
"c99name" : "SofarKitTests",
"module_type" : "SwiftTarget",
"name" : "SofarKitTests",
"path" : "Tests/SofarKitTests",
"product_dependencies" : [
"Light"
],
"sources" : [
"SofarKitTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SofarKit",
"SofarManager"
],
"type" : "test"
},
{
"c99name" : "SofarKit",
"module_type" : "SwiftTarget",
"name" : "SofarKit",
"path" : "Sources/SofarKit",
"product_dependencies" : [
"SwiftSoup",
"Rainbow",
"SwiftyTextTable"
],
"product_memberships" : [
"SofarKit",
"SofarManager"
],
"sources" : [
"Event.swift",
"EventParser.swift",
"Highlight.swift",
"HighlightParser.swift",
"SofarKit.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/scottrhoyt/SwiftyTextTable
Fetching https://github.com/scinfu/SwiftSoup
Fetching https://github.com/dreymonde/Light
[1/75] Fetching light
[76/1004] Fetching light, swiftytexttable
[197/2200] Fetching light, swiftytexttable, rainbow
[2201/6108] Fetching light, swiftytexttable, rainbow, swiftsoup
Fetched https://github.com/scottrhoyt/SwiftyTextTable from cache (0.44s)
[2248/5179] Fetching light, rainbow, swiftsoup
Fetched https://github.com/onevcat/Rainbow from cache (0.46s)
[1131/3983] Fetching light, swiftsoup
Fetched https://github.com/dreymonde/Light from cache (0.83s)
Fetched https://github.com/scinfu/SwiftSoup from cache (0.83s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (1.63s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable
Computed https://github.com/scottrhoyt/SwiftyTextTable at 0.9.0 (0.67s)
Computing version for https://github.com/scinfu/SwiftSoup
Computed https://github.com/scinfu/SwiftSoup at 1.7.5 (0.54s)
Computing version for https://github.com/dreymonde/Light
Computed https://github.com/dreymonde/Light at 0.3.0 (2.08s)
Fetching https://github.com/dreymonde/Shallows.git
[1/1076] Fetching shallows
Fetched https://github.com/dreymonde/Shallows.git from cache (0.25s)
Computing version for https://github.com/dreymonde/Shallows.git
Computed https://github.com/dreymonde/Shallows.git at 0.13.4 (2.34s)
Creating working copy for https://github.com/scinfu/SwiftSoup
Working copy of https://github.com/scinfu/SwiftSoup resolved at 1.7.5
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable
Working copy of https://github.com/scottrhoyt/SwiftyTextTable resolved at 0.9.0
Creating working copy for https://github.com/dreymonde/Light
Working copy of https://github.com/dreymonde/Light resolved at 0.3.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Creating working copy for https://github.com/dreymonde/Shallows.git
Working copy of https://github.com/dreymonde/Shallows.git resolved at 0.13.4
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/85] Emitting module Shallows
[10/86] Compiling Rainbow StringGenerator.swift
[11/87] Compiling Rainbow Style.swift
[12/87] Compiling Rainbow XcodeColorsSupport.swift
[13/87] Compiling Rainbow String+Rainbow.swift
[14/87] Compiling Shallows WriteOnlyStorage.swift
[15/87] Compiling Shallows Zip.swift
[16/87] Compiling Shallows Storage.swift
[17/87] Compiling Shallows SyncStorage.swift
[18/87] Emitting module SwiftyTextTable
[19/87] Compiling SwiftyTextTable TextTable.swift
[20/88] Compiling Shallows Shallows.swift
[21/88] Compiling Shallows ShallowsResult.swift
[22/88] Compiling Rainbow BackgroundColor.swift
[23/88] Compiling Shallows Composition.swift
[24/88] Compiling Shallows DiskExtensions.swift
[25/88] Compiling Shallows DiskStorage.swift
[26/88] Compiling Shallows Filename.swift
[27/88] Compiling Shallows MemoryStorage.swift
[28/88] Compiling Shallows NSCacheStorage.swift
[30/95] Emitting module Rainbow
[37/95] Compiling Rainbow Rainbow.swift
[40/96] Compiling SwiftSoup HtmlTreeBuilder.swift
[41/96] Compiling SwiftSoup HtmlTreeBuilderState.swift
[42/96] Compiling SwiftSoup HttpStatusException.swift
[43/96] Compiling SwiftSoup Node.swift
[44/96] Compiling SwiftSoup NodeTraversor.swift
[45/96] Compiling SwiftSoup NodeVisitor.swift
[46/96] Compiling SwiftSoup OrderedDictionary.swift
[47/96] Compiling SwiftSoup StructuralEvaluator.swift
[48/96] Compiling SwiftSoup SwiftSoup.swift
[49/96] Compiling SwiftSoup Tag.swift
[50/96] Compiling SwiftSoup TextNode.swift
[51/96] Compiling SwiftSoup Token.swift
[52/96] Compiling SwiftSoup TokenQueue.swift
[53/96] Compiling SwiftSoup Tokeniser.swift
[58/96] Compiling Shallows ReadOnlyStorage.swift
[64/96] Compiling SwiftSoup DataUtil.swift
[65/96] Compiling SwiftSoup Document.swift
[66/96] Emitting module SwiftSoup
[67/96] Compiling SwiftSoup DocumentType.swift
[68/96] Compiling SwiftSoup Element.swift
[69/96] Compiling SwiftSoup Elements.swift
[70/96] Compiling SwiftSoup Entities.swift
[71/96] Compiling SwiftSoup Evaluator.swift
[72/96] Compiling SwiftSoup Exception.swift
[73/96] Compiling SwiftSoup FormElement.swift
[76/97] Compiling SwiftSoup OrderedSet.swift
[77/97] Compiling SwiftSoup ParseError.swift
[78/97] Compiling SwiftSoup ParseErrorList.swift
[79/97] Compiling SwiftSoup ParseSettings.swift
[80/97] Compiling SwiftSoup Parser.swift
[81/97] Compiling SwiftSoup Pattern.swift
[82/97] Compiling SwiftSoup QueryParser.swift
[83/97] Compiling SwiftSoup Selector.swift
[84/97] Compiling SwiftSoup SerializationException.swift
[85/97] Compiling SwiftSoup SimpleDictionary.swift
[86/97] Compiling SwiftSoup StreamReader.swift
[87/97] Compiling SwiftSoup String.swift
[88/97] Compiling SwiftSoup StringBuilder.swift
[89/97] Compiling SwiftSoup StringUtil.swift
[91/102] Compiling Light WebAPIProtocol.swift
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/WebAPI.swift:49:38: error: cannot find type 'URLRequest' in scope
47 | }
48 |
49 | public func retrieve(forKey url: URLRequest, completion: @escaping (ShallowsResult<Value>) -> ()) {
| `- error: cannot find type 'URLRequest' in scope
50 | retrieve(forKey: .urlRequest(url), completion: completion)
51 | }
[92/102] Compiling Light WebAPI.swift
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/WebAPI.swift:15:25: error: cannot find type 'URLRequest' in scope
13 | public enum Request {
14 | case url(URL)
15 | case urlRequest(URLRequest)
| `- error: cannot find type 'URLRequest' in scope
16 | }
17 |
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/WebAPI.swift:19:37: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 | public struct Response {
19 | public var httpUrlResponse: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | public var data: Data
21 | }
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/Light/Sources/Light/WebAPI.swift:49:38: error: cannot find type 'URLRequest' in scope
47 | }
48 |
49 | public func retrieve(forKey url: URLRequest, completion: @escaping (ShallowsResult<Value>) -> ()) {
| `- error: cannot find type 'URLRequest' in scope
50 | retrieve(forKey: .urlRequest(url), completion: completion)
51 | }
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/WebAPI.swift:50:27: error: reference to member 'urlRequest' cannot be resolved without a contextual type
48 |
49 | public func retrieve(forKey url: URLRequest, completion: @escaping (ShallowsResult<Value>) -> ()) {
50 | retrieve(forKey: .urlRequest(url), completion: completion)
| `- error: reference to member 'urlRequest' cannot be resolved without a contextual type
51 | }
52 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[93/102] Compiling Light Light.swift
[94/102] Emitting module Light
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
9 | import Shallows
10 |
11 | extension URLSession : ReadOnlyStorageProtocol {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
12 |
13 | public typealias Request = WebAPI.Request
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:55:56: error: cannot find type 'URLRequest' in scope
53 | }
54 |
55 | public func mapURLRequestKeys() -> ReadOnlyStorage<URLRequest, Value> {
| `- error: cannot find type 'URLRequest' in scope
56 | return mapKeys({ .urlRequest($0) })
57 | }
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:79:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
77 | extension WebAPIProtocol {
78 |
79 | public init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
80 | let webAPI = WebAPI(provider: urlSession.asReadOnlyStorage())
81 | self.init(webAPI: webAPI)
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:84:42: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
82 | }
83 |
84 | public init(urlSessionConfiguration: URLSessionConfiguration) {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
85 | let urlSession = URLSession(configuration: urlSessionConfiguration)
86 | self.init(urlSession: urlSession)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:113:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
111 | }
112 |
113 | extension URLSessionConfiguration {
| `- error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
114 | public func setHTTPProxy(_ httpProxy: HTTPProxy) {
115 | connectionProxyDictionary = [
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:132:83: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
130 |
131 | extension WebAPIProtocol {
132 | public static func withProxy(_ httpProxy: HTTPProxy, urlSessionConfiguration: URLSessionConfiguration) -> Self {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
133 | urlSessionConfiguration.setHTTPProxy(httpProxy)
134 | return Self(urlSessionConfiguration: urlSessionConfiguration)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/WebAPI.swift:15:25: error: cannot find type 'URLRequest' in scope
13 | public enum Request {
14 | case url(URL)
15 | case urlRequest(URLRequest)
| `- error: cannot find type 'URLRequest' in scope
16 | }
17 |
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/WebAPI.swift:19:37: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 | public struct Response {
19 | public var httpUrlResponse: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | public var data: Data
21 | }
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/Light/Sources/Light/WebAPI.swift:49:38: error: cannot find type 'URLRequest' in scope
47 | }
48 |
49 | public func retrieve(forKey url: URLRequest, completion: @escaping (ShallowsResult<Value>) -> ()) {
| `- error: cannot find type 'URLRequest' in scope
50 | retrieve(forKey: .urlRequest(url), completion: completion)
51 | }
[95/102] Compiling Light URLSession+WebAPI.swift
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
9 | import Shallows
10 |
11 | extension URLSession : ReadOnlyStorageProtocol {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
12 |
13 | public typealias Request = WebAPI.Request
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:55:56: error: cannot find type 'URLRequest' in scope
53 | }
54 |
55 | public func mapURLRequestKeys() -> ReadOnlyStorage<URLRequest, Value> {
| `- error: cannot find type 'URLRequest' in scope
56 | return mapKeys({ .urlRequest($0) })
57 | }
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:79:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
77 | extension WebAPIProtocol {
78 |
79 | public init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
80 | let webAPI = WebAPI(provider: urlSession.asReadOnlyStorage())
81 | self.init(webAPI: webAPI)
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:84:42: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
82 | }
83 |
84 | public init(urlSessionConfiguration: URLSessionConfiguration) {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
85 | let urlSession = URLSession(configuration: urlSessionConfiguration)
86 | self.init(urlSession: urlSession)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:113:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
111 | }
112 |
113 | extension URLSessionConfiguration {
| `- error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
114 | public func setHTTPProxy(_ httpProxy: HTTPProxy) {
115 | connectionProxyDictionary = [
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:132:83: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
130 |
131 | extension WebAPIProtocol {
132 | public static func withProxy(_ httpProxy: HTTPProxy, urlSessionConfiguration: URLSessionConfiguration) -> Self {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
133 | urlSessionConfiguration.setHTTPProxy(httpProxy)
134 | return Self(urlSessionConfiguration: urlSessionConfiguration)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:80:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'asReadOnlyStorage'
78 |
79 | public init(urlSession: URLSession) {
80 | let webAPI = WebAPI(provider: urlSession.asReadOnlyStorage())
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'asReadOnlyStorage'
81 | self.init(webAPI: webAPI)
82 | }
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:85:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
83 |
84 | public init(urlSessionConfiguration: URLSessionConfiguration) {
85 | let urlSession = URLSession(configuration: urlSessionConfiguration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
86 | self.init(urlSession: urlSession)
87 | }
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:133:33: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'setHTTPProxy'
131 | extension WebAPIProtocol {
132 | public static func withProxy(_ httpProxy: HTTPProxy, urlSessionConfiguration: URLSessionConfiguration) -> Self {
133 | urlSessionConfiguration.setHTTPProxy(httpProxy)
| `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'setHTTPProxy'
134 | return Self(urlSessionConfiguration: urlSessionConfiguration)
135 | }
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:22:42: error: cannot find type 'Request' in scope
20 | }
21 |
22 | public func retrieve(forKey request: Request, completion: @escaping (ShallowsResult<Response>) -> ()) {
| `- error: cannot find type 'Request' in scope
23 | let completionHandler: (Data?, URLResponse?, Error?) -> () = { (data, response, error) in
24 | if let error = error {
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:22:89: error: cannot find type 'Response' in scope
20 | }
21 |
22 | public func retrieve(forKey request: Request, completion: @escaping (ShallowsResult<Response>) -> ()) {
| `- error: cannot find type 'Response' in scope
23 | let completionHandler: (Data?, URLResponse?, Error?) -> () = { (data, response, error) in
24 | if let error = error {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/29] Compiling Rainbow Rainbow.swift
[3/79] Compiling SwiftSoup CombiningEvaluator.swift
[4/79] Compiling SwiftSoup Comment.swift
[5/80] Compiling Rainbow Style.swift
[6/80] Compiling Rainbow XcodeColorsSupport.swift
[7/80] Compiling Rainbow StringGenerator.swift
[8/80] Compiling Rainbow String+Rainbow.swift
[9/80] Compiling Shallows WriteOnlyStorage.swift
[10/80] Emitting module Rainbow
[11/80] Compiling SwiftSoup Attributes.swift
[12/80] Compiling SwiftSoup BooleanAttribute.swift
[13/80] Compiling SwiftSoup CharacterExt.swift
[14/80] Compiling SwiftSoup CharacterReader.swift
[15/80] Compiling SwiftSoup ArrayExt.swift
[16/80] Compiling SwiftSoup Attribute.swift
[19/81] Compiling SwiftSoup Cleaner.swift
[20/81] Compiling SwiftSoup Collector.swift
[22/81] Compiling Shallows Zip.swift
[23/81] Emitting module SwiftyTextTable
[24/81] Compiling SwiftyTextTable TextTable.swift
[26/82] Compiling SwiftSoup Connection.swift
[27/82] Compiling SwiftSoup DataNode.swift
[30/82] Emitting module Shallows
[34/88] Compiling Light WebAPIProtocol.swift
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/WebAPI.swift:49:38: error: cannot find type 'URLRequest' in scope
47 | }
48 |
49 | public func retrieve(forKey url: URLRequest, completion: @escaping (ShallowsResult<Value>) -> ()) {
| `- error: cannot find type 'URLRequest' in scope
50 | retrieve(forKey: .urlRequest(url), completion: completion)
51 | }
[35/88] Compiling Light WebAPI.swift
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/WebAPI.swift:15:25: error: cannot find type 'URLRequest' in scope
13 | public enum Request {
14 | case url(URL)
15 | case urlRequest(URLRequest)
| `- error: cannot find type 'URLRequest' in scope
16 | }
17 |
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/WebAPI.swift:19:37: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 | public struct Response {
19 | public var httpUrlResponse: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | public var data: Data
21 | }
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/Light/Sources/Light/WebAPI.swift:49:38: error: cannot find type 'URLRequest' in scope
47 | }
48 |
49 | public func retrieve(forKey url: URLRequest, completion: @escaping (ShallowsResult<Value>) -> ()) {
| `- error: cannot find type 'URLRequest' in scope
50 | retrieve(forKey: .urlRequest(url), completion: completion)
51 | }
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/WebAPI.swift:50:27: error: reference to member 'urlRequest' cannot be resolved without a contextual type
48 |
49 | public func retrieve(forKey url: URLRequest, completion: @escaping (ShallowsResult<Value>) -> ()) {
50 | retrieve(forKey: .urlRequest(url), completion: completion)
| `- error: reference to member 'urlRequest' cannot be resolved without a contextual type
51 | }
52 |
[36/88] Compiling Light Light.swift
[37/88] Compiling Light URLSession+WebAPI.swift
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
9 | import Shallows
10 |
11 | extension URLSession : ReadOnlyStorageProtocol {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
12 |
13 | public typealias Request = WebAPI.Request
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:55:56: error: cannot find type 'URLRequest' in scope
53 | }
54 |
55 | public func mapURLRequestKeys() -> ReadOnlyStorage<URLRequest, Value> {
| `- error: cannot find type 'URLRequest' in scope
56 | return mapKeys({ .urlRequest($0) })
57 | }
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:79:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
77 | extension WebAPIProtocol {
78 |
79 | public init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
80 | let webAPI = WebAPI(provider: urlSession.asReadOnlyStorage())
81 | self.init(webAPI: webAPI)
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:84:42: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
82 | }
83 |
84 | public init(urlSessionConfiguration: URLSessionConfiguration) {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
85 | let urlSession = URLSession(configuration: urlSessionConfiguration)
86 | self.init(urlSession: urlSession)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:113:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
111 | }
112 |
113 | extension URLSessionConfiguration {
| `- error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
114 | public func setHTTPProxy(_ httpProxy: HTTPProxy) {
115 | connectionProxyDictionary = [
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:132:83: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
130 |
131 | extension WebAPIProtocol {
132 | public static func withProxy(_ httpProxy: HTTPProxy, urlSessionConfiguration: URLSessionConfiguration) -> Self {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
133 | urlSessionConfiguration.setHTTPProxy(httpProxy)
134 | return Self(urlSessionConfiguration: urlSessionConfiguration)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:80:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'asReadOnlyStorage'
78 |
79 | public init(urlSession: URLSession) {
80 | let webAPI = WebAPI(provider: urlSession.asReadOnlyStorage())
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'asReadOnlyStorage'
81 | self.init(webAPI: webAPI)
82 | }
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:85:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
83 |
84 | public init(urlSessionConfiguration: URLSessionConfiguration) {
85 | let urlSession = URLSession(configuration: urlSessionConfiguration)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
86 | self.init(urlSession: urlSession)
87 | }
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:133:33: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'setHTTPProxy'
131 | extension WebAPIProtocol {
132 | public static func withProxy(_ httpProxy: HTTPProxy, urlSessionConfiguration: URLSessionConfiguration) -> Self {
133 | urlSessionConfiguration.setHTTPProxy(httpProxy)
| `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'setHTTPProxy'
134 | return Self(urlSessionConfiguration: urlSessionConfiguration)
135 | }
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:22:42: error: cannot find type 'Request' in scope
20 | }
21 |
22 | public func retrieve(forKey request: Request, completion: @escaping (ShallowsResult<Response>) -> ()) {
| `- error: cannot find type 'Request' in scope
23 | let completionHandler: (Data?, URLResponse?, Error?) -> () = { (data, response, error) in
24 | if let error = error {
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:22:89: error: cannot find type 'Response' in scope
20 | }
21 |
22 | public func retrieve(forKey request: Request, completion: @escaping (ShallowsResult<Response>) -> ()) {
| `- error: cannot find type 'Response' in scope
23 | let completionHandler: (Data?, URLResponse?, Error?) -> () = { (data, response, error) in
24 | if let error = error {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/88] Emitting module Light
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:11:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
9 | import Shallows
10 |
11 | extension URLSession : ReadOnlyStorageProtocol {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
12 |
13 | public typealias Request = WebAPI.Request
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:55:56: error: cannot find type 'URLRequest' in scope
53 | }
54 |
55 | public func mapURLRequestKeys() -> ReadOnlyStorage<URLRequest, Value> {
| `- error: cannot find type 'URLRequest' in scope
56 | return mapKeys({ .urlRequest($0) })
57 | }
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:79:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
77 | extension WebAPIProtocol {
78 |
79 | public init(urlSession: URLSession) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
80 | let webAPI = WebAPI(provider: urlSession.asReadOnlyStorage())
81 | self.init(webAPI: webAPI)
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:84:42: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
82 | }
83 |
84 | public init(urlSessionConfiguration: URLSessionConfiguration) {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
85 | let urlSession = URLSession(configuration: urlSessionConfiguration)
86 | self.init(urlSession: urlSession)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:113:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
111 | }
112 |
113 | extension URLSessionConfiguration {
| `- error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
114 | public func setHTTPProxy(_ httpProxy: HTTPProxy) {
115 | connectionProxyDictionary = [
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/URLSession+WebAPI.swift:132:83: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
130 |
131 | extension WebAPIProtocol {
132 | public static func withProxy(_ httpProxy: HTTPProxy, urlSessionConfiguration: URLSessionConfiguration) -> Self {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
133 | urlSessionConfiguration.setHTTPProxy(httpProxy)
134 | return Self(urlSessionConfiguration: urlSessionConfiguration)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/WebAPI.swift:15:25: error: cannot find type 'URLRequest' in scope
13 | public enum Request {
14 | case url(URL)
15 | case urlRequest(URLRequest)
| `- error: cannot find type 'URLRequest' in scope
16 | }
17 |
/host/spi-builder-workspace/.build/checkouts/Light/Sources/Light/WebAPI.swift:19:37: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 | public struct Response {
19 | public var httpUrlResponse: HTTPURLResponse
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | public var data: Data
21 | }
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/Light/Sources/Light/WebAPI.swift:49:38: error: cannot find type 'URLRequest' in scope
47 | }
48 |
49 | public func retrieve(forKey url: URLRequest, completion: @escaping (ShallowsResult<Value>) -> ()) {
| `- error: cannot find type 'URLRequest' in scope
50 | retrieve(forKey: .urlRequest(url), completion: completion)
51 | }
[39/88] Compiling SwiftSoup OrderedSet.swift
[40/88] Compiling SwiftSoup ParseError.swift
[41/88] Compiling SwiftSoup ParseErrorList.swift
[42/88] Compiling SwiftSoup ParseSettings.swift
[43/88] Compiling SwiftSoup Parser.swift
[44/88] Compiling SwiftSoup Pattern.swift
[45/88] Compiling SwiftSoup QueryParser.swift
[46/95] Emitting module SwiftSoup
[54/95] Compiling SwiftSoup Selector.swift
[55/95] Compiling SwiftSoup SerializationException.swift
[56/95] Compiling SwiftSoup SimpleDictionary.swift
[57/95] Compiling SwiftSoup StreamReader.swift
[58/95] Compiling SwiftSoup String.swift
[59/95] Compiling SwiftSoup StringBuilder.swift
[60/95] Compiling SwiftSoup StringUtil.swift
[61/95] Compiling SwiftSoup StructuralEvaluator.swift
[62/95] Compiling SwiftSoup SwiftSoup.swift
[63/95] Compiling SwiftSoup Tag.swift
[64/95] Compiling SwiftSoup TextNode.swift
[65/95] Compiling SwiftSoup Token.swift
[66/95] Compiling SwiftSoup TokenQueue.swift
[67/95] Compiling SwiftSoup Tokeniser.swift
BUILD FAILURE 6.1 linux