Build Information
Failed to build ShapeScript, reference 1.8.10 (4a8917
), with Swift 6.1 for Wasm on 31 May 2025 16:52:43 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nicklockwood/ShapeScript.git
Reference: 1.8.10
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.10 -> FETCH_HEAD
HEAD is now at 4a89178 Update for 1.8.10 release
Cloned https://github.com/nicklockwood/ShapeScript.git
Revision (git rev-parse @):
4a8917846d404b332f868450b1afd71317bb09db
SUCCESS checkout https://github.com/nicklockwood/ShapeScript.git at 1.8.10
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/nicklockwood/ShapeScript.git
https://github.com/nicklockwood/ShapeScript.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "euclid",
"requirement" : {
"range" : [
{
"lower_bound" : "0.7.7",
"upper_bound" : "0.8.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/Euclid.git"
},
{
"identity" : "lrucache",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.6",
"upper_bound" : "1.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/LRUCache.git"
},
{
"identity" : "svgpath",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.5",
"upper_bound" : "1.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SVGPath.git"
}
],
"manifest_display_name" : "ShapeScript",
"name" : "ShapeScript",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "ShapeScript",
"targets" : [
"ShapeScript"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "shapescript",
"targets" : [
"CLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "ShapeScriptTests",
"module_type" : "SwiftTarget",
"name" : "ShapeScriptTests",
"path" : "ShapeScriptTests",
"sources" : [
"GeometryTests.swift",
"ImportExportTests.swift",
"InterpreterTests.swift",
"LexerTests.swift",
"LoggingTests.swift",
"MemberTests.swift",
"MetadataTests.swift",
"ParserTests.swift",
"PlatformTests.swift",
"RegressionTests.swift",
"SVGPathTests.swift",
"StandardLibraryTests.swift",
"StringMatchingTests.swift",
"TestDelegate.swift",
"TypesystemTests.swift"
],
"target_dependencies" : [
"ShapeScript"
],
"type" : "test"
},
{
"c99name" : "ShapeScript",
"module_type" : "SwiftTarget",
"name" : "ShapeScript",
"path" : "ShapeScript",
"product_dependencies" : [
"Euclid",
"LRUCache",
"SVGPath"
],
"product_memberships" : [
"ShapeScript",
"shapescript"
],
"sources" : [
"Euclid+Extensions.swift",
"Euclid+SVGPath.swift",
"EvaluationContext.swift",
"EvaluationDelegate.swift",
"Geometry.swift",
"GeometryCache.swift",
"GeometryType.swift",
"Interpreter.swift",
"Lexer.swift",
"Material+Brightness.swift",
"Material+SceneKit.swift",
"Material.swift",
"Members.swift",
"Parser.swift",
"ProgramError.swift",
"RandomSequence.swift",
"Scene+SceneKit.swift",
"Scene.swift",
"StandardLibrary.swift",
"String+Matching.swift",
"String+Ordinals.swift",
"Symbols.swift",
"Types.swift",
"Value+JSON.swift",
"Value+Logging.swift",
"Values.swift"
],
"type" : "library"
},
{
"c99name" : "CLI",
"module_type" : "SwiftTarget",
"name" : "CLI",
"path" : "Viewer/CLI",
"product_memberships" : [
"shapescript"
],
"sources" : [
"CLI+Export.swift",
"CLI.swift",
"Geometry+ModelInfo.swift",
"ProgramError+Formatting.swift",
"main.swift"
],
"target_dependencies" : [
"ShapeScript"
],
"type" : "executable"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/nicklockwood/Euclid.git
Fetching https://github.com/nicklockwood/SVGPath.git
Fetching https://github.com/nicklockwood/LRUCache.git
[1/202] Fetching svgpath
[199/398] Fetching svgpath, lrucache
Fetched https://github.com/nicklockwood/LRUCache.git from cache (0.31s)
Fetched https://github.com/nicklockwood/SVGPath.git from cache (0.31s)
[1/10696] Fetching euclid
Fetched https://github.com/nicklockwood/Euclid.git from cache (2.46s)
Computing version for https://github.com/nicklockwood/SVGPath.git
Computed https://github.com/nicklockwood/SVGPath.git at 1.1.6 (3.36s)
Computing version for https://github.com/nicklockwood/LRUCache.git
Computed https://github.com/nicklockwood/LRUCache.git at 1.0.7 (0.89s)
Computing version for https://github.com/nicklockwood/Euclid.git
Computed https://github.com/nicklockwood/Euclid.git at 0.7.14 (0.93s)
Creating working copy for https://github.com/nicklockwood/Euclid.git
Working copy of https://github.com/nicklockwood/Euclid.git resolved at 0.7.14
Creating working copy for https://github.com/nicklockwood/LRUCache.git
Working copy of https://github.com/nicklockwood/LRUCache.git resolved at 1.0.7
Creating working copy for https://github.com/nicklockwood/SVGPath.git
Working copy of https://github.com/nicklockwood/SVGPath.git resolved at 1.1.6
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/50] Emitting module SVGPath
[8/50] Compiling Euclid Euclid+SceneKit.swift
[9/50] Compiling Euclid Euclid+UIKit.swift
[10/50] Compiling Euclid Line.swift
[11/50] Compiling Euclid LineSegment+CSG.swift
[12/50] Compiling Euclid LineSegment.swift
[13/54] Compiling SVGPath SVGPath+CoreGraphics.swift
[14/54] Compiling Euclid Euclid+AppKit.swift
[15/54] Compiling Euclid Euclid+CoreGraphics.swift
[16/54] Compiling Euclid Euclid+CoreText.swift
[17/54] Compiling Euclid Euclid+RealityKit.swift
[18/54] Compiling Euclid Euclid+SIMD.swift
[19/54] Compiling SVGPath SVGPath.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/55] Emitting module LRUCache
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:57:37: error: cannot find type 'NotificationCenter' in scope
55 | private let lock: NSLock = .init()
56 | private var token: AnyObject?
57 | private let notificationCenter: NotificationCenter
| `- error: cannot find type 'NotificationCenter' in scope
58 |
59 | /// The current total cost of values in the cache
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:77:29: error: cannot find type 'NotificationCenter' in scope
75 | totalCostLimit: Int = .max,
76 | countLimit: Int = .max,
77 | notificationCenter: NotificationCenter = .default
| `- error: cannot find type 'NotificationCenter' in scope
78 | ) {
79 | self.totalCostLimit = totalCostLimit
[21/55] Compiling LRUCache LRUCache.swift
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:57:37: error: cannot find type 'NotificationCenter' in scope
55 | private let lock: NSLock = .init()
56 | private var token: AnyObject?
57 | private let notificationCenter: NotificationCenter
| `- error: cannot find type 'NotificationCenter' in scope
58 |
59 | /// The current total cost of values in the cache
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:77:29: error: cannot find type 'NotificationCenter' in scope
75 | totalCostLimit: Int = .max,
76 | countLimit: Int = .max,
77 | notificationCenter: NotificationCenter = .default
| `- error: cannot find type 'NotificationCenter' in scope
78 | ) {
79 | self.totalCostLimit = totalCostLimit
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:85:21: error: 'nil' requires a contextual type
83 | self.token = notificationCenter.addObserver(
84 | forName: LRUCacheMemoryWarningNotification,
85 | object: nil,
| `- error: 'nil' requires a contextual type
86 | queue: nil
87 | ) { [weak self] _ in
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:86:20: error: 'nil' requires a contextual type
84 | forName: LRUCacheMemoryWarningNotification,
85 | object: nil,
86 | queue: nil
| `- error: 'nil' requires a contextual type
87 | ) { [weak self] _ in
88 | self?.removeAllValues()
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:87:25: error: cannot infer type of closure parameter '_' without a type annotation
85 | object: nil,
86 | queue: nil
87 | ) { [weak self] _ in
| `- error: cannot infer type of closure parameter '_' without a type annotation
88 | self?.removeAllValues()
89 | }
[23/55] Emitting module Euclid
[24/55] Compiling Euclid Angle.swift
[25/55] Compiling Euclid BSP.swift
[26/55] Compiling Euclid Bounded.swift
[27/55] Compiling Euclid Bounds.swift
[28/55] Compiling Euclid Color.swift
[29/55] Compiling Euclid Mesh+CSG.swift
[30/55] Compiling Euclid Mesh+IO.swift
[31/55] Compiling Euclid Mesh+OBJ.swift
[32/55] Compiling Euclid Mesh+STL.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/45] Emitting module LRUCache
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:57:37: error: cannot find type 'NotificationCenter' in scope
55 | private let lock: NSLock = .init()
56 | private var token: AnyObject?
57 | private let notificationCenter: NotificationCenter
| `- error: cannot find type 'NotificationCenter' in scope
58 |
59 | /// The current total cost of values in the cache
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:77:29: error: cannot find type 'NotificationCenter' in scope
75 | totalCostLimit: Int = .max,
76 | countLimit: Int = .max,
77 | notificationCenter: NotificationCenter = .default
| `- error: cannot find type 'NotificationCenter' in scope
78 | ) {
79 | self.totalCostLimit = totalCostLimit
[3/45] Compiling LRUCache LRUCache.swift
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:57:37: error: cannot find type 'NotificationCenter' in scope
55 | private let lock: NSLock = .init()
56 | private var token: AnyObject?
57 | private let notificationCenter: NotificationCenter
| `- error: cannot find type 'NotificationCenter' in scope
58 |
59 | /// The current total cost of values in the cache
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:77:29: error: cannot find type 'NotificationCenter' in scope
75 | totalCostLimit: Int = .max,
76 | countLimit: Int = .max,
77 | notificationCenter: NotificationCenter = .default
| `- error: cannot find type 'NotificationCenter' in scope
78 | ) {
79 | self.totalCostLimit = totalCostLimit
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:85:21: error: 'nil' requires a contextual type
83 | self.token = notificationCenter.addObserver(
84 | forName: LRUCacheMemoryWarningNotification,
85 | object: nil,
| `- error: 'nil' requires a contextual type
86 | queue: nil
87 | ) { [weak self] _ in
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:86:20: error: 'nil' requires a contextual type
84 | forName: LRUCacheMemoryWarningNotification,
85 | object: nil,
86 | queue: nil
| `- error: 'nil' requires a contextual type
87 | ) { [weak self] _ in
88 | self?.removeAllValues()
/host/spi-builder-workspace/.build/checkouts/LRUCache/Sources/LRUCache.swift:87:25: error: cannot infer type of closure parameter '_' without a type annotation
85 | object: nil,
86 | queue: nil
87 | ) { [weak self] _ in
| `- error: cannot infer type of closure parameter '_' without a type annotation
88 | self?.removeAllValues()
89 | }
[4/45] Compiling SVGPath SVGPath+CoreGraphics.swift
[5/45] Emitting module SVGPath
BUILD FAILURE 6.1 wasm