Build Information
Failed to build GoogleScholarSwift, reference main (3c7b00
), with Swift 5.9 for Linux on 24 Aug 2024 02:06:18 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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ezefranca/GoogleScholarSwift.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3c7b005 Adjustments to V1.2
Cloned https://github.com/ezefranca/GoogleScholarSwift.git
Revision (git rev-parse @):
3c7b0054008736eaa287bcba776c4acedb12f89c
SUCCESS checkout https://github.com/ezefranca/GoogleScholarSwift.git at main
========================================
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-1":/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
762bedf4b1b7: Already exists
a866504cb402: Pulling fs layer
3a864167545e: Pulling fs layer
2aa2bed42a4e: Pulling fs layer
a9419e7bf08c: Pulling fs layer
8ae4929070ba: Pulling fs layer
8ae4929070ba: Waiting
a9419e7bf08c: Waiting
2aa2bed42a4e: Download complete
a9419e7bf08c: Verifying Checksum
a9419e7bf08c: Download complete
8ae4929070ba: Download complete
a866504cb402: Verifying Checksum
a866504cb402: Download complete
3a864167545e: Verifying Checksum
3a864167545e: Download complete
a866504cb402: Pull complete
3a864167545e: Pull complete
2aa2bed42a4e: Pull complete
a9419e7bf08c: Pull complete
8ae4929070ba: Pull complete
Digest: sha256:907758cf9691f0f77ca4e2d6f778ef6c038667a789e74bf575a4b60f864d6863
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/apple/swift-docc-symbolkit
[1/3172] Fetching swiftsoup
[509/5068] Fetching swiftsoup, swift-docc-plugin
[3579/8132] Fetching swiftsoup, swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/scinfu/SwiftSoup.git (0.38s)
Fetched https://github.com/apple/swift-docc-symbolkit (0.39s)
Fetched https://github.com/apple/swift-docc-plugin.git (0.39s)
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.34s)
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-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/3] Copying PrivacyInfo.xcprivacy
[4/56] Compiling SwiftSoup HtmlTreeBuilderState.swift
[5/56] Compiling SwiftSoup HttpStatusException.swift
[6/56] Compiling SwiftSoup Mutex.swift
[7/56] Compiling SwiftSoup Node.swift
[8/56] Compiling SwiftSoup NodeTraversor.swift
[9/56] Compiling SwiftSoup NodeVisitor.swift
[10/56] Compiling SwiftSoup OrderedSet.swift
[11/63] Emitting module SwiftSoup
[12/63] Compiling SwiftSoup ArrayExt.swift
[13/63] Compiling SwiftSoup Attribute.swift
[14/63] Compiling SwiftSoup Attributes.swift
[15/63] Compiling SwiftSoup BinarySearch.swift
[16/63] Compiling SwiftSoup BooleanAttribute.swift
[17/63] Compiling SwiftSoup CharacterExt.swift
[18/63] Compiling SwiftSoup CharacterReader.swift
[19/63] Compiling SwiftSoup Cleaner.swift
[20/63] Compiling SwiftSoup Collector.swift
[21/63] Compiling SwiftSoup CombiningEvaluator.swift
[22/63] Compiling SwiftSoup Comment.swift
[23/63] Compiling SwiftSoup Connection.swift
[24/63] Compiling SwiftSoup CssSelector.swift
[25/63] Compiling SwiftSoup DataNode.swift
[26/63] Compiling SwiftSoup DataUtil.swift
[27/63] Compiling SwiftSoup Document.swift
[28/63] Compiling SwiftSoup Tag.swift
[29/63] Compiling SwiftSoup TextNode.swift
[30/63] Compiling SwiftSoup Token.swift
[31/63] Compiling SwiftSoup TokenQueue.swift
[32/63] Compiling SwiftSoup Tokeniser.swift
[33/63] Compiling SwiftSoup TokeniserState.swift
[34/63] Compiling SwiftSoup TreeBuilder.swift
[35/63] Compiling SwiftSoup DocumentType.swift
[36/63] Compiling SwiftSoup Element.swift
[37/63] Compiling SwiftSoup Elements.swift
[38/63] Compiling SwiftSoup Entities.swift
[39/63] Compiling SwiftSoup Evaluator.swift
[40/63] Compiling SwiftSoup Exception.swift
[41/63] Compiling SwiftSoup FormElement.swift
[42/63] Compiling SwiftSoup HtmlTreeBuilder.swift
[43/63] Compiling SwiftSoup ParseError.swift
[44/63] Compiling SwiftSoup ParseErrorList.swift
[45/63] Compiling SwiftSoup ParseSettings.swift
[46/63] Compiling SwiftSoup Parser.swift
[47/63] Compiling SwiftSoup Pattern.swift
[48/63] Compiling SwiftSoup QueryParser.swift
[49/63] Compiling SwiftSoup SerializationException.swift
[50/63] Compiling SwiftSoup SimpleDictionary.swift
[51/63] Compiling SwiftSoup StreamReader.swift
[52/63] Compiling SwiftSoup String.swift
[53/63] Compiling SwiftSoup StringBuilder.swift
[54/63] Compiling SwiftSoup StringUtil.swift
[55/63] Compiling SwiftSoup StructuralEvaluator.swift
[56/63] Compiling SwiftSoup SwiftSoup.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/80] Compiling GoogleScholarSwift CoAuthor.swift
[67/80] Compiling GoogleScholarSwift GoogleScholarCacheConfig.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[68/82] Emitting module GoogleScholarSwift
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/NetworkService.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/NetworkService.swift:8:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(session: URLSession = .shared) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/NetworkService.swift:8:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
public init(session: URLSession = .shared) {
~^~~~~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/NetworkService.swift:73:53: error: cannot find type 'URLRequest' in scope
private func configureRequest(with url: URL) -> URLRequest {
^~~~~~~~~~
[69/82] Compiling GoogleScholarSwift AuthorMetrics.swift
[70/82] Compiling GoogleScholarSwift CitationMetrics.swift
[71/82] Compiling GoogleScholarSwift ArticleLink.swift
[72/82] Compiling GoogleScholarSwift Author.swift
[73/82] Compiling GoogleScholarSwift NetworkService.swift
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/NetworkService.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/NetworkService.swift:8:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(session: URLSession = .shared) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/NetworkService.swift:8:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
public init(session: URLSession = .shared) {
~^~~~~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/NetworkService.swift:73:53: error: cannot find type 'URLRequest' in scope
private func configureRequest(with url: URL) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/NetworkService.swift:37: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/NetworkService.swift:56: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/NetworkService.swift:74:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
[74/82] Compiling GoogleScholarSwift Article.swift
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/NetworkService.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/NetworkService.swift:8:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(session: URLSession = .shared) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/NetworkService.swift:8:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
public init(session: URLSession = .shared) {
~^~~~~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/NetworkService.swift:73:53: error: cannot find type 'URLRequest' in scope
private func configureRequest(with url: URL) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/NetworkService.swift:37: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/NetworkService.swift:56: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/NetworkService.swift:74:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
[75/82] Compiling GoogleScholarSwift SortBy.swift
[76/82] Compiling GoogleScholarSwift CacheService.swift
[77/82] Compiling GoogleScholarSwift Constants.swift
[78/82] Compiling GoogleScholarSwift FetchQuantity.swift
[79/82] Compiling GoogleScholarSwift GoogleScholarFetcher.swift
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/HTMLParser.swift:67:19: warning: immutable value 'totalPublications' was never used; consider replacing with '_' or removing it
let totalPublications = try? doc.select(".gsc_a_tr").count else {
~~~~^~~~~~~~~~~~~~~~~
_
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/NetworkService.swift:8:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
public init(session: URLSession = .shared) {
~^~~~~~
[80/82] Compiling GoogleScholarSwift HTMLParser.swift
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/HTMLParser.swift:67:19: warning: immutable value 'totalPublications' was never used; consider replacing with '_' or removing it
let totalPublications = try? doc.select(".gsc_a_tr").count else {
~~~~^~~~~~~~~~~~~~~~~
_
/host/spi-builder-workspace/Sources/GoogleScholarSwift/Impl/NetworkService.swift:8:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
public init(session: URLSession = .shared) {
~^~~~~~
[81/82] Compiling GoogleScholarSwift GoogleScholarID.swift
[82/82] Compiling GoogleScholarSwift Publication.swift
error: fatalError
BUILD FAILURE 5.9 linux