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 swift-screenshot-scribbler, reference main (6ef7ed), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 01:43:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/goeldner/swift-screenshot-scribbler.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/goeldner/swift-screenshot-scribbler
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6ef7ed5 Update README about rotation and add missing caption gradient example
Cloned https://github.com/goeldner/swift-screenshot-scribbler.git
Revision (git rev-parse @):
6ef7ed50ead2560d0003991c6ed55dd47aa2c2ad
SUCCESS checkout https://github.com/goeldner/swift-screenshot-scribbler.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/goeldner/swift-screenshot-scribbler.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/apple/swift-argument-parser
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.25s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (1.74s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/12] Write sources
[5/12] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/48] Emitting module ScreenshotScribbler
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[8/52] Compiling ScreenshotScribbler RectangleRendering.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[9/52] Compiling ScreenshotScribbler RotationSupport.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[10/52] Compiling ScreenshotScribbler TextRendering.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[11/52] Compiling ScreenshotScribbler ScreenshotScribbler.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[12/52] Compiling ScreenshotScribbler ColorTypeParser.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[13/52] Compiling ScreenshotScribbler DirectionParser.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[14/52] Compiling ScreenshotScribbler ImageScalingParser.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[15/52] Compiling ScreenshotScribbler ImageRendering.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[16/52] Compiling ScreenshotScribbler HorizontalTextAlignment.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[17/52] Compiling ScreenshotScribbler ImageScaling.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[18/52] Compiling ScreenshotScribbler ImageScalingMode.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[19/52] Compiling ScreenshotScribbler LayoutType.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[20/52] Compiling ScreenshotScribbler VerticalAlignment.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[21/52] Compiling ScreenshotScribbler CGContext+Extensions.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[22/52] Compiling ScreenshotScribbler CGImage+Extensions.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[23/52] Compiling ScreenshotScribbler Codable+JSON.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[24/52] Compiling ScreenshotScribbler Color+CGColor.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[25/52] Compiling ScreenshotScribbler Data+Extensions.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[26/52] Compiling ScreenshotScribbler Color.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[27/52] Compiling ScreenshotScribbler ColorType.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[28/52] Compiling ScreenshotScribbler DefaultColor.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[29/52] Compiling ScreenshotScribbler Direction.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[30/52] Compiling ScreenshotScribbler HorizontalAlignment.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[31/52] Compiling ScreenshotScribbler String+NSRegularExpression.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[32/52] Compiling ScreenshotScribbler AlignmentParser.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[33/52] Compiling ScreenshotScribbler AngleParser.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[34/52] Compiling ScreenshotScribbler ColorParser.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[35/52] Compiling ScreenshotScribbler DecorateAction.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[36/52] Compiling ScreenshotScribbler DecorateActionAssets.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[37/52] Compiling ScreenshotScribbler DecorateActionConfig.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[38/52] Compiling ScreenshotScribbler Alignment.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[39/52] Compiling ScreenshotScribbler Angle.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[40/52] Compiling ScreenshotScribbler BackgroundConfig.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[41/52] Compiling ScreenshotScribbler CaptionConfig.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[42/52] Compiling ScreenshotScribbler LayoutConfig.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[43/52] Compiling ScreenshotScribbler ScreenshotConfig.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[44/52] Compiling ScreenshotScribbler RuntimeError.swift
/host/spi-builder-workspace/Sources/ScreenshotScribbler/Actions/DecorateAction.swift:5:8: error: no such module 'Foundation'
  3 | //
  4 |
  5 | import Foundation
    |        `- error: no such module 'Foundation'
  6 | import CoreGraphics
  7 | import UniformTypeIdentifiers
[45/52] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm