The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SkiaKit, reference 0.0.1 (533cd1), with Swift 6.2 for Wasm on 20 Jun 2025 14:03:01 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/UnGast/SkiaKit.git
Reference: 0.0.1
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
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at 533cd14 Create release.yml
Cloned https://github.com/UnGast/SkiaKit.git
Revision (git rev-parse @):
533cd148843b2a540579bd499c0c03706c8b63e9
SUCCESS checkout https://github.com/UnGast/SkiaKit.git at 0.0.1
========================================
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-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
Building for debugging...
[0/8] Write sources
[2/8] Compiling CSkia CSkia.cpp
[2/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/43] 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
[6/47] 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
[7/47] 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
[8/47] 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
[9/47] 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
[10/47] 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
[11/47] 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
[12/47] 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
[13/47] 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
[14/47] 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
[15/47] 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
[16/47] 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
[17/47] 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
[18/47] 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
[19/47] 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
[20/47] 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
[21/47] 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
[22/47] 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
[23/47] 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
[24/47] 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
[25/47] 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
[26/47] 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
[27/47] 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
[28/47] 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
[29/47] 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
[30/47] 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
[31/47] 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
[32/47] 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
[33/47] 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
[34/47] 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
[35/47] 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
[36/47] 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
[37/47] 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
[38/47] 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
[39/47] 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
<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 |
[40/47] 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
<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 |
[41/47] 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
<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 |
[42/47] 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
<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 |
[43/47] 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
<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 |
BUILD FAILURE 6.2 wasm