Build Information
Failed to build swift-screenshot-scribbler, reference 1.2.0 (1e3ce2
), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 01:43:59 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/goeldner/swift-screenshot-scribbler.git
Reference: 1.2.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/goeldner/swift-screenshot-scribbler
* tag 1.2.0 -> FETCH_HEAD
HEAD is now at 1e3ce2c Prepare 1.2.0 release
Cloned https://github.com/goeldner/swift-screenshot-scribbler.git
Revision (git rev-parse @):
1e3ce2c61f6c0e163682f309c9566c2c6cb7cc63
SUCCESS checkout https://github.com/goeldner/swift-screenshot-scribbler.git at 1.2.0
========================================
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-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/apple/swift-argument-parser
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.83s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (1.23s)
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/45] 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/49] 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
[9/49] 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
[10/49] 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
[11/49] 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
[12/49] 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
[13/49] 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
[14/49] 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
[15/49] 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
[16/49] 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
[17/49] 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
[18/49] 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
[19/49] 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
[20/49] 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
[21/49] 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
[22/49] 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
[23/49] 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
[24/49] 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
[25/49] 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
[26/49] 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
[27/49] 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
[28/49] 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
[29/49] 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
[30/49] 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
[31/49] 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
[32/49] 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
[33/49] 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
[34/49] 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
[35/49] 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
[36/49] 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
[37/49] 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
[38/49] 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
[39/49] 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
[40/49] 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
[41/49] 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
[42/49] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm