The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Scalar2D, reference 0.1.8 (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-4609320-0":/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/generallyhelpfulsoftware/scalar2d.git
Reference: 0.1.8
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
 * tag               0.1.8      -> FETCH_HEAD
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 0.1.8
========================================
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-4609320-0":/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/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)
[15/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
[16/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/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
[18/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
[19/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)
[20/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)
BUILD FAILURE 6.2 wasm