The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftStockEarnings, reference 0.5.0 (95d7cb), with Swift 6.3 for Linux on 16 Apr 2026 14:27:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattrudin/SwiftStockEarnings.git
Reference: 0.5.0
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/mattrudin/SwiftStockEarnings
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at 95d7cbb Fix: Support "Sept." as month abbreviation in date parser
Cloned https://github.com/mattrudin/SwiftStockEarnings.git
Revision (git rev-parse @):
95d7cbbf40a7396db7873dca4ae116efe5e1e68a
SUCCESS checkout https://github.com/mattrudin/SwiftStockEarnings.git at 0.5.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/mattrudin/SwiftStockEarnings.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/scinfu/SwiftSoup.git
[1/5929] Fetching swiftsoup
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.65s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.13.4 (1.01s)
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.13.4
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/57] Emitting module SwiftSoup
[5/64] Compiling SwiftSoup HtmlTreeBuilderState.swift
[6/64] Compiling SwiftSoup LRUCache.swift
[7/64] Compiling SwiftSoup Mutex.swift
[8/64] Compiling SwiftSoup Node.swift
[9/64] Compiling SwiftSoup NodeTraversor.swift
[10/64] Compiling SwiftSoup NodeVisitor.swift
[11/64] Compiling SwiftSoup OrderedSet.swift
[12/64] Compiling SwiftSoup ParseError.swift
[13/64] Compiling SwiftSoup Collector.swift
[14/64] Compiling SwiftSoup CombiningEvaluator.swift
[15/64] Compiling SwiftSoup Comment.swift
[16/64] Compiling SwiftSoup CssSelector.swift
[17/64] Compiling SwiftSoup DataNode.swift
[18/64] Compiling SwiftSoup DebugTrace.swift
[19/64] Compiling SwiftSoup Document.swift
[20/64] Compiling SwiftSoup DocumentType.swift
[21/64] Compiling SwiftSoup ParseErrorList.swift
[22/64] Compiling SwiftSoup ParseSettings.swift
[23/64] Compiling SwiftSoup Parser.swift
[24/64] Compiling SwiftSoup ParsingStrings.swift
[25/64] Compiling SwiftSoup Pattern.swift
[26/64] Compiling SwiftSoup Profiler.swift
[27/64] Compiling SwiftSoup QueryParser.swift
[28/64] Compiling SwiftSoup QueryParserCache.swift
[29/64] Compiling SwiftSoup SourceRange.swift
[30/64] Compiling SwiftSoup StreamReader.swift
[31/64] Compiling SwiftSoup String.swift
[32/64] Compiling SwiftSoup StringBuilder.swift
[33/64] Compiling SwiftSoup StringUtil.swift
[34/64] Compiling SwiftSoup StructuralEvaluator.swift
[35/64] Compiling SwiftSoup Attribute.swift
[36/64] Compiling SwiftSoup Attributes.swift
[37/64] Compiling SwiftSoup BinarySearch.swift
[38/64] Compiling SwiftSoup BooleanAttribute.swift
[39/64] Compiling SwiftSoup ByteSlice.swift
[40/64] Compiling SwiftSoup CharacterExt.swift
[41/64] Compiling SwiftSoup CharacterReader.swift
[42/64] Compiling SwiftSoup Cleaner.swift
[43/64] Compiling SwiftSoup SwiftSoup.swift
[44/64] Compiling SwiftSoup Tag.swift
[45/64] Compiling SwiftSoup TextNode.swift
[46/64] Compiling SwiftSoup Token.swift
[47/64] Compiling SwiftSoup TokenQueue.swift
[48/64] Compiling SwiftSoup Tokeniser.swift
[49/64] Compiling SwiftSoup TokeniserState.swift
[50/64] Compiling SwiftSoup Element.swift
[51/64] Compiling SwiftSoup ElementQuery.swift
[52/64] Compiling SwiftSoup Elements.swift
[53/64] Compiling SwiftSoup Entities.swift
[54/64] Compiling SwiftSoup Evaluator.swift
[55/64] Compiling SwiftSoup Exception.swift
[56/64] Compiling SwiftSoup FormElement.swift
[57/64] Compiling SwiftSoup HtmlTreeBuilder.swift
[58/64] Compiling SwiftSoup TreeBuilder.swift
[59/64] Compiling SwiftSoup UTF8Arrays.swift
[60/64] Compiling SwiftSoup UnicodeScalar.swift
[61/64] Compiling SwiftSoup Validate.swift
[62/64] Compiling SwiftSoup Whitelist.swift
[63/64] Compiling SwiftSoup XmlDeclaration.swift
[64/64] Compiling SwiftSoup XmlTreeBuilder.swift
[66/69] Compiling SwiftStockEarnings SwiftStockEarnings.swift
/host/spi-builder-workspace/Sources/SwiftStockEarnings/SwiftStockEarnings.swift:111:25: warning: variable 'dateStrFixed' was never mutated; consider changing to 'let' constant
109 |                 // Helper to try both abbreviated and full month
110 |                 let createLocalDate: (String) -> Date? = { dateStr in
111 |                     var dateStrFixed = dateStr.replacingOccurrences(of: "Sept.", with: "Sep.")
    |                         `- warning: variable 'dateStrFixed' was never mutated; consider changing to 'let' constant
112 |                     windowFormatter.dateFormat = "MMM. d, yyyy"
113 |                     if let date = windowFormatter.date(from: dateStrFixed) {
[67/69] Compiling SwiftStockEarnings EarningsData.swift
[68/69] Compiling SwiftStockEarnings EarningsNetworkClient.swift
/host/spi-builder-workspace/Sources/SwiftStockEarnings/Network/EarningsNetworkClient.swift:17:46: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
15 |         }
16 |
17 |         let (data, _) = try await URLSession.shared.data(from: url)
   |                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
18 |         guard let html = String(data: data, encoding: .utf8) else {
19 |             throw EarningsError.noDataFound
[69/69] Emitting module SwiftStockEarnings
BUILD FAILURE 6.3 linux