Build Information
Failed to build Selenops, reference master (8c2ee9
), with Swift 6.1 for Linux on 26 Apr 2025 07:31:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: 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/zntfdr/Selenops
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
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-4609320-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/6718] Fetching swift-tools-support-core
[1883/10626] Fetching swift-tools-support-core, swiftsoup
[10627/25563] Fetching swift-tools-support-core, swiftsoup, swift-argument-parser
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.45s)
[5402/18845] Fetching swiftsoup, swift-argument-parser
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.45s)
[1644/14937] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.76s)
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.26s)
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.56s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.8.7 (0.42s)
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
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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 0.0.6
Building for debugging...
[0/20] Write sources
[7/20] Compiling TSCclibc libc.c
[8/20] Write swift-version-24593BA9C3E375BF.txt
[10/104] Compiling ArgumentParser ParsableCommand.swift
[11/104] Compiling ArgumentParser ArgumentDecoder.swift
[12/104] Compiling ArgumentParser ArgumentDefinition.swift
[13/104] Compiling ArgumentParser ArgumentSet.swift
[14/107] Compiling TSCLibc libc.swift
[15/107] Emitting module TSCLibc
[17/108] Compiling ArgumentParser Argument.swift
[18/108] Compiling ArgumentParser ArgumentHelp.swift
[19/108] Compiling ArgumentParser Errors.swift
[20/108] Compiling ArgumentParser Flag.swift
[21/108] Emitting module ArgumentParser
[21/108] Wrapping AST for TSCLibc for debugging
[23/108] Compiling ArgumentParser Option.swift
[24/108] Compiling ArgumentParser OptionGroup.swift
[25/108] Compiling ArgumentParser CommandConfiguration.swift
[26/108] Compiling ArgumentParser UsageGenerator.swift
[27/108] Compiling ArgumentParser StringExtensions.swift
[28/108] Compiling ArgumentParser Tree.swift
[29/108] Compiling SwiftSoup SerializationException.swift
[30/153] Emitting module SwiftSoup
[31/153] Compiling TSCBasic CStringArray.swift
[32/153] Compiling TSCBasic CacheableSequence.swift
[33/153] Compiling TSCBasic CodableResult.swift
[34/153] Compiling TSCBasic CollectionAlgorithms.swift
[35/153] Compiling TSCBasic KeyedPair.swift
[36/153] Compiling TSCBasic LazyCache.swift
[37/153] Compiling TSCBasic Lock.swift
[38/153] Compiling TSCBasic OSLog.swift
[39/153] Compiling TSCBasic EditDistance.swift
[40/153] Compiling TSCBasic FileInfo.swift
[41/153] Compiling TSCBasic FileSystem.swift
[42/153] Compiling TSCBasic GraphAlgorithms.swift
[43/153] Compiling TSCBasic JSON.swift
[44/153] Compiling TSCBasic ObjectIdentifierProtocol.swift
[45/153] Compiling TSCBasic OrderedDictionary.swift
[46/153] Compiling TSCBasic OrderedSet.swift
[47/153] Compiling TSCBasic OutputByteStream.swift
[48/153] Compiling TSCBasic Path.swift
[49/153] Compiling TSCBasic JSONMapper.swift
[50/153] Compiling TSCBasic RegEx.swift
[51/153] Compiling TSCBasic Result.swift
[52/153] Compiling TSCBasic SHA256.swift
[53/153] Compiling TSCBasic SortedArray.swift
[54/153] Compiling TSCBasic StringConversions.swift
[55/153] Compiling TSCBasic SynchronizedQueue.swift
[56/153] Compiling SwiftSoup SwiftSoup.swift
[57/153] Compiling SwiftSoup Tag.swift
[58/153] Compiling SwiftSoup TextNode.swift
[59/153] Compiling SwiftSoup Token.swift
[60/153] Compiling SwiftSoup TokenQueue.swift
[61/153] Compiling SwiftSoup Tokeniser.swift
[62/153] Compiling SwiftSoup TokeniserState.swift
[63/153] Compiling SwiftSoup TreeBuilder.swift
[64/153] Compiling TSCBasic PathShims.swift
[65/153] Compiling TSCBasic Process.swift
[66/153] Compiling TSCBasic ProcessEnv.swift
[67/154] Wrapping AST for ArgumentParser for debugging
[69/154] Compiling SwiftSoup HtmlTreeBuilderState.swift
[70/154] Compiling SwiftSoup HttpStatusException.swift
[71/154] Compiling SwiftSoup Mutex.swift
[72/154] Compiling SwiftSoup Node.swift
[73/154] Compiling SwiftSoup NodeTraversor.swift
[74/154] Compiling SwiftSoup NodeVisitor.swift
[75/154] Compiling SwiftSoup OrderedSet.swift
[76/154] Compiling SwiftSoup ParseError.swift
[93/154] Compiling TSCBasic CollectionExtensions.swift
[94/154] Compiling TSCBasic Condition.swift
[95/154] Compiling TSCBasic DeltaAlgorithm.swift
[96/154] Compiling TSCBasic DiagnosticsEngine.swift
[97/154] Compiling TSCBasic DictionaryExtensions.swift
[98/154] Compiling TSCBasic DictionaryLiteralExtensions.swift
[99/154] Compiling TSCBasic Await.swift
[100/154] Compiling TSCBasic ByteString.swift
[101/154] Compiling SwiftSoup UTF8Arrays.swift
[102/154] Compiling SwiftSoup UnfairLock.swift
[103/154] Compiling SwiftSoup UnicodeScalar.swift
[104/154] Compiling SwiftSoup Validate.swift
[105/154] Compiling SwiftSoup Whitelist.swift
[106/154] Compiling SwiftSoup XmlDeclaration.swift
[107/154] Compiling SwiftSoup XmlTreeBuilder.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 {
/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 {
/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 {
[116/155] 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 {
/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 {
[128/160] Wrapping AST for SwiftSoup for debugging
[141/160] Emitting module TSCBasic
/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 |
/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 |
/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 |
/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 |
/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 |
/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[148/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
[149/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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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] Compiling TSCBasic CodableResult.swift
[6/134] Compiling TSCBasic CollectionAlgorithms.swift
[7/134] Compiling TSCBasic CollectionExtensions.swift
[8/134] Compiling TSCBasic Condition.swift
[9/137] Compiling TSCBasic Await.swift
[10/137] Compiling TSCBasic ByteString.swift
[11/137] Compiling TSCBasic CStringArray.swift
[12/137] Compiling TSCBasic CacheableSequence.swift
[13/137] Compiling TSCBasic JSON.swift
[14/137] Compiling TSCBasic JSONMapper.swift
[15/137] Compiling TSCBasic KeyedPair.swift
[16/137] Compiling TSCBasic LazyCache.swift
[17/137] Compiling TSCBasic DeltaAlgorithm.swift
[18/137] Compiling TSCBasic DiagnosticsEngine.swift
[19/137] Compiling TSCBasic DictionaryExtensions.swift
[20/137] Compiling TSCBasic DictionaryLiteralExtensions.swift
[21/137] Compiling TSCBasic OrderedSet.swift
[22/137] Compiling TSCBasic OutputByteStream.swift
[23/137] Compiling TSCBasic Path.swift
[24/137] 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 {
[25/137] 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 {
[26/137] 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 {
[27/137] 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 {
[28/137] 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 {
/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 |
/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 |
/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 |
/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 |
/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 |
/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 |
[35/142] Emitting module TSCBasic
[36/142] Compiling TSCBasic EditDistance.swift
[37/142] Compiling TSCBasic FileInfo.swift
[38/142] Compiling TSCBasic FileSystem.swift
[39/142] Compiling TSCBasic GraphAlgorithms.swift
[40/142] Emitting module ArgumentParser
[41/142] Compiling TSCBasic Lock.swift
[42/142] Compiling TSCBasic OSLog.swift
[43/142] Compiling TSCBasic ObjectIdentifierProtocol.swift
[44/142] Compiling TSCBasic OrderedDictionary.swift
[57/150] Compiling TSCBasic Result.swift
[58/150] Compiling TSCBasic SHA256.swift
[59/150] Compiling TSCBasic SortedArray.swift
[60/150] Compiling TSCBasic StringConversions.swift
[61/150] Compiling TSCBasic SynchronizedQueue.swift
[83/150] Emitting module SwiftSoup
[83/150] Wrapping AST for ArgumentParser for debugging
[85/150] Compiling TSCBasic TemporaryFile.swift
[86/150] Compiling TSCBasic TerminalController.swift
[87/150] Compiling TSCBasic Thread.swift
[88/150] Compiling TSCBasic Tuple.swift
[89/150] Compiling TSCBasic misc.swift
BUILD FAILURE 6.1 linux