The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build AppScreenshotKit, reference v0.1.0 (b7d206), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 03:53:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/shitamori1272/AppScreenshotKit.git
Reference: v0.1.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/shitamori1272/AppScreenshotKit
 * tag               v0.1.0     -> FETCH_HEAD
HEAD is now at b7d2066 4 apply swift format (#7)
Cloned https://github.com/shitamori1272/AppScreenshotKit.git
Revision (git rev-parse @):
b7d2066b6c7221c71bbefcc4ef1a4af10af0fc53
SUCCESS checkout https://github.com/shitamori1272/AppScreenshotKit.git at v0.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/shitamori1272/AppScreenshotKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/swiftlang/swift-syntax.git
[1/70927] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.38s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (7.16s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
warning: No bezels found in /root/.cache/com.shitamori1272.AppScreenshotKit/AppleDesignResource. Please run the command to download bezels first.
 "swift run AppScreenshotKitCLI download-bezel-image"
[1/1] Compiling plugin RegisterBezelsCommand
[2/2] Compiling plugin SwiftFormatLintCommand
Building for debugging...
[2/49] Write sources
[23/49] Compiling _SwiftSyntaxCShims dummy.c
[24/49] Register Dummy Bezel image file
[25/49] Copying AppleDesignResource
[26/49] Write swift-version-24593BA9C3E375BF.txt
[27/98] swift format lint
[29/98] Compiling AppScreenshotKitCLI FileManager+Protocol.swift
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/AppScreenshotKitCLI.swift:2:8: error: no such module 'Foundation'
 1 | // main.swift
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | @main
[30/99] Compiling AppScreenshotKitCLI URLSession+Protocol.swift
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/AppScreenshotKitCLI.swift:2:8: error: no such module 'Foundation'
 1 | // main.swift
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | @main
[31/99] Compiling AppScreenshotKitCLI DMGHandler.swift
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/AppScreenshotKitCLI.swift:2:8: error: no such module 'Foundation'
 1 | // main.swift
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | @main
[32/99] Emitting module SwiftSyntax601
[33/99] Compiling SwiftSyntax601 Empty.swift
[34/99] Emitting module SwiftSyntax509
[35/99] Compiling SwiftSyntax509 Empty.swift
[36/99] Compiling AppScreenshotKitCLI SketchDocument.swift
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/AppScreenshotKitCLI.swift:2:8: error: no such module 'Foundation'
 1 | // main.swift
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | @main
[37/99] Compiling AppScreenshotKitCLI AppScreenshotKitCLI.swift
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/AppScreenshotKitCLI.swift:2:8: error: no such module 'Foundation'
 1 | // main.swift
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | @main
[38/99] Compiling AppScreenshotKitCLI ArgumentsParser.swift
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/AppScreenshotKitCLI.swift:2:8: error: no such module 'Foundation'
 1 | // main.swift
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | @main
[39/100] Compiling AppScreenshotKitCLI BezelImageDownloader.swift
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/AppScreenshotKitCLI.swift:2:8: error: no such module 'Foundation'
 1 | // main.swift
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | @main
[40/100] Compiling AppScreenshotKitCLI CLIError.swift
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/AppScreenshotKitCLI.swift:2:8: error: no such module 'Foundation'
 1 | // main.swift
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | @main
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/100] Emitting module AppScreenshotKitCLI
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/AppScreenshotKitCLI.swift:2:8: error: no such module 'Foundation'
 1 | // main.swift
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | @main
[42/101] Compiling SwiftSyntax510 Empty.swift
[43/101] Emitting module SwiftSyntax510
[44/101] Compiling AppScreenshotCore DeviceViewModel.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
[45/101] Compiling AppScreenshotCore Environments.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
[46/101] Compiling AppScreenshotCore HostingViewWrap.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
[47/101] Compiling AppScreenshotCore ScaleView.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
[51/106] Compiling AppScreenshotCore DeviceCategory.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
[52/106] Compiling AppScreenshotCore DeviceColor.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
[53/106] Compiling AppScreenshotCore DeviceModel.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
[54/106] Compiling AppScreenshotCore DeviceOrientation.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
[55/106] Compiling AppScreenshotCore AppScreenshotKitError.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
[56/106] Compiling AppScreenshotCore BezelImageLoader.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
[57/106] Compiling AppScreenshotCore PNGDataConverter.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
[58/106] Compiling AppScreenshotCore Sample.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
[59/106] Compiling AppScreenshotCore AppScreenshotSize+iPhone63Inch.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
[60/106] Compiling AppScreenshotCore AppScreenshotSize+iPhone69Inch.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
[61/106] Compiling AppScreenshotCore AppScreenshotSize.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
[62/106] Compiling AppScreenshotCore AppleDesignResourceBezelDefinition.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
[63/106] Compiling AppScreenshotCore AppScreenshotEnvironment.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
[64/106] Compiling AppScreenshotCore AppScreenshotSize+iPad110Inch.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
[65/106] Compiling AppScreenshotCore AppScreenshotSize+iPad130Inch.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
[66/106] Compiling AppScreenshotCore AppScreenshotSize+iPad97Inch.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
[67/106] Compiling AppScreenshotCore AppScreenshotSize+iPhone61Inch.swift
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
[72/106] Compiling SwiftSyntax600 Empty.swift
[73/106] Emitting module SwiftSyntax600
[74/106] Compiling AppScreenshotKitCLI RSSHandler.swift
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/AppScreenshotKitCLI.swift:2:8: error: no such module 'Foundation'
 1 | // main.swift
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | @main
[75/106] Compiling AppScreenshotKitCLI Shell.swift
/host/spi-builder-workspace/Sources/AppScreenshotKitCLI/AppScreenshotKitCLI.swift:2:8: error: no such module 'Foundation'
 1 | // main.swift
 2 | import Foundation
   |        `- error: no such module 'Foundation'
 3 |
 4 | @main
[75/107] Wrapping AST for SwiftSyntax510 for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[76/107] Emitting module AppScreenshotCore
/host/spi-builder-workspace/Sources/AppScreenshotCore/AppScreenshot+Export.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// Extension that provides export functionality for App Store screenshots.
[76/107] Wrapping AST for SwiftSyntax601 for debugging
[76/107] Wrapping AST for SwiftSyntax509 for debugging
BUILD FAILURE 6.2 wasm