The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build GoogleScholarSwift, reference 1.3.1 (4e53fd), with Swift 5.9 for Linux on 12 Aug 2024 09:23:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.49.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ezefranca/GoogleScholarSwift.git
Reference: 1.3.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/ezefranca/GoogleScholarSwift
 * tag               1.3.1      -> FETCH_HEAD
HEAD is now at 4e53fd6 added NSCache
Cloned https://github.com/ezefranca/GoogleScholarSwift.git
Revision (git rev-parse @):
4e53fd6bd8ebe3cef86d555ea99cd7d652106582
SUCCESS checkout https://github.com/ezefranca/GoogleScholarSwift.git at 1.3.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/ezefranca/GoogleScholarSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:2fbbf0786de06d5b5ae93c54da051e64b9ddb960e317c9af2272259f6411b6fe
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin.git
[1/1645] Fetching swift-docc-plugin
[561/4795] Fetching swift-docc-plugin, swiftsoup
[4350/7847] Fetching swift-docc-plugin, swiftsoup, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin.git (0.34s)
Fetched https://github.com/apple/swift-docc-symbolkit (0.36s)
Fetched https://github.com/scinfu/SwiftSoup.git (0.36s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.3.0 (0.91s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.7.2 (0.33s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.36s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.3.0
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.7.2
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/3] Copying PrivacyInfo.xcprivacy
[4/56] Emitting module SwiftSoup
[5/63] Compiling SwiftSoup ArrayExt.swift
[6/63] Compiling SwiftSoup Attribute.swift
[7/63] Compiling SwiftSoup Attributes.swift
[8/63] Compiling SwiftSoup BinarySearch.swift
[9/63] Compiling SwiftSoup BooleanAttribute.swift
[10/63] Compiling SwiftSoup CharacterExt.swift
[11/63] Compiling SwiftSoup CharacterReader.swift
[12/63] Compiling SwiftSoup Cleaner.swift
[13/63] Compiling SwiftSoup Collector.swift
[14/63] Compiling SwiftSoup CombiningEvaluator.swift
[15/63] Compiling SwiftSoup Comment.swift
[16/63] Compiling SwiftSoup Connection.swift
[17/63] Compiling SwiftSoup CssSelector.swift
[18/63] Compiling SwiftSoup DataNode.swift
[19/63] Compiling SwiftSoup DataUtil.swift
[20/63] Compiling SwiftSoup Document.swift
[21/63] Compiling SwiftSoup SimpleDictionary.swift
[22/63] Compiling SwiftSoup StreamReader.swift
[23/63] Compiling SwiftSoup String.swift
[24/63] Compiling SwiftSoup StringBuilder.swift
[25/63] Compiling SwiftSoup StringUtil.swift
[26/63] Compiling SwiftSoup StructuralEvaluator.swift
[27/63] Compiling SwiftSoup SwiftSoup.swift
[28/63] Compiling SwiftSoup HtmlTreeBuilderState.swift
[29/63] Compiling SwiftSoup HttpStatusException.swift
[30/63] Compiling SwiftSoup Mutex.swift
[31/63] Compiling SwiftSoup Node.swift
[32/63] Compiling SwiftSoup NodeTraversor.swift
[33/63] Compiling SwiftSoup NodeVisitor.swift
[34/63] Compiling SwiftSoup OrderedSet.swift
[35/63] Compiling SwiftSoup ParseError.swift
[36/63] Compiling SwiftSoup ParseErrorList.swift
[37/63] Compiling SwiftSoup ParseSettings.swift
[38/63] Compiling SwiftSoup Parser.swift
[39/63] Compiling SwiftSoup Pattern.swift
[40/63] Compiling SwiftSoup QueryParser.swift
[41/63] Compiling SwiftSoup SerializationException.swift
[42/63] Compiling SwiftSoup Tag.swift
[43/63] Compiling SwiftSoup TextNode.swift
[44/63] Compiling SwiftSoup Token.swift
[45/63] Compiling SwiftSoup TokenQueue.swift
[46/63] Compiling SwiftSoup Tokeniser.swift
[47/63] Compiling SwiftSoup TokeniserState.swift
[48/63] Compiling SwiftSoup TreeBuilder.swift
[49/63] Compiling SwiftSoup DocumentType.swift
[50/63] Compiling SwiftSoup Element.swift
[51/63] Compiling SwiftSoup Elements.swift
[52/63] Compiling SwiftSoup Entities.swift
[53/63] Compiling SwiftSoup Evaluator.swift
[54/63] Compiling SwiftSoup Exception.swift
[55/63] Compiling SwiftSoup FormElement.swift
[56/63] Compiling SwiftSoup HtmlTreeBuilder.swift
[57/63] Compiling SwiftSoup UnfairLock.swift
[58/63] Compiling SwiftSoup UnicodeScalar.swift
[59/63] Compiling SwiftSoup Validate.swift
[60/63] Compiling SwiftSoup Whitelist.swift
[61/63] Compiling SwiftSoup XmlDeclaration.swift
[62/63] Compiling SwiftSoup XmlTreeBuilder.swift
[63/63] Compiling SwiftSoup resource_bundle_accessor.swift
[66/76] Compiling GoogleScholarSwift GoogleScholarID.swift
[67/76] Compiling GoogleScholarSwift GoogleScholarCacheConfig.swift
[68/77] Compiling GoogleScholarSwift Author.swift
[69/77] Compiling GoogleScholarSwift AuthorMetrics.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[70/77] Compiling GoogleScholarSwift Article.swift
[71/77] Compiling GoogleScholarSwift ArticleLink.swift
[72/77] Compiling GoogleScholarSwift Constants.swift
[73/77] Compiling GoogleScholarSwift FetchQuantity.swift
[74/77] Emitting module GoogleScholarSwift
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:6:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:17:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(session: URLSession = .shared, cacheConfig: GoogleScholarCacheConfig = .default) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:17:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(session: URLSession = .shared, cacheConfig: GoogleScholarCacheConfig = .default) {
                                      ~^~~~~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:241:53: error: cannot find type 'URLRequest' in scope
    private func configureRequest(with url: URL) -> URLRequest {
                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:375:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func updateCookies(from response: HTTPURLResponse) {
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:388:49: error: cannot find type 'URLRequest' in scope
    private func applyCookies(to request: inout URLRequest) {
                                                ^~~~~~~~~~
[75/77] Compiling GoogleScholarSwift SortBy.swift
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:6:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:17:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(session: URLSession = .shared, cacheConfig: GoogleScholarCacheConfig = .default) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:17:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(session: URLSession = .shared, cacheConfig: GoogleScholarCacheConfig = .default) {
                                      ~^~~~~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:241:53: error: cannot find type 'URLRequest' in scope
    private func configureRequest(with url: URL) -> URLRequest {
                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:375:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func updateCookies(from response: HTTPURLResponse) {
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:388:49: error: cannot find type 'URLRequest' in scope
    private func applyCookies(to request: inout URLRequest) {
                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:91:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
            let (data, _) = try await session.data(for: request)
                                      ~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:159:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await session.data(for: request)
                                  ~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:197:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await session.data(for: request)
                                  ~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:242:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:376:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
        if let headerFields = response.allHeaderFields as? [String: String],
                              ~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:377:31: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
           let url = response.url {
                     ~~~~~~~~ ^~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:378:38: error: type 'HTTPCookie' (aka 'AnyObject') has no member 'cookies'
            let cookies = HTTPCookie.cookies(withResponseHeaderFields: headerFields, for: url)
                          ~~~~~~~~~~ ^~~~~~~
[76/77] Compiling GoogleScholarSwift GoogleScholarFetcher.swift
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:6:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private let session: URLSession
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:17:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(session: URLSession = .shared, cacheConfig: GoogleScholarCacheConfig = .default) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:17:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(session: URLSession = .shared, cacheConfig: GoogleScholarCacheConfig = .default) {
                                      ~^~~~~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:241:53: error: cannot find type 'URLRequest' in scope
    private func configureRequest(with url: URL) -> URLRequest {
                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:375:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func updateCookies(from response: HTTPURLResponse) {
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:388:49: error: cannot find type 'URLRequest' in scope
    private func applyCookies(to request: inout URLRequest) {
                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:91:47: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
            let (data, _) = try await session.data(for: request)
                                      ~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:159:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await session.data(for: request)
                                  ~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:197:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, _) = try await session.data(for: request)
                                  ~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:242:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:376:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
        if let headerFields = response.allHeaderFields as? [String: String],
                              ~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:377:31: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
           let url = response.url {
                     ~~~~~~~~ ^~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/GoogleScholarFetcher.swift:378:38: error: type 'HTTPCookie' (aka 'AnyObject') has no member 'cookies'
            let cookies = HTTPCookie.cookies(withResponseHeaderFields: headerFields, for: url)
                          ~~~~~~~~~~ ^~~~~~~
[77/77] Compiling GoogleScholarSwift Publication.swift
error: fatalError
BUILD FAILURE 5.9 linux