The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Selenops with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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:             5.10
Building package at path:  $workDir
https://github.com/zntfdr/Selenops.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/scinfu/SwiftSoup.git
[1/3026] Fetching swiftsoup
[2543/9149] Fetching swiftsoup, swift-tools-support-core
[8722/20575] Fetching swiftsoup, swift-tools-support-core, swift-argument-parser
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.52s)
[15950/17549] Fetching swift-tools-support-core, swift-argument-parser
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.70s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.70s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.3.0 (1.28s)
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.48s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.0.1 (0.45s)
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.3.0
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.1
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.0.1
Building for debugging...
[0/20] Write sources
[7/20] Compiling TSCclibc libc.c
[8/20] Write swift-version-24593BA9C3E375BF.txt
[10/98] Emitting module ArgumentParser
[11/101] Compiling SwiftSoup Node.swift
[12/101] Compiling SwiftSoup NodeTraversor.swift
[13/101] Compiling SwiftSoup NodeVisitor.swift
[14/101] Compiling SwiftSoup ArrayExt.swift
[15/101] Compiling SwiftSoup Attribute.swift
[16/101] Compiling SwiftSoup Attributes.swift
[17/101] Compiling SwiftSoup BinarySearch.swift
[18/101] Compiling SwiftSoup Document.swift
[19/101] Compiling SwiftSoup DocumentType.swift
[20/101] Compiling SwiftSoup Element.swift
[21/101] Compiling SwiftSoup Elements.swift
[22/101] Compiling SwiftSoup HtmlTreeBuilder.swift
[23/101] Compiling SwiftSoup HtmlTreeBuilderState.swift
[24/101] Compiling SwiftSoup HttpStatusException.swift
[25/101] Compiling SwiftSoup Connection.swift
[26/101] Compiling SwiftSoup DataNode.swift
[27/101] Compiling SwiftSoup DataUtil.swift
[28/101] Compiling SwiftSoup FormElement.swift
[29/101] Emitting module TSCLibc
[30/101] Compiling TSCLibc libc.swift
[31/101] Compiling ArgumentParser UsageGenerator.swift
[32/101] Compiling ArgumentParser StringExtensions.swift
[33/101] Compiling ArgumentParser Tree.swift
[34/102] Emitting module SwiftSoup
[39/102] Compiling SwiftSoup BooleanAttribute.swift
[40/102] Compiling SwiftSoup CharacterExt.swift
[41/102] Compiling SwiftSoup CharacterReader.swift
[42/102] Compiling SwiftSoup StructuralEvaluator.swift
[43/102] Compiling SwiftSoup SwiftSoup.swift
[44/102] Compiling SwiftSoup Tag.swift
[45/102] Compiling SwiftSoup TextNode.swift
[46/102] Compiling SwiftSoup Token.swift
[47/102] Compiling SwiftSoup TokenQueue.swift
[48/102] Compiling SwiftSoup Tokeniser.swift
[49/109] Compiling SwiftSoup Cleaner.swift
[50/109] Compiling SwiftSoup Collector.swift
[51/109] Compiling SwiftSoup CombiningEvaluator.swift
[52/109] Compiling SwiftSoup Comment.swift
[56/109] Compiling SwiftSoup OrderedSet.swift
[57/109] Compiling SwiftSoup ParseError.swift
[58/109] Compiling SwiftSoup ParseErrorList.swift
[59/109] Compiling SwiftSoup ParseSettings.swift
[60/109] Compiling SwiftSoup Parser.swift
[61/109] Compiling SwiftSoup Pattern.swift
[62/109] Compiling SwiftSoup QueryParser.swift
[63/109] Compiling SwiftSoup Selector.swift
[64/109] Compiling SwiftSoup SerializationException.swift
[65/109] Compiling SwiftSoup SimpleDictionary.swift
[66/109] Compiling SwiftSoup StreamReader.swift
[67/109] Compiling SwiftSoup String.swift
[68/109] Compiling SwiftSoup StringBuilder.swift
[69/109] Compiling SwiftSoup StringUtil.swift
[92/110] Wrapping AST for TSCLibc for debugging
[93/110] Wrapping AST for ArgumentParser for debugging
[95/148] Compiling TSCBasic PathShims.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
                                                                  ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 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>'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
                                                         ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
                                                        !
[96/148] Compiling TSCBasic Process.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
                                                                  ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 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>'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
                                                         ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
                                                        !
[97/148] Compiling TSCBasic ProcessEnv.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: error: value of optional type 'UnsafeMutablePointer<CChar>?' (aka 'Optional<UnsafeMutablePointer<Int8>>') must be unwrapped to a value of type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
                                                                  ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 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>'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
                                                         ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
                                                        !
[98/148] 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>')
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
                                                                  ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 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>'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
                                                         ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
                                                        !
[99/148] 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>')
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0)
                                                          ^
                                                                  ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:372:59: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 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>'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: note: coalesce using '??' to provide a default when the optional value contains 'nil'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
                                                         ?? <#default value#>
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/Process.swift:395:54: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
        let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray)
                                                     ^
                                                        !
[100/153] Emitting module TSCBasic
[101/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'
    return try await(body).get()
                    ~~~~~~ ^~~
[102/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'
    return try await(body).get()
                    ~~~~~~ ^~~
[103/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'
    return try await(body).get()
                    ~~~~~~ ^~~
[104/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'
    return try await(body).get()
                    ~~~~~~ ^~~
[105/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'
    return try await(body).get()
                    ~~~~~~ ^~~
[106/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'
    return try await(body).get()
                    ~~~~~~ ^~~
[107/153] Compiling TSCBasic TemporaryFile.swift
[108/153] Compiling TSCBasic TerminalController.swift
[109/153] Compiling TSCBasic Thread.swift
[110/153] Compiling TSCBasic Tuple.swift
[111/153] Compiling TSCBasic misc.swift
[112/153] Compiling SwiftSoup TokeniserState.swift
[113/153] Compiling SwiftSoup TreeBuilder.swift
[114/153] Compiling SwiftSoup UnicodeScalar.swift
[115/153] Compiling SwiftSoup Validate.swift
[116/153] Compiling SwiftSoup Whitelist.swift
[117/153] Compiling SwiftSoup XmlDeclaration.swift
[118/153] Compiling SwiftSoup XmlTreeBuilder.swift
[119/154] Compiling TSCBasic Result.swift
[120/154] Compiling TSCBasic SHA256.swift
[121/154] Compiling TSCBasic SortedArray.swift
[122/154] Compiling TSCBasic StringConversions.swift
[123/154] Compiling TSCBasic SynchronizedQueue.swift
[124/154] Compiling TSCBasic JSONMapper.swift
[125/154] Compiling TSCBasic KeyedPair.swift
[126/154] Compiling TSCBasic LazyCache.swift
[127/154] Compiling TSCBasic Lock.swift
[128/154] Compiling TSCBasic OSLog.swift
[129/154] Compiling TSCBasic CollectionExtensions.swift
[130/154] Compiling TSCBasic Condition.swift
[131/154] Compiling TSCBasic DeltaAlgorithm.swift
[132/154] Compiling TSCBasic DiagnosticsEngine.swift
[133/154] Compiling TSCBasic DictionaryExtensions.swift
[134/154] Compiling TSCBasic DictionaryLiteralExtensions.swift
[135/154] Compiling TSCBasic ObjectIdentifierProtocol.swift
[136/154] Compiling TSCBasic OrderedDictionary.swift
[137/154] Compiling TSCBasic OrderedSet.swift
[138/154] Compiling TSCBasic OutputByteStream.swift
[139/154] Compiling TSCBasic Path.swift
[141/154] Compiling TSCBasic EditDistance.swift
[142/154] Compiling TSCBasic FileInfo.swift
[143/154] Compiling TSCBasic FileSystem.swift
[144/154] Compiling TSCBasic GraphAlgorithms.swift
[145/154] Compiling TSCBasic JSON.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/12] Write swift-version-24593BA9C3E375BF.txt
[1/10] Wrapping AST for SwiftSoup for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/22] 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.
  var currentTask: URLSessionDataTask?
                   ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
[4/22] 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.
  var currentTask: URLSessionDataTask?
                   ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Selenops/Crawler.swift:90:18: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
    currentTask?.cancel()
    ~~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Selenops/Crawler.swift:120:30: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    currentTask = URLSession.shared.dataTask(with: url) { [weak self] data, _, _ in
                  ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Selenops/Crawler.swift:120:71: error: cannot infer type of closure parameter 'data' without a type annotation
    currentTask = URLSession.shared.dataTask(with: url) { [weak self] data, _, _ in
                                                                      ^
/host/spi-builder-workspace/Sources/Selenops/Crawler.swift:120:77: error: cannot infer type of closure parameter '_' without a type annotation
    currentTask = URLSession.shared.dataTask(with: url) { [weak self] data, _, _ in
                                                                            ^
/host/spi-builder-workspace/Sources/Selenops/Crawler.swift:120:80: error: cannot infer type of closure parameter '_' without a type annotation
    currentTask = URLSession.shared.dataTask(with: url) { [weak self] data, _, _ in
                                                                               ^
/host/spi-builder-workspace/Sources/Selenops/Crawler.swift:129:18: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
    currentTask?.resume()
    ~~~~~~~~~~~~ ^~~~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2