Build Information
Failed to build ShapeScript, reference 1.12.0 (9b769e), with Swift 6.4 for Wasm on 1 Nov 2026 20:10:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nicklockwood/ShapeScript.git
Reference: 1.12.0
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.12.0 -> FETCH_HEAD
HEAD is now at 9b769e4 Update for 1.12.0 release
Cloned https://github.com/nicklockwood/ShapeScript.git
Revision (git rev-parse @):
9b769e446caa85fa2fc2f41977340906fbc25099
SUCCESS checkout https://github.com/nicklockwood/ShapeScript.git at 1.12.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/nicklockwood/ShapeScript.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:0ad19d16955074ecc72bbe910025b19c4e4614184c1a48afc82660d4c7620121
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-markdown.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/nicklockwood/Euclid.git
Fetching https://github.com/nicklockwood/LRUCache.git
[1/397] Fetching lrucache
[398/8200] Fetching lrucache, swift-markdown
[8201/27530] Fetching lrucache, swift-markdown, swift-argument-parser
Fetched https://github.com/apple/swift-markdown.git (0.65s)
[1171/19727] Fetching lrucache, swift-argument-parser
Fetching https://github.com/nicklockwood/SVGPath.git
Fetched https://github.com/nicklockwood/LRUCache.git (0.97s)
Fetched https://github.com/apple/swift-argument-parser.git (0.98s)
[1/16663] Fetching euclid
[6167/17036] Fetching euclid, svgpath
Fetched https://github.com/nicklockwood/SVGPath.git (0.33s)
[6332/16663] Fetching euclid
Fetched https://github.com/nicklockwood/Euclid.git (2.04s)
Computing version for https://github.com/nicklockwood/SVGPath.git
Computed https://github.com/nicklockwood/SVGPath.git at 1.3.1 (2.92s)
Computing version for https://github.com/nicklockwood/LRUCache.git
Computed https://github.com/nicklockwood/LRUCache.git at 1.3.0 (0.13s)
Computing version for https://github.com/nicklockwood/Euclid.git
Computed https://github.com/nicklockwood/Euclid.git at 0.10.4 (0.13s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.9.0 (0.92s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18674] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git (0.85s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.9.0 (1.04s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.15s)
Creating working copy for https://github.com/nicklockwood/Euclid.git
Working copy of https://github.com/nicklockwood/Euclid.git resolved at 0.10.4
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.9.0
Creating working copy for https://github.com/nicklockwood/LRUCache.git
Working copy of https://github.com/nicklockwood/LRUCache.git resolved at 1.3.0
Creating working copy for https://github.com/nicklockwood/SVGPath.git
Working copy of https://github.com/nicklockwood/SVGPath.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-markdown.git
Working copy of https://github.com/apple/swift-markdown.git resolved at 0.9.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 395]
[Planning deferred tasks]
[68 / 158] SVGPath
[77 / 158] cmark-gfm
[82 / 167] cmark-gfm
[90 / 167] cmark-gfm
[99 / 167] cmark-gfm
[101 / 167] Markdown
[102 / 167] SVGPath
[106 / 167] SVGPath
[115 / 167] SVGPath-product
[117 / 167] SVGPath
[119 / 168]
[121 / 170] LRUCache
[125 / 172] LRUCache
[130 / 183] ArgumentParserToolInfo
[132 / 184] LRUCache
[137 / 184] Euclid
[138 / 184] SVGPath
[141 / 185] ArgumentParserToolInfo
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Mesh+IO.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile Mesh+IO.swift
/host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Mesh+IO.swift:108:47: [1;31merror: [1;39m'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported[0;0m
[0;36m106 |[0;0m }
[0;36m107 |[0;0m let data = stlData(colorLookup: colorLookup)
[0;36m108 |[0;0m try data.write(to: url, options: .[4;39matomic[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39m'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported[0;0m
[0;36m109 |[0;0m case "stla":
[0;36m110 |[0;0m let string = stlString(name: "")
FoundationEssentials.Data.WritingOptions.atomic:4:23: [1;39mnote: [1;39m'atomic' has been explicitly marked unavailable here[0;0m
[0;36m2 |[0;0m struct WritingOptions {
[0;36m3 |[0;0m @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
[0;36m4 |[0;0m public static let atomic: Data.WritingOptions }
[0;36m|[0;0m `- [1;39mnote: [1;39m'atomic' has been explicitly marked unavailable here[0;0m
[0;36m5 |[0;0m }
[0;36m6 |[0;0m
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Angle.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/ApproximateEquality.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/BSP.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Bounded.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Bounds.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Color.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Euclid+AppKit.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Euclid+CoreGraphics.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Euclid+CoreText.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Euclid+RealityKit.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Euclid+SIMD.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Euclid+SceneKit.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Euclid+UIKit.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Interpolatable.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Line.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/LineComparable.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/LineSegment+CSG.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/LineSegment.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Mesh+CSG.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Mesh+IO.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Mesh+Inset.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Mesh+OBJ.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Mesh+OFF.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Mesh+STL.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Mesh+Shapes.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Mesh+Texcoords.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Mesh.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/MiterLimit.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Path+CSG.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Path+Inset.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Path+Shapes.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Path.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/PathPoint.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Plane.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/PlaneComparable.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/PointComparable.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Polygon+CSG.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Polygon+Inset.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Polygon.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Rotation.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Stretchable.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Transform.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Transformable.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Utilities.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Vector.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/Vertex.swift /host/spi-builder-workspace/.build/checkouts/Euclid/Sources/VertexSet.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/Euclid.build/Debug-webassembly-wasm32/Euclid-t.build/Objects-normal/wasm32/supplementaryOutputs-12 -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Euclid.build/Debug-webassembly-wasm32/Euclid-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Euclid.build/Debug-webassembly-wasm32/Euclid-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Euclid.build/Debug-webassembly-wasm32/Euclid-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Euclid -package-name euclid -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Euclid.build/Debug-webassembly-wasm32/Euclid-t.build/Objects-normal/wasm32/Euclid_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Euclid.build/Debug-webassembly-wasm32/Euclid-t.build/Objects-normal/wasm32/Mesh+CSG.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Euclid.build/Debug-webassembly-wasm32/Euclid-t.build/Objects-normal/wasm32/Mesh+IO.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Euclid.build/Debug-webassembly-wasm32/Euclid-t.build/Objects-normal/wasm32/Mesh+Inset.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Euclid.build/Debug-webassembly-wasm32/Euclid-t.build/Objects-normal/wasm32/Mesh+OBJ.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Euclid.build/Debug-webassembly-wasm32/Euclid-t.build/Objects-normal/wasm32/Mesh+OFF.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Euclid.build/Debug-webassembly-wasm32/Euclid-t.build/Objects-normal/wasm32/Mesh+STL.o -index-unit-output-path /Euclid.build/Debug-webassembly-wasm32/Euclid-t.build/Objects-normal/wasm32/Mesh+CSG.o -index-unit-output-path /Euclid.build/Debug-webassembly-wasm32/Euclid-t.build/Objects-normal/wasm32/Mesh+IO.o -index-unit-output-path /Euclid.build/Debug-webassembly-wasm32/Euclid-t.build/Objects-normal/wasm32/Mesh+Inset.o -index-unit-output-path /Euclid.build/Debug-webassembly-wasm32/Euclid-t.build/Objects-normal/wasm32/Mesh+OBJ.o -index-unit-output-path /Euclid.build/Debug-webassembly-wasm32/Euclid-t.build/Objects-normal/wasm32/Mesh+OFF.o -index-unit-output-path /Euclid.build/Debug-webassembly-wasm32/Euclid-t.build/Objects-normal/wasm32/Mesh+STL.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm