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 Euclid, reference 0.8.7 (82fb50), with Swift 6.2 (beta) for Wasm on 9 Sep 2025 22:34:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nicklockwood/Euclid.git
Reference: 0.8.7
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/Euclid
 * tag               0.8.7      -> FETCH_HEAD
HEAD is now at 82fb502 Update for 0.8.7 release
Cloned https://github.com/nicklockwood/Euclid.git
Revision (git rev-parse @):
82fb502ddb03d1e16b6343d0a1dab1a8028539e8
SUCCESS checkout https://github.com/nicklockwood/Euclid.git at 0.8.7
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/nicklockwood/Euclid.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/40] Emitting module Euclid
/host/spi-builder-workspace/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.
[4/45] Compiling Euclid Path.swift
/host/spi-builder-workspace/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.
[5/45] Compiling Euclid PathPoint.swift
/host/spi-builder-workspace/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.
[6/45] Compiling Euclid Plane.swift
/host/spi-builder-workspace/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.
[7/45] Compiling Euclid PlaneComparable.swift
/host/spi-builder-workspace/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/45] Compiling Euclid PointComparable.swift
/host/spi-builder-workspace/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.
[9/45] Compiling Euclid Euclid+AppKit.swift
/host/spi-builder-workspace/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.
[10/45] Compiling Euclid Euclid+CoreGraphics.swift
/host/spi-builder-workspace/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.
[11/45] Compiling Euclid Euclid+CoreText.swift
/host/spi-builder-workspace/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/45] Compiling Euclid Euclid+RealityKit.swift
/host/spi-builder-workspace/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/45] Compiling Euclid Euclid+SIMD.swift
/host/spi-builder-workspace/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/45] Compiling Euclid Euclid+SceneKit.swift
/host/spi-builder-workspace/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.
[15/45] Compiling Euclid Euclid+UIKit.swift
/host/spi-builder-workspace/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.
[16/45] Compiling Euclid Interpolatable.swift
/host/spi-builder-workspace/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.
[17/45] Compiling Euclid Line.swift
/host/spi-builder-workspace/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.
[18/45] Compiling Euclid LineComparable.swift
/host/spi-builder-workspace/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.
[19/45] Compiling Euclid LineSegment+CSG.swift
/host/spi-builder-workspace/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.
[20/45] Compiling Euclid Transformable.swift
/host/spi-builder-workspace/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.
[21/45] Compiling Euclid Utilities.swift
/host/spi-builder-workspace/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.
[22/45] Compiling Euclid Vector.swift
/host/spi-builder-workspace/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.
[23/45] Compiling Euclid Vertex.swift
/host/spi-builder-workspace/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.
[24/45] Compiling Euclid VertexSet.swift
/host/spi-builder-workspace/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.
[25/45] Compiling Euclid Mesh+Shapes.swift
/host/spi-builder-workspace/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.
[26/45] Compiling Euclid Mesh+Texcoords.swift
/host/spi-builder-workspace/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.
[27/45] Compiling Euclid Mesh.swift
/host/spi-builder-workspace/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.
[28/45] Compiling Euclid Path+CSG.swift
/host/spi-builder-workspace/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.
[29/45] Compiling Euclid Path+Shapes.swift
/host/spi-builder-workspace/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.
[30/45] Compiling Euclid Polygon+CSG.swift
/host/spi-builder-workspace/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.
[31/45] Compiling Euclid Polygon.swift
/host/spi-builder-workspace/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.
[32/45] Compiling Euclid Rotation.swift
/host/spi-builder-workspace/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.
[33/45] Compiling Euclid Stretchable.swift
/host/spi-builder-workspace/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.
[34/45] Compiling Euclid Transform.swift
/host/spi-builder-workspace/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.
[35/45] Compiling Euclid Angle.swift
/host/spi-builder-workspace/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.
[36/45] Compiling Euclid ApproximateEquality.swift
/host/spi-builder-workspace/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.
[37/45] Compiling Euclid BSP.swift
/host/spi-builder-workspace/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.
[38/45] Compiling Euclid Bounded.swift
/host/spi-builder-workspace/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.
[39/45] Compiling Euclid Bounds.swift
/host/spi-builder-workspace/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.
[40/45] Compiling Euclid Color.swift
/host/spi-builder-workspace/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.
[41/45] Compiling Euclid LineSegment.swift
/host/spi-builder-workspace/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.
[42/45] Compiling Euclid Mesh+CSG.swift
/host/spi-builder-workspace/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.
[43/45] Compiling Euclid Mesh+IO.swift
/host/spi-builder-workspace/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.
[44/45] Compiling Euclid Mesh+OBJ.swift
/host/spi-builder-workspace/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.
[45/45] Compiling Euclid Mesh+STL.swift
/host/spi-builder-workspace/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