The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AppStoreScraper, reference main (7105a4), with Swift 6.3 for Wasm on 15 Apr 2026 13:32:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wacumov/app-store-scraper.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/wacumov/app-store-scraper
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7105a4a Update Country.US.languages
Cloned https://github.com/wacumov/app-store-scraper.git
Revision (git rev-parse @):
7105a4a0dc3ddf9d32342a1adc8997c7ee6d4e3b
SUCCESS checkout https://github.com/wacumov/app-store-scraper.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/wacumov/app-store-scraper.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/12] Compiling AppStoreScraper GamesSubcategory.swift
[4/13] Compiling AppStoreScraper RankingType.swift
[5/13] Compiling AppStoreScraper Language.swift
[6/13] Compiling AppStoreScraper Ranking.swift
[7/13] Compiling AppStoreScraper Scraper.swift
/host/spi-builder-workspace/Sources/AppStoreScraper/Scraper.swift:58:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 56 |
 57 |     private let baseURL = "https://itunes.apple.com"
 58 |     private let session = URLSession.shared
    |                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 59 |     private let decoder = JSONDecoder()
 60 |
/host/spi-builder-workspace/Sources/AppStoreScraper/Scraper.swift:147:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
145 | }
146 |
147 | private extension URLSession {
    |         `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
148 |     func data(for request: URLRequest) async throws -> Data {
149 |         var dataTask: URLSessionDataTask?
/host/spi-builder-workspace/Sources/AppStoreScraper/Scraper.swift:65:23: error: cannot find 'URLRequest' in scope
 63 |             throw URLError(.badURL)
 64 |         }
 65 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 66 |         request.httpMethod = "GET"
 67 |         let data = try await session.data(for: request)
/host/spi-builder-workspace/Sources/AppStoreScraper/Scraper.swift:148:28: error: cannot find type 'URLRequest' in scope
146 |
147 | private extension URLSession {
148 |     func data(for request: URLRequest) async throws -> Data {
    |                            `- error: cannot find type 'URLRequest' in scope
149 |         var dataTask: URLSessionDataTask?
150 |         let onCancel = {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/13] Compiling AppStoreScraper CategoryFilter.swift
[9/13] Compiling AppStoreScraper Country+Languages.swift
[10/13] Compiling AppStoreScraper Application.swift
[11/13] Compiling AppStoreScraper Category.swift
[12/13] Compiling AppStoreScraper Country.swift
[13/13] Emitting module AppStoreScraper
/host/spi-builder-workspace/Sources/AppStoreScraper/Scraper.swift:58:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 56 |
 57 |     private let baseURL = "https://itunes.apple.com"
 58 |     private let session = URLSession.shared
    |                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 59 |     private let decoder = JSONDecoder()
 60 |
/host/spi-builder-workspace/Sources/AppStoreScraper/Scraper.swift:147:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
145 | }
146 |
147 | private extension URLSession {
    |         `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
148 |     func data(for request: URLRequest) async throws -> Data {
149 |         var dataTask: URLSessionDataTask?
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
BUILD FAILURE 6.3 wasm