Build Information
Failed to build Selenops, reference 2.0.1 (8c2ee9
), with Swift 6.2 (beta) for Linux on 18 Jun 2025 20:38:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path: $PWD
https://github.com/zntfdr/Selenops.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/3916] Fetching swiftsoup
[1450/10771] Fetching swiftsoup, swift-tools-support-core
[10772/26151] Fetching swiftsoup, swift-tools-support-core, swift-argument-parser
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.13s)
Fetched https://github.com/scinfu/SwiftSoup.git from cache (1.13s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.13s)
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.67s)
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.46s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.8.8 (0.37s)
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/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.8
Building for debugging...
[0/20] Write sources
[7/20] Compiling TSCclibc libc.c
[8/20] Write swift-version-24593BA9C3E375BF.txt
[10/104] Emitting module SwiftSoup
[11/111] Emitting module TSCLibc
[12/111] Compiling TSCLibc libc.swift
[13/112] Compiling ArgumentParser EnumerableFlag.swift
[14/112] Compiling ArgumentParser ExpressibleByArgument.swift
[15/112] Compiling ArgumentParser ParsableArguments.swift
[16/112] Compiling SwiftSoup Cleaner.swift
[17/115] Wrapping AST for TSCLibc for debugging
[19/115] Compiling ArgumentParser Argument.swift
[20/115] Compiling ArgumentParser ArgumentHelp.swift
[21/115] Compiling ArgumentParser Errors.swift
[22/115] Compiling ArgumentParser Flag.swift
[23/115] Emitting module ArgumentParser
[32/115] Compiling SwiftSoup DocumentType.swift
[33/115] Compiling SwiftSoup Element.swift
[34/115] Compiling SwiftSoup Elements.swift
[35/115] Compiling SwiftSoup Entities.swift
[36/115] Compiling SwiftSoup HtmlTreeBuilderState.swift
[37/115] Compiling SwiftSoup HttpStatusException.swift
[38/115] Compiling SwiftSoup Mutex.swift
[39/115] Compiling SwiftSoup Node.swift
[40/115] Compiling SwiftSoup Evaluator.swift
[41/115] Compiling SwiftSoup Exception.swift
[42/115] Compiling SwiftSoup FormElement.swift
[43/115] Compiling SwiftSoup HtmlTreeBuilder.swift
[44/115] Compiling SwiftSoup SimpleDictionary.swift
[45/115] Compiling SwiftSoup StreamReader.swift
[46/115] Compiling SwiftSoup String.swift
[47/115] Compiling SwiftSoup NodeTraversor.swift
[48/115] Compiling SwiftSoup NodeVisitor.swift
[49/115] Compiling SwiftSoup OrderedSet.swift
[50/115] Compiling SwiftSoup ParseError.swift
[51/153] Compiling SwiftSoup Tag.swift
[52/153] Compiling SwiftSoup TextNode.swift
[53/153] Compiling SwiftSoup Token.swift
[54/153] Compiling SwiftSoup TokenQueue.swift
[55/153] Compiling SwiftSoup Tokeniser.swift
[56/153] Compiling SwiftSoup TokeniserState.swift
[57/153] Compiling SwiftSoup TreeBuilder.swift
[58/153] Compiling SwiftSoup ParseErrorList.swift
[59/153] Compiling SwiftSoup ParseSettings.swift
[60/153] Compiling SwiftSoup Parser.swift
[61/153] Compiling SwiftSoup ParsingStrings.swift
[62/153] Compiling SwiftSoup Pattern.swift
[63/153] Compiling SwiftSoup QueryParser.swift
[64/153] Compiling SwiftSoup SerializationException.swift
[65/153] Compiling TSCBasic LazyCache.swift
[66/153] Compiling TSCBasic Lock.swift
[67/153] Compiling TSCBasic OSLog.swift
[68/153] Compiling TSCBasic PathShims.swift
[69/153] Compiling TSCBasic Process.swift
[70/153] Compiling TSCBasic ProcessEnv.swift
[71/153] Compiling TSCBasic ProcessSet.swift
[72/153] Compiling TSCBasic DeltaAlgorithm.swift
[73/153] Compiling TSCBasic DiagnosticsEngine.swift
[74/153] Compiling TSCBasic DictionaryExtensions.swift
[75/153] Compiling TSCBasic DictionaryLiteralExtensions.swift
[76/153] Compiling TSCBasic EditDistance.swift
[77/153] Compiling TSCBasic FileInfo.swift
[78/153] Compiling TSCBasic FileSystem.swift
[79/153] Compiling TSCBasic GraphAlgorithms.swift
[80/153] Compiling TSCBasic RegEx.swift
[81/153] Compiling TSCBasic Result.swift
[82/153] Compiling TSCBasic SHA256.swift
[83/153] Compiling TSCBasic SortedArray.swift
[84/153] Compiling TSCBasic StringConversions.swift
[85/153] Compiling TSCBasic SynchronizedQueue.swift
[86/153] Compiling SwiftSoup DataUtil.swift
[87/153] Compiling SwiftSoup Document.swift
[88/153] Compiling TSCBasic JSON.swift
[89/153] Compiling TSCBasic ObjectIdentifierProtocol.swift
[90/153] Compiling TSCBasic OrderedDictionary.swift
[91/153] Compiling TSCBasic OrderedSet.swift
[92/153] Compiling TSCBasic OutputByteStream.swift
[93/153] Compiling TSCBasic Path.swift
[94/153] Compiling TSCBasic JSONMapper.swift
[95/153] Compiling TSCBasic KeyedPair.swift
[96/153] 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 |
[97/153] 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 |
[98/153] 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 |
[99/153] 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 |
[100/153] 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 |
[101/153] 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 |
[102/158] Emitting module TSCBasic
[106/159] Wrapping AST for ArgumentParser for debugging
[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/162] Wrapping AST for SwiftSoup for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[117/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
[118/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 |
[119/162] Compiling TSCBasic CollectionExtensions.swift
[120/162] Compiling TSCBasic Condition.swift
BUILD FAILURE 6.2 linux