Build Information
Failed to build SkiaKit, reference main (1924d7), with Swift 6.2 for Wasm on 20 Jun 2025 14:02:36 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/UnGast/SkiaKit.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/UnGast/SkiaKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1924d72 Delete download-payload.sh
Cloned https://github.com/UnGast/SkiaKit.git
Revision (git rev-parse @):
1924d72093a758b0c40cd3c437ff7444f68efc5a
SUCCESS checkout https://github.com/UnGast/SkiaKit.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/UnGast/SkiaKit.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
Building for debugging...
[0/8] Write sources
[2/8] Compiling CSkia CSkia.cpp
[3/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/44] Emitting module SkiaKit
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CSkia/include/CSkia.h"
| `- note: in file included from <module-includes>:1:
2 |
[6/49] Compiling SkiaKit FontStyle.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[7/49] Compiling SkiaKit FontStyleSet.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[8/49] Compiling SkiaKit GLInterface.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[9/49] Compiling SkiaKit GrBackendRenderTarget.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[10/49] Compiling SkiaKit GrContext.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[11/49] Compiling SkiaKit Colors.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[12/49] Compiling SkiaKit Data.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[13/49] Compiling SkiaKit Definitions.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[14/49] Compiling SkiaKit Font.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[15/49] Compiling SkiaKit FontManager.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[16/49] Compiling SkiaKit SkiaCApiVersion.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[17/49] Compiling SkiaKit Surface.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[18/49] Compiling SkiaKit SurfaceProperties.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[19/49] Compiling SkiaKit TextBlob.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[20/49] Compiling SkiaKit Typeface.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[21/49] Compiling SkiaKit Bitmap.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[22/49] Compiling SkiaKit Canvas.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[23/49] Compiling SkiaKit Color.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[24/49] Compiling SkiaKit ColorFilter.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[25/49] Compiling SkiaKit ColorSpace.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[26/49] Compiling SkiaKit MaskFilter.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[27/49] Compiling SkiaKit MathTypes.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[28/49] Compiling SkiaKit Matrix.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[29/49] Compiling SkiaKit Paint.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[30/49] Compiling SkiaKit Path.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[31/49] Compiling SkiaKit PathEffect.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[32/49] Compiling SkiaKit Picture.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[33/49] Compiling SkiaKit PictureRecorder.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[34/49] Compiling SkiaKit Pixmap.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[35/49] Compiling SkiaKit Region.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[36/49] Compiling SkiaKit GrGLFramebufferInfo.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[37/49] Compiling SkiaKit Helpers.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[38/49] Compiling SkiaKit Image.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[39/49] Compiling SkiaKit ImageFilter.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[40/49] Compiling SkiaKit ImageInfo.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[41/49] Compiling SkiaKit RoundRect.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[42/49] Compiling SkiaKit SKObject.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[43/49] Compiling SkiaKit SKStream.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[44/49] Compiling SkiaKit SKString.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
[45/49] Compiling SkiaKit Shader.swift
/host/spi-builder-workspace/Sources/SkiaKit/Bitmap.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | #if canImport(CSkia)
11 | import CSkia
BUILD FAILURE 6.2 wasm