Build Information
Failed to build SkiaKit, reference 1.2.5 (befdad
), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 07:58:31 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/migueldeicaza/SkiaKit.git
Reference: 1.2.5
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/migueldeicaza/SkiaKit
* tag 1.2.5 -> FETCH_HEAD
HEAD is now at befdad8 Add another header file
Cloned https://github.com/migueldeicaza/SkiaKit.git
Revision (git rev-parse @):
befdad8e4d912c04af8a97bfb55e0bd9b68255a0
SUCCESS checkout https://github.com/migueldeicaza/SkiaKit.git at 1.2.5
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/migueldeicaza/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/3] Write sources
[1/3] Compiling CSkiaSharp dummy.m
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/36] 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(CSkiaSharp)
11 | import CSkiaSharp
[5/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[6/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[7/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[8/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[9/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[10/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[11/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[12/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[13/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[14/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[15/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[16/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[17/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[18/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[19/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[20/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[21/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[22/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[23/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[24/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[25/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[26/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[27/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[28/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[29/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[30/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[31/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[32/40] Compiling SkiaKit SkiaCanvasLayer.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(CSkiaSharp)
11 | import CSkiaSharp
[33/40] Compiling SkiaKit SkiaView.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(CSkiaSharp)
11 | import CSkiaSharp
[34/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[35/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[36/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[37/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[38/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[39/40] 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(CSkiaSharp)
11 | import CSkiaSharp
[40/40] 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(CSkiaSharp)
11 | import CSkiaSharp
BUILD FAILURE 6.2 wasm