Build Information
Failed to build Scalar2D, reference master (a510d1), with Swift 6.2 for Wasm on 19 Jun 2025 05:43:02 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/generallyhelpfulsoftware/scalar2d.git
Reference: master
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/generallyhelpfulsoftware/scalar2d
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a510d13 Color context was't being passed through.
Cloned https://github.com/generallyhelpfulsoftware/scalar2d.git
Revision (git rev-parse @):
a510d13373e768d04566df7066a01c81ef73daf6
SUCCESS checkout https://github.com/generallyhelpfulsoftware/scalar2d.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/generallyhelpfulsoftware/scalar2d.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/12] Write sources
[11/12] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/28] Emitting module Scalar2D_Colour
/host/spi-builder-workspace/Colour/Sources/ColourParser.swift:33:8: error: no such module 'Foundation'
31 | //
32 | //
33 | import Foundation
| `- error: no such module 'Foundation'
34 |
35 | #if os(iOS) || os(tvOS) || os(OSX) || os(watchOS)
[14/28] Compiling Scalar2D_Colour CGColor+ColourParser.swift
/host/spi-builder-workspace/Colour/Sources/ColourParser.swift:33:8: error: no such module 'Foundation'
31 | //
32 | //
33 | import Foundation
| `- error: no such module 'Foundation'
34 |
35 | #if os(iOS) || os(tvOS) || os(OSX) || os(watchOS)
[15/28] Compiling Scalar2D_Colour ColourParser.swift
/host/spi-builder-workspace/Colour/Sources/ColourParser.swift:33:8: error: no such module 'Foundation'
31 | //
32 | //
33 | import Foundation
| `- error: no such module 'Foundation'
34 |
35 | #if os(iOS) || os(tvOS) || os(OSX) || os(watchOS)
[16/29] Compiling Scalar2D_Colour DeviceCYMKColourParser.swift
/host/spi-builder-workspace/Colour/Sources/ColourParser.swift:33:8: error: no such module 'Foundation'
31 | //
32 | //
33 | import Foundation
| `- error: no such module 'Foundation'
34 |
35 | #if os(iOS) || os(tvOS) || os(OSX) || os(watchOS)
[17/29] Compiling Scalar2D_Colour DeviceColourParser.swift
/host/spi-builder-workspace/Colour/Sources/ColourParser.swift:33:8: error: no such module 'Foundation'
31 | //
32 | //
33 | import Foundation
| `- error: no such module 'Foundation'
34 |
35 | #if os(iOS) || os(tvOS) || os(OSX) || os(watchOS)
[18/29] Compiling Scalar2D_Colour RGBColourParser.swift
/host/spi-builder-workspace/Colour/Sources/ColourParser.swift:33:8: error: no such module 'Foundation'
31 | //
32 | //
33 | import Foundation
| `- error: no such module 'Foundation'
34 |
35 | #if os(iOS) || os(tvOS) || os(OSX) || os(watchOS)
[19/29] Compiling Scalar2D_Colour UIColor+ColourParser.swift
/host/spi-builder-workspace/Colour/Sources/ColourParser.swift:33:8: error: no such module 'Foundation'
31 | //
32 | //
33 | import Foundation
| `- error: no such module 'Foundation'
34 |
35 | #if os(iOS) || os(tvOS) || os(OSX) || os(watchOS)
[20/29] Compiling Scalar2D_Colour NSColor+ColourParser.swift
/host/spi-builder-workspace/Colour/Sources/ColourParser.swift:33:8: error: no such module 'Foundation'
31 | //
32 | //
33 | import Foundation
| `- error: no such module 'Foundation'
34 |
35 | #if os(iOS) || os(tvOS) || os(OSX) || os(watchOS)
[21/29] Compiling Scalar2D_Colour HexColourParser.swift
/host/spi-builder-workspace/Colour/Sources/ColourParser.swift:33:8: error: no such module 'Foundation'
31 | //
32 | //
33 | import Foundation
| `- error: no such module 'Foundation'
34 |
35 | #if os(iOS) || os(tvOS) || os(OSX) || os(watchOS)
[22/29] Compiling Scalar2D_Colour ICCColourParser.swift
/host/spi-builder-workspace/Colour/Sources/ColourParser.swift:33:8: error: no such module 'Foundation'
31 | //
32 | //
33 | import Foundation
| `- error: no such module 'Foundation'
34 |
35 | #if os(iOS) || os(tvOS) || os(OSX) || os(watchOS)
[23/29] Compiling Scalar2D_Colour DeviceGrayColourParser.swift
/host/spi-builder-workspace/Colour/Sources/ColourParser.swift:33:8: error: no such module 'Foundation'
31 | //
32 | //
33 | import Foundation
| `- error: no such module 'Foundation'
34 |
35 | #if os(iOS) || os(tvOS) || os(OSX) || os(watchOS)
[24/29] Compiling Scalar2D_Colour DeviceRGBColourParser.swift
/host/spi-builder-workspace/Colour/Sources/ColourParser.swift:33:8: error: no such module 'Foundation'
31 | //
32 | //
33 | import Foundation
| `- error: no such module 'Foundation'
34 |
35 | #if os(iOS) || os(tvOS) || os(OSX) || os(watchOS)
[25/29] Compiling Scalar2D_Utils Parsing.swift
/host/spi-builder-workspace/Utils/Sources/InheritableProperty.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | public protocol InheritableProperty
[26/29] Compiling Scalar2D_Utils UnicodeScalarView+Utils.swift
/host/spi-builder-workspace/Utils/Sources/InheritableProperty.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | public protocol InheritableProperty
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/29] Emitting module Scalar2D_Utils
/host/spi-builder-workspace/Utils/Sources/InheritableProperty.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | public protocol InheritableProperty
[28/29] Compiling Scalar2D_Utils InheritableProperty.swift
/host/spi-builder-workspace/Utils/Sources/InheritableProperty.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | public protocol InheritableProperty
BUILD FAILURE 6.2 wasm