Build Information
Failed to build Selenops, reference master (8c2ee9
), with Swift 6.0 for Linux on 27 Nov 2024 22:19:42 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.0-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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.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.0
Building package at path: $PWD
https://github.com/zntfdr/Selenops.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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/3198] Fetching swiftsoup
[3136/9745] Fetching swiftsoup, swift-tools-support-core
[9746/22140] Fetching swiftsoup, swift-tools-support-core, swift-argument-parser
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.48s)
[6919/18942] Fetching swift-tools-support-core, swift-argument-parser
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.55s)
[3223/12395] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.87s)
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 (0.44s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.0.6 (4.93s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.7.6 (0.71s)
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.7.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/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 0.0.6
warning: 'swiftsoup': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/InfoMac.plist
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/InfotvOS.plist
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/InfoWatchOS.plist
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Info.plist
Building for debugging...
[0/20] Write sources
[7/20] Compiling TSCclibc libc.c
[8/20] Write swift-version-24593BA9C3E375BF.txt
[10/102] Emitting module ArgumentParser
[11/105] Compiling SwiftSoup Collector.swift
[12/105] Compiling SwiftSoup CombiningEvaluator.swift
[13/105] Compiling SwiftSoup Comment.swift
[14/105] Compiling SwiftSoup Connection.swift
[15/105] Compiling SwiftSoup Parser.swift
[16/105] Compiling SwiftSoup Pattern.swift
[17/105] Compiling SwiftSoup QueryParser.swift
[18/105] Compiling SwiftSoup DocumentType.swift
[19/105] Compiling SwiftSoup CssSelector.swift
[20/105] Compiling SwiftSoup DataNode.swift
[21/105] Compiling SwiftSoup DataUtil.swift
[22/105] Compiling SwiftSoup Document.swift
[23/105] Emitting module TSCLibc
[24/105] Compiling TSCLibc libc.swift
[25/106] Wrapping AST for TSCLibc for debugging
[27/144] Compiling TSCBasic CollectionExtensions.swift
[28/144] Compiling TSCBasic Condition.swift
[29/144] Compiling TSCBasic DeltaAlgorithm.swift
[30/144] Compiling TSCBasic DiagnosticsEngine.swift
[31/144] Compiling TSCBasic DictionaryExtensions.swift
[32/144] Compiling TSCBasic DictionaryLiteralExtensions.swift
[33/144] Compiling TSCBasic Await.swift
[34/144] Compiling TSCBasic ByteString.swift
[35/151] Emitting module SwiftSoup
[36/151] Compiling TSCBasic CStringArray.swift
[37/151] Compiling TSCBasic CacheableSequence.swift
[38/151] Compiling TSCBasic CodableResult.swift
[39/151] Compiling TSCBasic CollectionAlgorithms.swift
[40/151] Compiling TSCBasic JSONMapper.swift
[41/151] Compiling TSCBasic KeyedPair.swift
[42/151] Compiling TSCBasic LazyCache.swift
[43/151] Compiling TSCBasic Lock.swift
[44/151] Compiling TSCBasic OSLog.swift
[45/151] Compiling TSCBasic EditDistance.swift
[46/151] Compiling TSCBasic FileInfo.swift
[47/151] Compiling TSCBasic FileSystem.swift
[48/151] Compiling TSCBasic OrderedSet.swift
[49/151] Compiling TSCBasic OutputByteStream.swift
[50/151] Compiling TSCBasic Path.swift
[51/151] Compiling TSCBasic PathShims.swift
[52/151] Compiling TSCBasic Process.swift
[53/151] Compiling TSCBasic ProcessEnv.swift
[54/152] Compiling SwiftSoup SerializationException.swift
[55/152] Compiling SwiftSoup SimpleDictionary.swift
[56/152] Compiling SwiftSoup StreamReader.swift
[57/152] Compiling SwiftSoup String.swift
[58/152] Compiling SwiftSoup StringBuilder.swift
[59/152] Compiling SwiftSoup StringUtil.swift
[60/152] Compiling SwiftSoup StructuralEvaluator.swift
[62/152] Emitting module TSCBasic
[63/152] Compiling SwiftSoup SwiftSoup.swift
[64/152] Compiling SwiftSoup Tag.swift
[65/152] Compiling SwiftSoup TextNode.swift
[66/152] Compiling SwiftSoup Token.swift
[67/152] Compiling SwiftSoup TokenQueue.swift
[68/152] Compiling SwiftSoup Tokeniser.swift
[69/152] Compiling SwiftSoup TokeniserState.swift
[70/157] Compiling TSCBasic ProcessSet.swift
[71/157] Compiling TSCBasic RegEx.swift
[72/157] Compiling TSCBasic Result.swift
[73/157] Compiling TSCBasic SHA256.swift
[74/157] Compiling TSCBasic SortedArray.swift
[75/157] Compiling TSCBasic StringConversions.swift
[76/157] Compiling TSCBasic SynchronizedQueue.swift
[85/157] Compiling TSCBasic OrderedDictionary.swift
[96/157] Compiling TSCBasic GraphAlgorithms.swift
[97/157] Compiling TSCBasic JSON.swift
[98/157] Compiling TSCBasic ObjectIdentifierProtocol.swift
[98/157] Wrapping AST for ArgumentParser for debugging
/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 {
[110/157] Compiling SwiftSoup TreeBuilder.swift
[111/157] Compiling SwiftSoup UnfairLock.swift
[112/157] Compiling SwiftSoup UnicodeScalar.swift
[113/157] Compiling SwiftSoup Validate.swift
[114/157] Compiling SwiftSoup Whitelist.swift
[115/157] Compiling SwiftSoup XmlDeclaration.swift
[116/157] Compiling SwiftSoup XmlTreeBuilder.swift
[118/158] Compiling TSCBasic TemporaryFile.swift
[119/158] Compiling TSCBasic TerminalController.swift
[120/158] Compiling TSCBasic Thread.swift
[121/158] Compiling TSCBasic Tuple.swift
[122/158] Compiling TSCBasic misc.swift
[122/158] Wrapping AST for SwiftSoup for debugging
/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)
[136/160] 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
[137/160] 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 |
BUILD FAILURE 6.0 linux