The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TartuWeatherProvider, reference 0.5.2 (315c3e), with Swift 6.2 for Android on 18 Jun 2025 09:34:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fassko/TartuWeatherProvider.git
Reference: 0.5.2
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/fassko/TartuWeatherProvider
 * tag               0.5.2      -> FETCH_HEAD
HEAD is now at 315c3e0 Update (#45)
Cloned https://github.com/fassko/TartuWeatherProvider.git
Revision (git rev-parse @):
315c3e0654adb8fff8e20f771311aa1ace74b4df
SUCCESS checkout https://github.com/fassko/TartuWeatherProvider.git at 0.5.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/fassko/TartuWeatherProvider.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/scinfu/SwiftSoup.git
[1/3916] Fetching swiftsoup
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.49s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 1.7.5 (3.93s)
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 1.7.5
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-8C5A4AE7A8CE2BA.txt
[4/53] Emitting module SwiftSoup
[5/53] Compiling SwiftSoup ArrayExt.swift
[6/53] Compiling SwiftSoup Attribute.swift
[7/53] Compiling SwiftSoup Attributes.swift
[8/53] Compiling SwiftSoup BooleanAttribute.swift
[9/53] Compiling SwiftSoup CharacterExt.swift
[10/53] Compiling SwiftSoup CharacterReader.swift
[11/53] Compiling SwiftSoup Cleaner.swift
[12/60] Compiling SwiftSoup Selector.swift
[13/60] Compiling SwiftSoup SerializationException.swift
[14/60] Compiling SwiftSoup SimpleDictionary.swift
[15/60] Compiling SwiftSoup StreamReader.swift
[16/60] Compiling SwiftSoup String.swift
[17/60] Compiling SwiftSoup StringBuilder.swift
[18/60] Compiling SwiftSoup StringUtil.swift
[19/60] Compiling SwiftSoup StructuralEvaluator.swift
[20/60] Compiling SwiftSoup SwiftSoup.swift
[21/60] Compiling SwiftSoup Tag.swift
[22/60] Compiling SwiftSoup TextNode.swift
[23/60] Compiling SwiftSoup Token.swift
[24/60] Compiling SwiftSoup TokenQueue.swift
[25/60] Compiling SwiftSoup Tokeniser.swift
[26/60] Compiling SwiftSoup HtmlTreeBuilder.swift
[27/60] Compiling SwiftSoup HtmlTreeBuilderState.swift
[28/60] Compiling SwiftSoup HttpStatusException.swift
[29/60] Compiling SwiftSoup Node.swift
[30/60] Compiling SwiftSoup NodeTraversor.swift
[31/60] Compiling SwiftSoup NodeVisitor.swift
[32/60] Compiling SwiftSoup OrderedDictionary.swift
[33/60] Compiling SwiftSoup OrderedSet.swift
[34/60] Compiling SwiftSoup ParseError.swift
[35/60] Compiling SwiftSoup ParseErrorList.swift
[36/60] Compiling SwiftSoup ParseSettings.swift
[37/60] Compiling SwiftSoup Parser.swift
[38/60] Compiling SwiftSoup Pattern.swift
[39/60] Compiling SwiftSoup QueryParser.swift
[40/60] Compiling SwiftSoup Collector.swift
[41/60] Compiling SwiftSoup CombiningEvaluator.swift
[42/60] Compiling SwiftSoup Comment.swift
[43/60] Compiling SwiftSoup Connection.swift
[44/60] Compiling SwiftSoup DataNode.swift
[45/60] Compiling SwiftSoup DataUtil.swift
[46/60] Compiling SwiftSoup Document.swift
[47/60] Compiling SwiftSoup DocumentType.swift
[48/60] Compiling SwiftSoup Element.swift
[49/60] Compiling SwiftSoup Elements.swift
[50/60] Compiling SwiftSoup Entities.swift
[51/60] Compiling SwiftSoup Evaluator.swift
[52/60] Compiling SwiftSoup Exception.swift
[53/60] Compiling SwiftSoup FormElement.swift
[54/60] Compiling SwiftSoup TokeniserState.swift
[55/60] Compiling SwiftSoup TreeBuilder.swift
[56/60] Compiling SwiftSoup UnicodeScalar.swift
[57/60] Compiling SwiftSoup Validate.swift
[58/60] Compiling SwiftSoup Whitelist.swift
[59/60] Compiling SwiftSoup XmlDeclaration.swift
[60/60] Compiling SwiftSoup XmlTreeBuilder.swift
[62/72] Compiling TartuWeatherProvider TartuWeatherError.swift
[63/72] Compiling TartuWeatherProvider QueryDataProtocol.swift
[64/72] Compiling TartuWeatherProvider QueryDataType.swift
[65/73] Compiling TartuWeatherProvider TartuWeatherResult.swift
[66/73] Compiling TartuWeatherProvider TartuWeatherProvider.swift
/host/spi-builder-workspace/Sources/TartuWeatherProvider.swift:36:19: error: cannot find 'URLRequest' in scope
 34 |
 35 |     let url = URL(string: "http://meteo.physic.ut.ee/en/frontmain.php?m=2")!
 36 |     let request = URLRequest(url: url, cachePolicy: .reloadIgnoringLocalCacheData, timeoutInterval: 60)
    |                   `- error: cannot find 'URLRequest' in scope
 37 |
 38 |     URLSession.shared.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/TartuWeatherProvider.swift:36:54: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 34 |
 35 |     let url = URL(string: "http://meteo.physic.ut.ee/en/frontmain.php?m=2")!
 36 |     let request = URLRequest(url: url, cachePolicy: .reloadIgnoringLocalCacheData, timeoutInterval: 60)
    |                                                      `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 37 |
 38 |     URLSession.shared.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/TartuWeatherProvider.swift:38:16: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 36 |     let request = URLRequest(url: url, cachePolicy: .reloadIgnoringLocalCacheData, timeoutInterval: 60)
 37 |
 38 |     URLSession.shared.dataTask(with: request) { data, _, error in
    |                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 39 |       DispatchQueue.main.async {
 40 |         if let error = error {
/host/spi-builder-workspace/Sources/TartuWeatherProvider.swift:74:19: error: cannot find 'URLRequest' in scope
 72 |
 73 |     let urlComponents = generateURLComponents(dataType: dataType)
 74 |     let request = URLRequest(url: urlComponents.url!, cachePolicy: .reloadIgnoringLocalCacheData, timeoutInterval: 60)
    |                   `- error: cannot find 'URLRequest' in scope
 75 |
 76 |     URLSession.shared.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/TartuWeatherProvider.swift:74:69: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 72 |
 73 |     let urlComponents = generateURLComponents(dataType: dataType)
 74 |     let request = URLRequest(url: urlComponents.url!, cachePolicy: .reloadIgnoringLocalCacheData, timeoutInterval: 60)
    |                                                                     `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 75 |
 76 |     URLSession.shared.dataTask(with: request) { data, _, error in
/host/spi-builder-workspace/Sources/TartuWeatherProvider.swift:76:16: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 74 |     let request = URLRequest(url: urlComponents.url!, cachePolicy: .reloadIgnoringLocalCacheData, timeoutInterval: 60)
 75 |
 76 |     URLSession.shared.dataTask(with: request) { data, _, error in
    |                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 77 |       DispatchQueue.main.async {
 78 |         if let error = error {
[67/73] Compiling TartuWeatherProvider WeatherDataProtocol.swift
[68/73] Compiling TartuWeatherProvider MeasureDateable.swift
[69/73] Compiling TartuWeatherProvider QueryData.swift
[70/73] Compiling TartuWeatherProvider LiveImage.swift
[71/73] Compiling TartuWeatherProvider LiveImageProtocol.swift
[72/73] Emitting module TartuWeatherProvider
[73/73] Compiling TartuWeatherProvider WeatherData.swift
BUILD FAILURE 6.2 android