The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AppStoreScraper, reference main (79f5b4), with Swift 6.3 for Wasm on 5 Oct 2026 14:49:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
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 79f5b4b Add rating fields, storefront IDs and search hints (#1)
Cloned https://github.com/wacumov/app-store-scraper.git
Revision (git rev-parse @):
79f5b4bd944c94a4e417d1cd9d54dfa40efacf2e
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-54344843-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:df2e9038ff906af397ec7b7e13902ccb183f8867606bc33419e44453a9abdb4b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling AppStoreScraper RankingType.swift
[4/14] Compiling AppStoreScraper Language.swift
[5/14] Compiling AppStoreScraper GamesSubcategory.swift
[6/14] Compiling AppStoreScraper Ranking.swift
[7/14] Compiling AppStoreScraper CategoryFilter.swift
[8/14] Compiling AppStoreScraper Country+Languages.swift
[9/14] Compiling AppStoreScraper Scraper.swift
/host/spi-builder-workspace/Sources/AppStoreScraper/Scraper.swift:78:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 76 |     private let baseURL = "https://itunes.apple.com"
 77 |     private let hintsURL = "https://search.itunes.apple.com/WebObjects/MZSearchHints.woa/wa/hints"
 78 |     private let session = URLSession.shared
    |                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 79 |     private let decoder = JSONDecoder()
 80 |
/host/spi-builder-workspace/Sources/AppStoreScraper/Scraper.swift:182:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
180 | }
181 |
182 | private extension URLSession {
    |         `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
183 |     func data(for request: URLRequest) async throws -> Data {
184 |         var dataTask: URLSessionDataTask?
/host/spi-builder-workspace/Sources/AppStoreScraper/Scraper.swift:90:23: error: cannot find 'URLRequest' in scope
 88 |             throw URLError(.badURL)
 89 |         }
 90 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 91 |         request.httpMethod = "GET"
 92 |         for (field, value) in headers {
/host/spi-builder-workspace/Sources/AppStoreScraper/Scraper.swift:183:28: error: cannot find type 'URLRequest' in scope
181 |
182 | private extension URLSession {
183 |     func data(for request: URLRequest) async throws -> Data {
    |                            `- error: cannot find type 'URLRequest' in scope
184 |         var dataTask: URLSessionDataTask?
185 |         let onCancel = {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[10/14] Compiling AppStoreScraper Application.swift
[11/14] Compiling AppStoreScraper Category.swift
[12/14] Compiling AppStoreScraper Country+Storefront.swift
[13/14] Compiling AppStoreScraper Country.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/14] Emitting module AppStoreScraper
/host/spi-builder-workspace/Sources/AppStoreScraper/Scraper.swift:78:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 76 |     private let baseURL = "https://itunes.apple.com"
 77 |     private let hintsURL = "https://search.itunes.apple.com/WebObjects/MZSearchHints.woa/wa/hints"
 78 |     private let session = URLSession.shared
    |                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 79 |     private let decoder = JSONDecoder()
 80 |
/host/spi-builder-workspace/Sources/AppStoreScraper/Scraper.swift:182:9: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
180 | }
181 |
182 | private extension URLSession {
    |         `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
183 |     func data(for request: URLRequest) async throws -> Data {
184 |         var dataTask: URLSessionDataTask?
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
BUILD FAILURE 6.3 wasm