Build Information
Failed to build Selenops, reference 2.0.1 (8c2ee9
), with Swift 6.1 for Linux on 26 Apr 2025 07:31:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/zntfdr/Selenops.git
Reference: 2.0.1
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/zntfdr/Selenops
* tag 2.0.1 -> FETCH_HEAD
HEAD is now at 8c2ee90 remove file headers
Cloned https://github.com/zntfdr/Selenops.git
Revision (git rev-parse @):
8c2ee90339cf47edf8087ac40a924bb1db6e4fec
SUCCESS checkout https://github.com/zntfdr/Selenops.git at 2.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/zntfdr/Selenops.git
https://github.com/zntfdr/Selenops.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "0.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-tools-support-core",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "0.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-tools-support-core.git"
},
{
"identity" : "swiftsoup",
"requirement" : {
"range" : [
{
"lower_bound" : "2.3.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scinfu/SwiftSoup.git"
}
],
"manifest_display_name" : "Selenops",
"name" : "Selenops",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Selenops",
"targets" : [
"Selenops"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "selenops-cli",
"targets" : [
"selenopsCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "selenopsCLI",
"module_type" : "SwiftTarget",
"name" : "selenopsCLI",
"path" : "Sources/selenopsCLI",
"product_dependencies" : [
"ArgumentParser",
"SwiftToolsSupport"
],
"product_memberships" : [
"selenops-cli"
],
"sources" : [
"Executor.swift",
"URL+ExpressibleByArgument.swift",
"main.swift"
],
"target_dependencies" : [
"Selenops"
],
"type" : "executable"
},
{
"c99name" : "Selenops",
"module_type" : "SwiftTarget",
"name" : "Selenops",
"path" : "Sources/Selenops",
"product_dependencies" : [
"SwiftSoup"
],
"product_memberships" : [
"Selenops",
"selenops-cli"
],
"sources" : [
"Crawler.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/scinfu/SwiftSoup.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-tools-support-core.git
[1/3908] Fetching swiftsoup
[2972/10626] Fetching swiftsoup, swift-tools-support-core
[10627/25563] Fetching swiftsoup, swift-tools-support-core, swift-argument-parser
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.50s)
[11228/18845] Fetching swiftsoup, swift-argument-parser
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.78s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.78s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.0.1 (1.33s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.0.6 (0.57s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.8.7 (0.50s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 0.0.6
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.8.7
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.0.1
Building for debugging...
[0/20] Write sources
[7/20] Compiling TSCclibc libc.c
[8/20] Write swift-version-24593BA9C3E375BF.txt
[10/104] Emitting module ArgumentParser
[11/107] Compiling SwiftSoup ParseError.swift
[12/107] Compiling SwiftSoup Collector.swift
[13/107] Compiling SwiftSoup CombiningEvaluator.swift
[14/107] Compiling SwiftSoup Comment.swift
[15/107] Emitting module SwiftSoup
[16/114] Emitting module TSCLibc
[17/114] Compiling TSCLibc libc.swift
[18/115] Compiling SwiftSoup Entities.swift
[19/115] Compiling SwiftSoup Evaluator.swift
[20/115] Compiling SwiftSoup Exception.swift
[21/115] Compiling SwiftSoup FormElement.swift
[22/115] Compiling SwiftSoup BooleanAttribute.swift
[23/115] Compiling SwiftSoup CharacterExt.swift
[24/115] Compiling SwiftSoup CharacterReader.swift
[25/115] Compiling SwiftSoup Cleaner.swift
[26/115] Compiling SwiftSoup HtmlTreeBuilder.swift
[27/115] Compiling SwiftSoup HtmlTreeBuilderState.swift
[28/115] Compiling SwiftSoup HttpStatusException.swift
[29/115] Compiling SwiftSoup Mutex.swift
[30/115] Compiling SwiftSoup DocumentType.swift
[31/115] Compiling SwiftSoup Element.swift
[32/115] Compiling SwiftSoup Elements.swift
[33/115] Compiling SwiftSoup Node.swift
[34/115] Compiling SwiftSoup NodeTraversor.swift
[35/115] Compiling SwiftSoup NodeVisitor.swift
[36/115] Compiling SwiftSoup OrderedSet.swift
[37/115] Compiling ArgumentParser UsageGenerator.swift
[38/115] Compiling ArgumentParser StringExtensions.swift
[39/115] Compiling ArgumentParser Tree.swift
[40/115] Compiling SwiftSoup ArrayExt.swift
[41/115] Compiling SwiftSoup Attribute.swift
[42/115] Compiling SwiftSoup Attributes.swift
[43/115] Compiling SwiftSoup BinarySearch.swift
[45/116] Wrapping AST for TSCLibc for debugging
[53/116] Compiling SwiftSoup DataUtil.swift
[54/116] Compiling SwiftSoup Document.swift
[55/116] Compiling SwiftSoup ParseErrorList.swift
[56/116] Compiling SwiftSoup ParseSettings.swift
[57/116] Compiling SwiftSoup Parser.swift
[58/116] Compiling SwiftSoup ParsingStrings.swift
[59/116] Compiling SwiftSoup Pattern.swift
[60/116] Compiling SwiftSoup QueryParser.swift
[61/116] Compiling SwiftSoup SerializationException.swift
[70/116] Compiling SwiftSoup SimpleDictionary.swift
[71/116] Compiling SwiftSoup StreamReader.swift
[72/116] Compiling SwiftSoup String.swift
[73/116] Compiling SwiftSoup StringBuilder.swift
[74/116] Compiling SwiftSoup StringUtil.swift
[75/116] Compiling SwiftSoup StructuralEvaluator.swift
[76/116] Compiling SwiftSoup SwiftSoup.swift
[77/116] Compiling SwiftSoup Tag.swift
[78/116] Compiling SwiftSoup TextNode.swift
[79/116] Compiling SwiftSoup Token.swift
[80/116] Compiling SwiftSoup TokenQueue.swift
[81/116] Compiling SwiftSoup Tokeniser.swift
[82/116] Compiling SwiftSoup TokeniserState.swift
[83/116] Compiling SwiftSoup TreeBuilder.swift
[83/116] Wrapping AST for ArgumentParser for debugging
[85/154] Compiling TSCBasic Await.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 | return try await(body).get()
| `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
19 | }
20 |
[86/154] Compiling TSCBasic ByteString.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 | return try await(body).get()
| `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
19 | }
20 |
[87/154] Compiling TSCBasic CStringArray.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 | return try await(body).get()
| `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
19 | }
20 |
[88/154] Compiling TSCBasic CacheableSequence.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 | return try await(body).get()
| `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
19 | }
20 |
[89/154] Compiling TSCBasic CodableResult.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 | return try await(body).get()
| `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
19 | }
20 |
[90/154] Compiling TSCBasic CollectionAlgorithms.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 | return try await(body).get()
| `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
19 | }
20 |
[97/159] Compiling TSCBasic CollectionExtensions.swift
[98/159] Compiling TSCBasic Condition.swift
[99/159] Compiling TSCBasic DeltaAlgorithm.swift
[100/159] Compiling TSCBasic DiagnosticsEngine.swift
[101/159] Compiling TSCBasic DictionaryExtensions.swift
[102/159] Compiling TSCBasic DictionaryLiteralExtensions.swift
[103/159] Compiling TSCBasic ObjectIdentifierProtocol.swift
[104/159] Compiling TSCBasic OrderedDictionary.swift
[105/159] Compiling TSCBasic OrderedSet.swift
[106/159] Compiling TSCBasic OutputByteStream.swift
[107/159] Emitting module TSCBasic
[108/159] Compiling SwiftSoup UTF8Arrays.swift
[109/159] Compiling SwiftSoup UnfairLock.swift
[110/159] Compiling SwiftSoup UnicodeScalar.swift
[111/159] Compiling SwiftSoup Validate.swift
[112/159] Compiling SwiftSoup Whitelist.swift
[113/159] Compiling SwiftSoup XmlDeclaration.swift
[114/159] Compiling SwiftSoup XmlTreeBuilder.swift
[115/161] Wrapping AST for SwiftSoup for debugging
[127/162] Compiling TSCBasic Path.swift
[128/162] Compiling TSCBasic Result.swift
[129/162] Compiling TSCBasic SHA256.swift
[130/162] Compiling TSCBasic SortedArray.swift
[131/162] Compiling TSCBasic StringConversions.swift
[132/162] Compiling TSCBasic SynchronizedQueue.swift
[133/162] Compiling TSCBasic TemporaryFile.swift
[134/162] Compiling TSCBasic TerminalController.swift
[135/162] Compiling TSCBasic Thread.swift
[136/162] Compiling TSCBasic Tuple.swift
[137/162] Compiling TSCBasic misc.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[138/162] Emitting module Selenops
/host/spi-builder-workspace/Sources/Selenops/Crawler.swift:61:20: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
59 |
60 | /// The current `URLSessionDataTask`, if any.
61 | var currentTask: URLSessionDataTask?
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
62 |
63 | /// Crawler initializer.
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
[139/162] Compiling Selenops Crawler.swift
/host/spi-builder-workspace/Sources/Selenops/Crawler.swift:61:20: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
59 |
60 | /// The current `URLSessionDataTask`, if any.
61 | var currentTask: URLSessionDataTask?
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
62 |
63 | /// Crawler initializer.
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Selenops/Crawler.swift:90:18: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
88 | /// Immediately ends the crawling process.
89 | public func cancel() {
90 | currentTask?.cancel()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
91 | delegate?.crawlerDidFinish(self)
92 | }
/host/spi-builder-workspace/Sources/Selenops/Crawler.swift:120:30: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
118 | visitedPages.insert(url)
119 |
120 | currentTask = URLSession.shared.dataTask(with: url) { [weak self] data, _, _ in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
121 | defer { self?.crawl() }
122 | guard
/host/spi-builder-workspace/Sources/Selenops/Crawler.swift:120:71: error: cannot infer type of closure parameter 'data' without a type annotation
118 | visitedPages.insert(url)
119 |
120 | currentTask = URLSession.shared.dataTask(with: url) { [weak self] data, _, _ in
| `- error: cannot infer type of closure parameter 'data' without a type annotation
121 | defer { self?.crawl() }
122 | guard
/host/spi-builder-workspace/Sources/Selenops/Crawler.swift:120:77: error: cannot infer type of closure parameter '_' without a type annotation
118 | visitedPages.insert(url)
119 |
120 | currentTask = URLSession.shared.dataTask(with: url) { [weak self] data, _, _ in
| `- error: cannot infer type of closure parameter '_' without a type annotation
121 | defer { self?.crawl() }
122 | guard
/host/spi-builder-workspace/Sources/Selenops/Crawler.swift:120:80: error: cannot infer type of closure parameter '_' without a type annotation
118 | visitedPages.insert(url)
119 |
120 | currentTask = URLSession.shared.dataTask(with: url) { [weak self] data, _, _ in
| `- error: cannot infer type of closure parameter '_' without a type annotation
121 | defer { self?.crawl() }
122 | guard
/host/spi-builder-workspace/Sources/Selenops/Crawler.swift:129:18: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
127 |
128 | delegate?.crawler(self, willVisitUrl: url)
129 | currentTask?.resume()
| `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
130 | }
131 |
[140/162] Compiling TSCBasic JSONMapper.swift
[141/162] Compiling TSCBasic KeyedPair.swift
[142/162] Compiling TSCBasic LazyCache.swift
[143/162] Compiling TSCBasic Lock.swift
[144/162] Compiling TSCBasic OSLog.swift
[145/162] Compiling TSCBasic PathShims.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
370 | defer { free(devNull) }
371 | // Open /dev/null as stdin.
372 | posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
373 |
374 | var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
393 | let argv = CStringArray(arguments)
394 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
395 | let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
396 |
397 | guard rv == 0 else {
[146/162] Compiling TSCBasic Process.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
370 | defer { free(devNull) }
371 | // Open /dev/null as stdin.
372 | posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
373 |
374 | var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
393 | let argv = CStringArray(arguments)
394 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
395 | let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
396 |
397 | guard rv == 0 else {
[147/162] Compiling TSCBasic ProcessEnv.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
370 | defer { free(devNull) }
371 | // Open /dev/null as stdin.
372 | posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
373 |
374 | var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
393 | let argv = CStringArray(arguments)
394 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
395 | let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
396 |
397 | guard rv == 0 else {
[148/162] Compiling TSCBasic ProcessSet.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
370 | defer { free(devNull) }
371 | // Open /dev/null as stdin.
372 | posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
373 |
374 | var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
393 | let argv = CStringArray(arguments)
394 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
395 | let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
396 |
397 | guard rv == 0 else {
[149/162] Compiling TSCBasic RegEx.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
370 | defer { free(devNull) }
371 | // Open /dev/null as stdin.
372 | posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
373 |
374 | var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
393 | let argv = CStringArray(arguments)
394 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
395 | let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
396 |
397 | guard rv == 0 else {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/12] Write swift-version-24593BA9C3E375BF.txt
[2/42] Compiling TSCLibc libc.swift
[3/42] Emitting module TSCLibc
[5/134] Emitting module ArgumentParser
[6/134] Compiling TSCBasic CollectionExtensions.swift
[7/134] Compiling TSCBasic Condition.swift
[8/134] Compiling TSCBasic DeltaAlgorithm.swift
[9/134] Compiling TSCBasic DiagnosticsEngine.swift
[10/137] Compiling TSCBasic Await.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 | return try await(body).get()
| `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
19 | }
20 |
[11/137] Compiling TSCBasic ByteString.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 | return try await(body).get()
| `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
19 | }
20 |
[12/137] Compiling TSCBasic CStringArray.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 | return try await(body).get()
| `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
19 | }
20 |
[13/137] Compiling TSCBasic CacheableSequence.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 | return try await(body).get()
| `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
19 | }
20 |
[14/137] Compiling TSCBasic CodableResult.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 | return try await(body).get()
| `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
19 | }
20 |
[15/137] Compiling TSCBasic CollectionAlgorithms.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Await.swift:18:28: error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
16 | /// - Throws: The error wrapped by the async method's result
17 | public func await<T, ErrorType>(_ body: (@escaping (Result<T, ErrorType>) -> Void) -> Void) throws -> T {
18 | return try await(body).get()
| `- error: value of type '(@escaping (Result<T, ErrorType>) -> Void) -> Void' has no member 'get'
19 | }
20 |
[20/137] Compiling TSCBasic DictionaryExtensions.swift
[21/137] Compiling TSCBasic DictionaryLiteralExtensions.swift
[22/142] Emitting module TSCBasic
[23/142] Compiling TSCBasic OrderedDictionary.swift
[24/142] Compiling TSCBasic OrderedSet.swift
[25/142] Compiling TSCBasic OutputByteStream.swift
[26/142] Compiling TSCBasic Path.swift
[27/142] Compiling TSCBasic Lock.swift
[28/142] Compiling TSCBasic OSLog.swift
[29/142] Compiling TSCBasic ObjectIdentifierProtocol.swift
[34/142] Compiling TSCBasic EditDistance.swift
[35/142] Compiling TSCBasic FileInfo.swift
[36/142] Compiling TSCBasic FileSystem.swift
[37/142] Compiling TSCBasic GraphAlgorithms.swift
[42/142] Compiling TSCBasic JSON.swift
[43/142] Compiling TSCBasic JSONMapper.swift
[44/142] Compiling TSCBasic KeyedPair.swift
[45/142] Compiling TSCBasic LazyCache.swift
[46/142] Compiling ArgumentParser UsageGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
370 | defer { free(devNull) }
371 | // Open /dev/null as stdin.
372 | posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
373 |
374 | var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
393 | let argv = CStringArray(arguments)
394 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
395 | let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
396 |
397 | guard rv == 0 else {
[47/142] Compiling ArgumentParser StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
370 | defer { free(devNull) }
371 | // Open /dev/null as stdin.
372 | posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
373 |
374 | var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
393 | let argv = CStringArray(arguments)
394 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
395 | let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
396 |
397 | guard rv == 0 else {
[48/142] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
370 | defer { free(devNull) }
371 | // Open /dev/null as stdin.
372 | posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
373 |
374 | var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
393 | let argv = CStringArray(arguments)
394 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
395 | let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
396 |
397 | guard rv == 0 else {
[49/142] Compiling TSCBasic ProcessSet.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
370 | defer { free(devNull) }
371 | // Open /dev/null as stdin.
372 | posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
373 |
374 | var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
393 | let argv = CStringArray(arguments)
394 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
395 | let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
396 |
397 | guard rv == 0 else {
[50/142] Compiling TSCBasic RegEx.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
370 | defer { free(devNull) }
371 | // Open /dev/null as stdin.
372 | posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
| |- error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
373 |
374 | var outputPipe: [Int32] = [0, 0]
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
393 | let argv = CStringArray(arguments)
394 | let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" }))
395 | let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
| |- error: value of optional type 'UnsafeMutablePointer<Int8>?' must be unwrapped to a value of type 'UnsafeMutablePointer<Int8>'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
396 |
397 | guard rv == 0 else {
[51/142] Compiling TSCBasic Result.swift
[52/142] Compiling TSCBasic SHA256.swift
[53/142] Compiling TSCBasic SortedArray.swift
[54/142] Compiling TSCBasic StringConversions.swift
[55/142] Compiling TSCBasic SynchronizedQueue.swift
[83/150] Compiling TSCBasic TemporaryFile.swift
[84/150] Compiling TSCBasic TerminalController.swift
[85/150] Compiling TSCBasic Thread.swift
[86/150] Compiling TSCBasic Tuple.swift
[87/150] Compiling TSCBasic misc.swift
[98/150] Compiling SwiftSoup StringBuilder.swift
[99/150] Compiling SwiftSoup StringUtil.swift
[100/150] Compiling SwiftSoup StructuralEvaluator.swift
[101/150] Compiling SwiftSoup SwiftSoup.swift
[102/150] Compiling SwiftSoup Tag.swift
[103/150] Compiling SwiftSoup TextNode.swift
[104/150] Compiling SwiftSoup Token.swift
[105/150] Compiling SwiftSoup TokenQueue.swift
[106/150] Compiling SwiftSoup Tokeniser.swift
[107/150] Compiling SwiftSoup TokeniserState.swift
[108/150] Compiling SwiftSoup TreeBuilder.swift
[108/150] Wrapping AST for ArgumentParser for debugging
BUILD FAILURE 6.1 linux