Build Information
Failed to build Selenops, reference master (8c2ee9
), with Swift 6.2 (beta) for Linux on 18 Jun 2025 20:39:00 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.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: 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.2
Building package at path: $PWD
https://github.com/zntfdr/Selenops.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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-argument-parser.git
Fetching https://github.com/apple/swift-tools-support-core.git
[1/3916] Fetching swiftsoup
[1098/10771] Fetching swiftsoup, swift-tools-support-core
[10361/26151] Fetching swiftsoup, swift-tools-support-core, swift-argument-parser
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.73s)
[13007/22235] Fetching swift-tools-support-core, swift-argument-parser
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.78s)
[10305/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.16s)
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 (2.87s)
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.54s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.8.8 (0.83s)
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.8.8
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/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] Emitting module ArgumentParser
[11/107] Emitting module SwiftSoup
[12/114] Compiling ArgumentParser ArgumentSetSequence.swift
[13/114] Compiling ArgumentParser CommandParser.swift
[14/114] Compiling ArgumentParser InputOrigin.swift
[15/114] Compiling ArgumentParser Name.swift
[16/114] Compiling ArgumentParser Parsed.swift
[17/114] Compiling ArgumentParser ParsedValues.swift
[18/114] Compiling ArgumentParser ParserError.swift
[19/114] Compiling ArgumentParser SplitArguments.swift
[20/114] Compiling SwiftSoup CssSelector.swift
[21/114] Compiling SwiftSoup DataNode.swift
[22/114] Compiling SwiftSoup DataUtil.swift
[23/114] Compiling SwiftSoup Document.swift
[24/114] Compiling ArgumentParser ParsableCommand.swift
[25/114] Compiling SwiftSoup TokeniserState.swift
[26/114] Compiling SwiftSoup TreeBuilder.swift
[27/114] Compiling SwiftSoup DocumentType.swift
[28/114] Emitting module TSCLibc
[29/114] Compiling TSCLibc libc.swift
[30/115] Wrapping AST for TSCLibc for debugging
[32/115] Compiling SwiftSoup Collector.swift
[33/115] Compiling SwiftSoup CombiningEvaluator.swift
[34/115] Compiling SwiftSoup Comment.swift
[35/115] Compiling SwiftSoup Connection.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/153] Compiling TSCBasic Result.swift
[41/153] Compiling TSCBasic SHA256.swift
[42/153] Compiling TSCBasic SortedArray.swift
[43/153] Compiling SwiftSoup ParseErrorList.swift
[44/153] Compiling SwiftSoup ParseSettings.swift
[45/153] Compiling SwiftSoup Parser.swift
[46/153] Compiling SwiftSoup ParsingStrings.swift
[47/153] Compiling SwiftSoup Pattern.swift
[48/153] Compiling SwiftSoup QueryParser.swift
[49/153] Compiling SwiftSoup SerializationException.swift
[50/153] Compiling TSCBasic CollectionExtensions.swift
[51/153] Compiling TSCBasic Condition.swift
[52/153] Compiling TSCBasic DeltaAlgorithm.swift
[53/153] Compiling TSCBasic DiagnosticsEngine.swift
[54/153] Compiling TSCBasic DictionaryExtensions.swift
[55/153] Compiling TSCBasic DictionaryLiteralExtensions.swift
[56/153] Compiling TSCBasic Await.swift
[57/153] Compiling TSCBasic ByteString.swift
[58/153] Compiling SwiftSoup UTF8Arrays.swift
[59/153] Compiling SwiftSoup UnfairLock.swift
[60/153] Compiling SwiftSoup UnicodeScalar.swift
[61/153] Compiling SwiftSoup Validate.swift
[62/153] Compiling SwiftSoup Whitelist.swift
[63/153] Compiling SwiftSoup XmlDeclaration.swift
[64/153] Compiling SwiftSoup XmlTreeBuilder.swift
[65/153] Compiling TSCBasic ProcessEnv.swift
[66/153] Compiling TSCBasic ProcessSet.swift
[67/153] Compiling TSCBasic RegEx.swift
[68/154] Wrapping AST for ArgumentParser for debugging
[70/154] Emitting module TSCBasic
[71/159] Compiling TSCBasic Path.swift
[72/159] Compiling TSCBasic EditDistance.swift
[73/159] Compiling TSCBasic FileInfo.swift
[74/159] Compiling TSCBasic FileSystem.swift
[75/159] Compiling TSCBasic GraphAlgorithms.swift
[76/159] Compiling TSCBasic JSON.swift
[77/159] Compiling TSCBasic PathShims.swift
[78/159] Compiling TSCBasic TerminalController.swift
[79/159] Compiling TSCBasic Thread.swift
[80/159] Compiling TSCBasic Tuple.swift
[81/159] Compiling TSCBasic misc.swift
[82/159] Compiling SwiftSoup BooleanAttribute.swift
[83/159] Compiling SwiftSoup CharacterExt.swift
[84/159] Compiling SwiftSoup CharacterReader.swift
[85/159] Compiling SwiftSoup Cleaner.swift
[86/159] Compiling TSCBasic CStringArray.swift
[87/159] Compiling TSCBasic CacheableSequence.swift
[88/159] Compiling TSCBasic CodableResult.swift
[89/159] Compiling TSCBasic CollectionAlgorithms.swift
[90/159] Compiling TSCBasic ObjectIdentifierProtocol.swift
[91/159] Compiling TSCBasic OrderedDictionary.swift
[92/159] Compiling TSCBasic OrderedSet.swift
[93/159] Compiling TSCBasic OutputByteStream.swift
[94/159] Compiling TSCBasic Process.swift
[101/159] Compiling TSCBasic StringConversions.swift
[102/159] Compiling TSCBasic SynchronizedQueue.swift
[103/159] Compiling TSCBasic JSONMapper.swift
[104/159] Compiling TSCBasic KeyedPair.swift
[105/159] Compiling TSCBasic LazyCache.swift
[106/159] Compiling TSCBasic Lock.swift
[107/159] Compiling TSCBasic OSLog.swift
[108/159] Compiling TSCBasic TemporaryFile.swift
[109/160] Wrapping AST for SwiftSoup for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[111/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
[112/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 |
/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 {
/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 {
BUILD FAILURE 6.2 linux