The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Astral, reference main (c78838), with Swift 6.2 for Wasm on 19 Jun 2025 10:46:48 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/incwo/Astral.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/incwo/Astral
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c788388 Finishing touches: set the simulated reader's update availability to .random, spelling mistakes in the documentation.
Cloned https://github.com/incwo/Astral.git
Revision (git rev-parse @):
c7883889f4027d66a361ea08c47226ed660b1b06
SUCCESS checkout https://github.com/incwo/Astral.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/incwo/Astral.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/stripe/stripe-terminal-ios
[1/15415] Fetching stripe-terminal-ios
Fetched https://github.com/stripe/stripe-terminal-ios from cache (90.54s)
Computing version for https://github.com/stripe/stripe-terminal-ios
Computed https://github.com/stripe/stripe-terminal-ios at 2.23.3 (93.49s)
Creating working copy for https://github.com/stripe/stripe-terminal-ios
Working copy of https://github.com/stripe/stripe-terminal-ios resolved at 2.23.3
Downloading binary artifact https://github.com/stripe/stripe-terminal-ios/releases/download/v2.23.3/StripeTerminal.xcframework.zip
[1369/17427961] Downloading https://github.com/stripe/stripe-terminal-ios/releases/download/v2.23.3/StripeTerminal.xcframework.zip
Downloaded https://github.com/stripe/stripe-terminal-ios/releases/download/v2.23.3/StripeTerminal.xcframework.zip (2.28s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Astral/Resources/Astral.xcassets
Building for debugging...
[0/8] Copying Astral.strings
[0/8] Copying Localizable.strings
[0/8] Copying Astral.strings
[0/8] Copying Localizable.strings
[4/8] Copying Astral.storyboard
[4/8] Copying Info.plist
[5/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/33] Emitting module Astral
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[10/36] Compiling Astral TerminalStateMachine.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[11/36] Compiling Astral Resources.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[12/36] Compiling Astral resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[13/36] Compiling Astral ReaderConnection.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[14/36] Compiling Astral ReadersDiscovery.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[15/36] Compiling Astral TerminalModel.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[16/36] Compiling Astral ChargeResult.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[17/36] Compiling Astral CurrencyAmount.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[18/36] Compiling Astral PaymentProcessor.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[19/36] Compiling Astral SettingsTableViewController.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[20/36] Compiling Astral SettingsViewModel.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[21/36] Compiling Astral UpdateTableViewController.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[22/36] Compiling Astral UpdateViewModel.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[23/36] Compiling Astral UpdatingCell.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[24/36] Compiling Astral VersionCell.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[25/36] Compiling Astral DiscoveryViewModel.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[26/36] Compiling Astral LocationCell.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[27/36] Compiling Astral LocationsTableViewController.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[28/36] Compiling Astral ReaderIdentityCell.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[29/36] Compiling Astral ShortLocationCell.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[30/36] Compiling Astral ReaderCell.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[31/36] Compiling Astral SearchingReaderCell.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[32/36] Compiling Astral SettingsCoordinator.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[33/36] Compiling Astral Astral.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[34/36] Compiling Astral ChargeCoordinator.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[35/36] Compiling Astral ChargeViewController.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
[36/36] Compiling Astral DiscoveryTableViewController.swift
/host/spi-builder-workspace/Sources/Astral/Astral.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 | import UIKit
 10 | import StripeTerminal
BUILD FAILURE 6.2 wasm