Build Information
Failed to build Euclid, reference main (1aeb8a
), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 17:57:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/Euclid.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1aeb8a7 Update for 0.7.15 release
Cloned https://github.com/nicklockwood/Euclid.git
Revision (git rev-parse @):
1aeb8a7c36c22d31c74d4bd2c7e4529e3d43c097
SUCCESS checkout https://github.com/nicklockwood/Euclid.git at main
========================================
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-4606859-3":/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/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/34] 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/38] 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/38] 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/38] 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/38] 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.
[8/38] 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.
[9/38] 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.
[10/38] 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.
[11/38] 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.
[12/38] 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.
[13/38] 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.
[14/38] 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.
[15/38] 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.
[16/38] 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.
[17/38] 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.
[18/38] 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.
[19/38] 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.
[20/38] 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.
[21/38] 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.
[22/38] 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.
[23/38] 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.
[24/38] 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.
[25/38] 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.
[26/38] 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.
[27/38] 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.
[28/38] Compiling Euclid Quaternion.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/38] 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.
[30/38] 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.
[31/38] 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.
[32/38] 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.
[33/38] 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.
[34/38] 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.
[35/38] Compiling Euclid Transforms.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/38] 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.
[37/38] 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.
[38/38] 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.
BUILD FAILURE 6.2 wasm