Build Information
Failed to build ShapeScript, reference main (786eaa), with Swift 6.2 for Wasm on 13 Nov 2025 10:09:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nicklockwood/ShapeScript.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/ShapeScript
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 786eaa3 Update for 1.9.3 release
Cloned https://github.com/nicklockwood/ShapeScript.git
Revision (git rev-parse @):
786eaa319cb0e958c9030eaf5659bb3e8a9ad2e7
SUCCESS checkout https://github.com/nicklockwood/ShapeScript.git at main
========================================
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" -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-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/nicklockwood/Euclid.git
Fetching https://github.com/nicklockwood/LRUCache.git
Fetching https://github.com/nicklockwood/SVGPath.git
[1/237] Fetching svgpath
[238/578] Fetching svgpath, lrucache
[579/14276] Fetching svgpath, lrucache, euclid
Fetched https://github.com/nicklockwood/SVGPath.git from cache (2.89s)
Fetched https://github.com/nicklockwood/LRUCache.git from cache (2.89s)
Fetched https://github.com/nicklockwood/Euclid.git from cache (2.97s)
Computing version for https://github.com/nicklockwood/SVGPath.git
Computed https://github.com/nicklockwood/SVGPath.git at 1.2.0 (3.63s)
Computing version for https://github.com/nicklockwood/LRUCache.git
Computed https://github.com/nicklockwood/LRUCache.git at 1.1.2 (0.81s)
Computing version for https://github.com/nicklockwood/Euclid.git
Computed https://github.com/nicklockwood/Euclid.git at 0.8.13 (0.43s)
Creating working copy for https://github.com/nicklockwood/LRUCache.git
Working copy of https://github.com/nicklockwood/LRUCache.git resolved at 1.1.2
Creating working copy for https://github.com/nicklockwood/SVGPath.git
Working copy of https://github.com/nicklockwood/SVGPath.git resolved at 1.2.0
Creating working copy for https://github.com/nicklockwood/Euclid.git
Working copy of https://github.com/nicklockwood/Euclid.git resolved at 0.8.13
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/57] Compiling SVGPath SVGPath+CoreGraphics.swift
[8/57] Emitting module SVGPath
[9/57] Compiling Euclid Euclid+AppKit.swift
[10/57] Compiling Euclid Euclid+CoreGraphics.swift
[11/57] Compiling Euclid Euclid+CoreText.swift
[12/57] Compiling Euclid Euclid+RealityKit.swift
[13/57] Compiling Euclid Euclid+SIMD.swift
[14/57] Compiling Euclid Euclid+SceneKit.swift
[15/62] Compiling Euclid Angle.swift
[16/62] Compiling Euclid ApproximateEquality.swift
[17/62] Compiling Euclid BSP.swift
[18/62] Compiling Euclid Bounded.swift
[19/62] Compiling Euclid Bounds.swift
[20/62] Compiling Euclid Color.swift
[21/62] Emitting module Euclid
[22/62] Compiling Euclid Euclid+UIKit.swift
[23/62] Compiling Euclid Interpolatable.swift
[24/62] Compiling Euclid Line.swift
[25/62] Compiling Euclid LineComparable.swift
[26/62] Compiling Euclid LineSegment+CSG.swift
[27/62] Compiling Euclid LineSegment.swift
[28/62] Emitting module LRUCache
[29/62] Compiling LRUCache LRUCache.swift
[30/63] Compiling Euclid Path.swift
[31/63] Compiling Euclid PathPoint.swift
[32/63] Compiling Euclid Plane.swift
[33/63] Compiling Euclid PlaneComparable.swift
[34/63] Compiling Euclid PointComparable.swift
[35/63] Compiling Euclid Mesh+Shapes.swift
[36/63] Compiling Euclid Mesh+Texcoords.swift
[37/63] Compiling Euclid Mesh.swift
[38/63] Compiling Euclid Path+CSG.swift
[39/63] Compiling Euclid Path+Shapes.swift
[40/63] Compiling Euclid Polygon+CSG.swift
[41/63] Compiling Euclid Polygon.swift
[42/63] Compiling Euclid Rotation.swift
[43/63] Compiling Euclid Stretchable.swift
[44/63] Compiling Euclid Transform.swift
[46/63] Compiling Euclid Mesh+CSG.swift
[47/63] Compiling Euclid Mesh+IO.swift
[48/63] Compiling Euclid Mesh+OBJ.swift
[49/63] Compiling Euclid Mesh+OFF.swift
[50/63] Compiling Euclid Mesh+STL.swift
[50/63] Wrapping AST for LRUCache for debugging
[52/63] Compiling SVGPath SVGPath.swift
[53/64] Wrapping AST for SVGPath for debugging
[55/64] Compiling Euclid Transformable.swift
[56/64] Compiling Euclid Utilities.swift
[57/64] Compiling Euclid Vector.swift
[58/64] Compiling Euclid Vertex.swift
[59/64] Compiling Euclid VertexSet.swift
[60/65] Wrapping AST for Euclid for debugging
[62/89] Compiling ShapeScript ProgramError.swift
[63/89] Compiling ShapeScript RandomSequence.swift
[64/89] Compiling ShapeScript Scene+SceneKit.swift
[65/92] Compiling ShapeScript Scene.swift
[66/92] Compiling ShapeScript StandardLibrary.swift
[67/92] Compiling ShapeScript String+Matching.swift
[68/92] Compiling ShapeScript String+Ordinals.swift
[69/92] Compiling ShapeScript Symbols.swift
[70/92] Compiling ShapeScript Types.swift
[71/92] Compiling ShapeScript Value+JSON.swift
[72/92] Compiling ShapeScript Value+Logging.swift
[73/92] Compiling ShapeScript Values.swift
[74/92] Compiling ShapeScript Lexer.swift
[75/92] Compiling ShapeScript Material+Brightness.swift
[76/92] Compiling ShapeScript Material+SceneKit.swift
[77/92] Emitting module ShapeScript
[78/92] Compiling ShapeScript Material.swift
[79/92] Compiling ShapeScript Members.swift
[80/92] Compiling ShapeScript Parser.swift
[81/92] Compiling ShapeScript Euclid+Extensions.swift
/host/spi-builder-workspace/ShapeScript/EvaluationContext.swift:376:28: error: no exact matches in call to initializer
374 | switch url.pathExtension.lowercased() {
375 | case "stl", "stla", "obj", "off":
376 | let mesh = try Mesh(url: url) {
| `- error: no exact matches in call to initializer
377 | switch $0 {
378 | case let color as Color:
/host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Mesh+STL.swift:220:5: note: candidate has partially matching parameter list (stlData: Data, materialLookup: Mesh.STLMaterialProvider?)
218 | /// - stlData: binary or ASCII STL file data
219 | /// - materialLookup: A closure to map STL facet colors to Euclid materials. Use `nil` for default mapping.
220 | init?(stlData: Data, materialLookup: STLMaterialProvider? = nil) {
| `- note: candidate has partially matching parameter list (stlData: Data, materialLookup: Mesh.STLMaterialProvider?)
221 | if stlData.count >= 5,
222 | let prefix = String(data: stlData[0 ..< 5], encoding: .utf8),
/host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Mesh.swift:186:5: note: candidate has partially matching parameter list ([Polygon])
184 | /// Creates a new mesh from an array of polygons.
185 | /// - Parameter polygons: The polygons making up the mesh.
186 | init(_ polygons: [Polygon]) {
| `- note: candidate has partially matching parameter list ([Polygon])
187 | self.init(
188 | unchecked: polygons,
[82/92] Compiling ShapeScript Euclid+SVGPath.swift
/host/spi-builder-workspace/ShapeScript/EvaluationContext.swift:376:28: error: no exact matches in call to initializer
374 | switch url.pathExtension.lowercased() {
375 | case "stl", "stla", "obj", "off":
376 | let mesh = try Mesh(url: url) {
| `- error: no exact matches in call to initializer
377 | switch $0 {
378 | case let color as Color:
/host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Mesh+STL.swift:220:5: note: candidate has partially matching parameter list (stlData: Data, materialLookup: Mesh.STLMaterialProvider?)
218 | /// - stlData: binary or ASCII STL file data
219 | /// - materialLookup: A closure to map STL facet colors to Euclid materials. Use `nil` for default mapping.
220 | init?(stlData: Data, materialLookup: STLMaterialProvider? = nil) {
| `- note: candidate has partially matching parameter list (stlData: Data, materialLookup: Mesh.STLMaterialProvider?)
221 | if stlData.count >= 5,
222 | let prefix = String(data: stlData[0 ..< 5], encoding: .utf8),
/host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Mesh.swift:186:5: note: candidate has partially matching parameter list ([Polygon])
184 | /// Creates a new mesh from an array of polygons.
185 | /// - Parameter polygons: The polygons making up the mesh.
186 | init(_ polygons: [Polygon]) {
| `- note: candidate has partially matching parameter list ([Polygon])
187 | self.init(
188 | unchecked: polygons,
[83/92] Compiling ShapeScript EvaluationContext.swift
/host/spi-builder-workspace/ShapeScript/EvaluationContext.swift:376:28: error: no exact matches in call to initializer
374 | switch url.pathExtension.lowercased() {
375 | case "stl", "stla", "obj", "off":
376 | let mesh = try Mesh(url: url) {
| `- error: no exact matches in call to initializer
377 | switch $0 {
378 | case let color as Color:
/host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Mesh+STL.swift:220:5: note: candidate has partially matching parameter list (stlData: Data, materialLookup: Mesh.STLMaterialProvider?)
218 | /// - stlData: binary or ASCII STL file data
219 | /// - materialLookup: A closure to map STL facet colors to Euclid materials. Use `nil` for default mapping.
220 | init?(stlData: Data, materialLookup: STLMaterialProvider? = nil) {
| `- note: candidate has partially matching parameter list (stlData: Data, materialLookup: Mesh.STLMaterialProvider?)
221 | if stlData.count >= 5,
222 | let prefix = String(data: stlData[0 ..< 5], encoding: .utf8),
/host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Mesh.swift:186:5: note: candidate has partially matching parameter list ([Polygon])
184 | /// Creates a new mesh from an array of polygons.
185 | /// - Parameter polygons: The polygons making up the mesh.
186 | init(_ polygons: [Polygon]) {
| `- note: candidate has partially matching parameter list ([Polygon])
187 | self.init(
188 | unchecked: polygons,
[84/92] Compiling ShapeScript EvaluationDelegate.swift
/host/spi-builder-workspace/ShapeScript/EvaluationContext.swift:376:28: error: no exact matches in call to initializer
374 | switch url.pathExtension.lowercased() {
375 | case "stl", "stla", "obj", "off":
376 | let mesh = try Mesh(url: url) {
| `- error: no exact matches in call to initializer
377 | switch $0 {
378 | case let color as Color:
/host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Mesh+STL.swift:220:5: note: candidate has partially matching parameter list (stlData: Data, materialLookup: Mesh.STLMaterialProvider?)
218 | /// - stlData: binary or ASCII STL file data
219 | /// - materialLookup: A closure to map STL facet colors to Euclid materials. Use `nil` for default mapping.
220 | init?(stlData: Data, materialLookup: STLMaterialProvider? = nil) {
| `- note: candidate has partially matching parameter list (stlData: Data, materialLookup: Mesh.STLMaterialProvider?)
221 | if stlData.count >= 5,
222 | let prefix = String(data: stlData[0 ..< 5], encoding: .utf8),
/host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Mesh.swift:186:5: note: candidate has partially matching parameter list ([Polygon])
184 | /// Creates a new mesh from an array of polygons.
185 | /// - Parameter polygons: The polygons making up the mesh.
186 | init(_ polygons: [Polygon]) {
| `- note: candidate has partially matching parameter list ([Polygon])
187 | self.init(
188 | unchecked: polygons,
[85/92] Compiling ShapeScript Geometry.swift
/host/spi-builder-workspace/ShapeScript/Interpreter.swift:418:43: error: value of type 'NSError' has no member 'underlyingErrors'
416 | #if !os(Linux)
417 | if #available(macOS 11.3, iOS 14.5, tvOS 14.5, *) {
418 | underlyingError = nsError.underlyingErrors.first
| `- error: value of type 'NSError' has no member 'underlyingErrors'
419 | }
420 | #endif
[86/92] Compiling ShapeScript GeometryCache.swift
/host/spi-builder-workspace/ShapeScript/Interpreter.swift:418:43: error: value of type 'NSError' has no member 'underlyingErrors'
416 | #if !os(Linux)
417 | if #available(macOS 11.3, iOS 14.5, tvOS 14.5, *) {
418 | underlyingError = nsError.underlyingErrors.first
| `- error: value of type 'NSError' has no member 'underlyingErrors'
419 | }
420 | #endif
[87/92] Compiling ShapeScript GeometryType.swift
/host/spi-builder-workspace/ShapeScript/Interpreter.swift:418:43: error: value of type 'NSError' has no member 'underlyingErrors'
416 | #if !os(Linux)
417 | if #available(macOS 11.3, iOS 14.5, tvOS 14.5, *) {
418 | underlyingError = nsError.underlyingErrors.first
| `- error: value of type 'NSError' has no member 'underlyingErrors'
419 | }
420 | #endif
[88/92] Compiling ShapeScript Interpreter.swift
/host/spi-builder-workspace/ShapeScript/Interpreter.swift:418:43: error: value of type 'NSError' has no member 'underlyingErrors'
416 | #if !os(Linux)
417 | if #available(macOS 11.3, iOS 14.5, tvOS 14.5, *) {
418 | underlyingError = nsError.underlyingErrors.first
| `- error: value of type 'NSError' has no member 'underlyingErrors'
419 | }
420 | #endif
BUILD FAILURE 6.2 wasm