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 main (742587), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 03:55:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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: 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/shitamori1272/AppScreenshotKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7425878 Update README.md to reflect changes in @AppScreenshot usage and clari… (#8)
Cloned https://github.com/shitamori1272/AppScreenshotKit.git
Revision (git rev-parse @):
7425878f25340268980b31e8219a5d63fc363b3d
SUCCESS checkout https://github.com/shitamori1272/AppScreenshotKit.git at main
========================================
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-4606859-0":/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 (6.49s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (11.72s)
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
[7/49] Register Dummy Bezel image file
[24/49] Copying AppleDesignResource
[25/49] Compiling _SwiftSyntaxCShims dummy.c
[26/49] Write swift-version-24593BA9C3E375BF.txt
[27/98] swift format lint
[29/98] Emitting module SwiftSyntax510
[30/98] Compiling SwiftSyntax510 Empty.swift
[31/99] Compiling SwiftSyntax509 Empty.swift
[32/99] Emitting module SwiftSyntax509
[35/100] Compiling SwiftSyntax601 Empty.swift
[36/100] Emitting module SwiftSyntax601
[37/101] Wrapping AST for SwiftSyntax509 for debugging
[38/101] Wrapping AST for SwiftSyntax601 for debugging
[40/101] 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.
[41/101] 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.
[42/101] 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.
[43/101] 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.
[44/101] 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.
[44/103] Wrapping AST for SwiftSyntax510 for debugging
[46/105] 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.
[47/105] 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.
[48/105] 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.
[49/105] 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.
[50/105] Compiling SwiftSyntax600 Empty.swift
[51/105] Emitting module SwiftSyntax600
[53/106] Compiling AppScreenshotCore ScreenContentView.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 SharpView.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 VerticalLinesView.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 VirtualBezelView.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] Wrapping AST for SwiftSyntax600 for debugging
[58/106] 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
[59/106] 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
[60/107] 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
[61/107] 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.
[62/107] 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.
[63/107] 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.
[64/107] 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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[65/107] 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
[66/107] Compiling AppScreenshotCore Bezel.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/107] Compiling AppScreenshotCore DeviceAppearanceViewModel.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.
[68/107] Compiling AppScreenshotCore DeviceScreenViewModel.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.
[69/107] Compiling AppScreenshotCore DeviceView.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.
[70/107] 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
[71/107] 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
[72/107] 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
[73/107] 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.
[74/107] 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.
[75/107] 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.
[76/107] 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.
[77/116] 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.
[78/116] 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.
[79/116] 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.
[80/116] 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.
[81/171] Compiling SwiftSyntax AbsolutePosition.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
[82/171] Compiling SwiftSyntax AbsoluteRawSyntax.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
[83/171] Compiling SwiftSyntax AbsoluteSyntaxInfo.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
[84/171] Compiling SwiftSyntax Assert.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)
[85/171] 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.
BUILD FAILURE 6.2 wasm