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.10 for Linux on 12 Aug 2024 09:23:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
Building package at path:  $PWD
https://github.com/ezefranca/GoogleScholarSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:f99c45c6693c369319405b8761f4e4d2fe7d5bc9f23302c8842c79031f22f7c0
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/apple/swift-docc-symbolkit
[1/3150] Fetching swiftsoup
[1639/4795] Fetching swiftsoup, swift-docc-plugin
[3081/7847] Fetching swiftsoup, swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.37s)
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.38s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.38s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.3.0 (1.37s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.7.2 (0.35s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.41s)
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
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
/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/6] Write sources
[3/6] Copying PrivacyInfo.xcprivacy
[3/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/59] Emitting module SwiftSoup
[8/66] Compiling SwiftSoup Tag.swift
[9/66] Compiling SwiftSoup TextNode.swift
[10/66] Compiling SwiftSoup Token.swift
[11/66] Compiling SwiftSoup TokenQueue.swift
[12/66] Compiling SwiftSoup Tokeniser.swift
[13/66] Compiling SwiftSoup TokeniserState.swift
[14/66] Compiling SwiftSoup TreeBuilder.swift
[15/66] Compiling SwiftSoup ArrayExt.swift
[16/66] Compiling SwiftSoup Attribute.swift
[17/66] Compiling SwiftSoup Attributes.swift
[18/66] Compiling SwiftSoup BinarySearch.swift
[19/66] Compiling SwiftSoup BooleanAttribute.swift
[20/66] Compiling SwiftSoup CharacterExt.swift
[21/66] Compiling SwiftSoup CharacterReader.swift
[22/66] Compiling SwiftSoup Cleaner.swift
[23/66] Compiling SwiftSoup Collector.swift
[24/66] Compiling SwiftSoup CombiningEvaluator.swift
[25/66] Compiling SwiftSoup Comment.swift
[26/66] Compiling SwiftSoup Connection.swift
[27/66] Compiling SwiftSoup CssSelector.swift
[28/66] Compiling SwiftSoup DataNode.swift
[29/66] Compiling SwiftSoup DataUtil.swift
[30/66] Compiling SwiftSoup Document.swift
[31/66] Compiling SwiftSoup UnfairLock.swift
[32/66] Compiling SwiftSoup UnicodeScalar.swift
[33/66] Compiling SwiftSoup Validate.swift
[34/66] Compiling SwiftSoup Whitelist.swift
[35/66] Compiling SwiftSoup XmlDeclaration.swift
[36/66] Compiling SwiftSoup XmlTreeBuilder.swift
[37/66] Compiling SwiftSoup resource_bundle_accessor.swift
[38/66] Compiling SwiftSoup SimpleDictionary.swift
[39/66] Compiling SwiftSoup StreamReader.swift
[40/66] Compiling SwiftSoup String.swift
[41/66] Compiling SwiftSoup StringBuilder.swift
[42/66] Compiling SwiftSoup StringUtil.swift
[43/66] Compiling SwiftSoup StructuralEvaluator.swift
[44/66] Compiling SwiftSoup SwiftSoup.swift
[45/66] Compiling SwiftSoup ParseError.swift
[46/66] Compiling SwiftSoup ParseErrorList.swift
[47/66] Compiling SwiftSoup ParseSettings.swift
[48/66] Compiling SwiftSoup Parser.swift
[49/66] Compiling SwiftSoup Pattern.swift
[50/66] Compiling SwiftSoup QueryParser.swift
[51/66] Compiling SwiftSoup SerializationException.swift
[52/66] Compiling SwiftSoup HtmlTreeBuilderState.swift
[53/66] Compiling SwiftSoup HttpStatusException.swift
[54/66] Compiling SwiftSoup Mutex.swift
[55/66] Compiling SwiftSoup Node.swift
[56/66] Compiling SwiftSoup NodeTraversor.swift
[57/66] Compiling SwiftSoup NodeVisitor.swift
[58/66] Compiling SwiftSoup OrderedSet.swift
[59/66] Compiling SwiftSoup DocumentType.swift
[60/66] Compiling SwiftSoup Element.swift
[61/66] Compiling SwiftSoup Elements.swift
[62/66] Compiling SwiftSoup Entities.swift
[63/66] Compiling SwiftSoup Evaluator.swift
[64/66] Compiling SwiftSoup Exception.swift
[65/66] Compiling SwiftSoup FormElement.swift
[66/66] Compiling SwiftSoup HtmlTreeBuilder.swift
[68/78] Compiling GoogleScholarSwift GoogleScholarCacheConfig.swift
[69/78] Compiling GoogleScholarSwift GoogleScholarID.swift
[70/79] Compiling GoogleScholarSwift AuthorMetrics.swift
[71/79] Compiling GoogleScholarSwift Author.swift
[72/79] Compiling GoogleScholarSwift Article.swift
[73/79] Compiling GoogleScholarSwift ArticleLink.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[74/79] Compiling GoogleScholarSwift Constants.swift
[75/79] Compiling GoogleScholarSwift FetchQuantity.swift
[76/79] 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) {
                                                ^~~~~~~~~~
[77/79] 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)
                          ~~~~~~~~~~ ^~~~~~~
[78/79] 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)
                          ~~~~~~~~~~ ^~~~~~~
[79/79] Compiling GoogleScholarSwift Publication.swift
error: fatalError
BUILD FAILURE 5.10 linux