The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build ShapeScript, reference 1.8.12 (b20899), with Swift 6.2 (beta) for Wasm on 2 Aug 2025 01:20:24 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/nicklockwood/ShapeScript.git
Reference: 1.8.12
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/nicklockwood/ShapeScript
 * tag               1.8.12     -> FETCH_HEAD
HEAD is now at b208996 Update for 1.8.12 release
Cloned https://github.com/nicklockwood/ShapeScript.git
Revision (git rev-parse @):
b2089960539d1c504e0ce84f890708649554fcb9
SUCCESS checkout https://github.com/nicklockwood/ShapeScript.git at 1.8.12
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/nicklockwood/ShapeScript.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
Fetching https://github.com/nicklockwood/LRUCache.git
Fetching https://github.com/nicklockwood/Euclid.git
Fetching https://github.com/nicklockwood/SVGPath.git
[1/235] Fetching svgpath
[236/436] Fetching svgpath, lrucache
Fetched https://github.com/nicklockwood/SVGPath.git from cache (0.23s)
Fetched https://github.com/nicklockwood/LRUCache.git from cache (0.23s)
[1/10845] Fetching euclid
Fetched https://github.com/nicklockwood/Euclid.git from cache (2.29s)
Computing version for https://github.com/nicklockwood/SVGPath.git
Computed https://github.com/nicklockwood/SVGPath.git at 1.1.6 (2.78s)
Computing version for https://github.com/nicklockwood/LRUCache.git
Computed https://github.com/nicklockwood/LRUCache.git at 1.0.7 (0.52s)
Computing version for https://github.com/nicklockwood/Euclid.git
Computed https://github.com/nicklockwood/Euclid.git at 0.7.16 (0.48s)
Creating working copy for https://github.com/nicklockwood/Euclid.git
Working copy of https://github.com/nicklockwood/Euclid.git resolved at 0.7.16
Creating working copy for https://github.com/nicklockwood/SVGPath.git
Working copy of https://github.com/nicklockwood/SVGPath.git resolved at 1.1.6
Creating working copy for https://github.com/nicklockwood/LRUCache.git
Working copy of https://github.com/nicklockwood/LRUCache.git resolved at 1.0.7
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/50] Emitting module Euclid
/host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Angle.swift:32:8: error: no such module 'Foundation'
 30 | //
 31 |
 32 | import Foundation
    |        `- error: no such module 'Foundation'
 33 |
 34 | /// An angle or 2D rotation.
[8/54] Compiling SVGPath SVGPath+CoreGraphics.swift
/host/spi-builder-workspace/.build/checkouts/SVGPath/Sources/SVGPath.swift:32:8: error: no such module 'Foundation'
 30 | //
 31 |
 32 | import Foundation
    |        `- error: no such module 'Foundation'
 33 |
 34 | public struct SVGPath: Hashable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/54] Emitting module LRUCache
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:34:8: error: no such module 'Foundation'
 32 | //
 33 |
 34 | import Foundation
    |        `- error: no such module 'Foundation'
 35 |
 36 | #if canImport(UIKit) && !os(watchOS)
[10/54] Compiling LRUCache LRUCache.swift
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:34:8: error: no such module 'Foundation'
 32 | //
 33 |
 34 | import Foundation
    |        `- error: no such module 'Foundation'
 35 |
 36 | #if canImport(UIKit) && !os(watchOS)
[11/54] Compiling Euclid Transforms.swift
/host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Angle.swift:32:8: error: no such module 'Foundation'
 30 | //
 31 |
 32 | import Foundation
    |        `- error: no such module 'Foundation'
 33 |
 34 | /// An angle or 2D rotation.
[12/54] Compiling Euclid Utilities.swift
/host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Angle.swift:32:8: error: no such module 'Foundation'
 30 | //
 31 |
 32 | import Foundation
    |        `- error: no such module 'Foundation'
 33 |
 34 | /// An angle or 2D rotation.
[13/54] Compiling Euclid Vector.swift
/host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Angle.swift:32:8: error: no such module 'Foundation'
 30 | //
 31 |
 32 | import Foundation
    |        `- error: no such module 'Foundation'
 33 |
 34 | /// An angle or 2D rotation.
[14/54] Compiling Euclid Vertex.swift
/host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Angle.swift:32:8: error: no such module 'Foundation'
 30 | //
 31 |
 32 | import Foundation
    |        `- error: no such module 'Foundation'
 33 |
 34 | /// An angle or 2D rotation.
/host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Angle.swift:32:8: error: no such module 'Foundation'
 30 | //
 31 |
 32 | import Foundation
    |        `- error: no such module 'Foundation'
 33 |
 34 | /// An angle or 2D rotation.
BUILD FAILURE 6.2 wasm