Build Information
Failed to build ShapeScript, reference main (786eaa), with Swift 6.1 for Wasm on 13 Nov 2025 10:11:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
304 | var subpaths = [Path]()
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:426:16: warning: static property 'points' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
424 | ]
425 |
426 | static let points: Symbols = [
| |- warning: static property 'points' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'points' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
427 | "point": .command(.vector) { parameter, context in
428 | try context.addValue(.point(.point(
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:435:16: warning: static property 'pathPoints' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
433 | ]
434 |
435 | static let pathPoints: Symbols = _merge(points, [
| |- warning: static property 'pathPoints' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pathPoints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
436 | "curve": .command(.vector) { parameter, context in
437 | try context.addValue(.point(.curve(
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:444:16: warning: static property 'functions' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
442 | ])
443 |
444 | static let functions: Symbols = [
| |- warning: static property 'functions' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'functions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
445 | // Debug
446 | "print": .command(.list(.any)) { value, context in
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:602:16: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
600 | ]
601 |
602 | static let name: Symbols = [
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
603 | "name": .property(.string, { parameter, context in
604 | context.name = parameter.stringValue
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:610:16: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
608 | ]
609 |
610 | static let background: Symbols = [
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'background' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
611 | "background": .getter(.colorOrTexture) { context in
612 | .colorOrTexture(context.background ?? .color(.clear))
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:616:16: warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
614 | ]
615 |
616 | static let font: Symbols = [
| |- warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'font' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
617 | "font": .property(.font, { parameter, context in
618 | context.font = parameter.stringValue
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:624:16: warning: static property 'detail' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
622 | ]
623 |
624 | static let detail: Symbols = [
| |- warning: static property 'detail' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'detail' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
625 | "detail": .property(.number, { parameter, context in
626 | // TODO: throw error if min/max detail level exceeded
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:633:16: warning: static property 'smoothing' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
631 | ]
632 |
633 | static let smoothing: Symbols = [
| |- warning: static property 'smoothing' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'smoothing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
634 | "smoothing": .property(.halfturns, { parameter, context in
635 | // TODO: find a better way to represent null/auto
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:643:16: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
641 | ]
642 |
643 | static let root: Symbols = _merge(global, font, detail, smoothing, material, childTransform, [
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
644 | "camera": .block(.init(.node, [
645 | "position": .vector,
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:681:16: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
679 | ])
680 |
681 | static let global: Symbols = _merge(functions, colors, meshes, paths)
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'global' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
682 | static let node: Symbols = _merge(transform, name, background)
683 | static let shape: Symbols = _merge(node, detail, smoothing, material)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:682:16: warning: static property 'node' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
680 |
681 | static let global: Symbols = _merge(functions, colors, meshes, paths)
682 | static let node: Symbols = _merge(transform, name, background)
| |- warning: static property 'node' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'node' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
683 | static let shape: Symbols = _merge(node, detail, smoothing, material)
684 | static let group: Symbols = _merge(shape, childTransform, font)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:683:16: warning: static property 'shape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
681 | static let global: Symbols = _merge(functions, colors, meshes, paths)
682 | static let node: Symbols = _merge(transform, name, background)
683 | static let shape: Symbols = _merge(node, detail, smoothing, material)
| |- warning: static property 'shape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
684 | static let group: Symbols = _merge(shape, childTransform, font)
685 | static let user: Symbols = _merge(shape, font)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:684:16: warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
682 | static let node: Symbols = _merge(transform, name, background)
683 | static let shape: Symbols = _merge(node, detail, smoothing, material)
684 | static let group: Symbols = _merge(shape, childTransform, font)
| |- warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'group' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
685 | static let user: Symbols = _merge(shape, font)
686 | static let builder: Symbols = group
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:685:16: warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
683 | static let shape: Symbols = _merge(node, detail, smoothing, material)
684 | static let group: Symbols = _merge(shape, childTransform, font)
685 | static let user: Symbols = _merge(shape, font)
| |- warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
686 | static let builder: Symbols = group
687 | static let hull: Symbols = _merge(group, points)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:686:16: warning: static property 'builder' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
684 | static let group: Symbols = _merge(shape, childTransform, font)
685 | static let user: Symbols = _merge(shape, font)
686 | static let builder: Symbols = group
| |- warning: static property 'builder' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'builder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
687 | static let hull: Symbols = _merge(group, points)
688 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:687:16: warning: static property 'hull' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
685 | static let user: Symbols = _merge(shape, font)
686 | static let builder: Symbols = group
687 | static let hull: Symbols = _merge(group, points)
| |- warning: static property 'hull' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hull' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
688 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
689 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:688:16: warning: static property 'polygon' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
686 | static let builder: Symbols = group
687 | static let hull: Symbols = _merge(group, points)
688 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
| |- warning: static property 'polygon' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'polygon' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
689 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
690 | static let pathShape: Symbols = _merge(transform, detail, color, background)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:689:16: warning: static property 'mesh' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
687 | static let hull: Symbols = _merge(group, points)
688 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
689 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
| |- warning: static property 'mesh' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mesh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
690 | static let pathShape: Symbols = _merge(transform, detail, color, background)
691 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:690:16: warning: static property 'pathShape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
688 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
689 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
690 | static let pathShape: Symbols = _merge(transform, detail, color, background)
| |- warning: static property 'pathShape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pathShape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
691 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
692 | static let definition: Symbols = _merge(root, pathPoints)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:691:16: warning: static property 'path' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
689 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
690 | static let pathShape: Symbols = _merge(transform, detail, color, background)
691 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
| |- warning: static property 'path' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'path' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
692 | static let definition: Symbols = _merge(root, pathPoints)
693 | static let all: Symbols = _merge(definition, shape, path)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:692:16: warning: static property 'definition' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
690 | static let pathShape: Symbols = _merge(transform, detail, color, background)
691 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
692 | static let definition: Symbols = _merge(root, pathPoints)
| |- warning: static property 'definition' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'definition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
693 | static let all: Symbols = _merge(definition, shape, path)
694 | }
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:693:16: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
691 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
692 | static let definition: Symbols = _merge(root, pathPoints)
693 | static let all: Symbols = _merge(definition, shape, path)
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
694 | }
695 |
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
[78/92] Compiling ShapeScript StandardLibrary.swift
/host/spi-builder-workspace/ShapeScript/Scene.swift:42:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Scene' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import Foundation
11 |
12 | public final class Scene {
| `- note: class 'Scene' does not conform to the 'Sendable' protocol
13 | public let background: MaterialProperty
14 | public let children: [Geometry]
:
40 |
41 | public extension Scene {
42 | static let empty = Scene(background: .color(.clear), children: [], cache: nil)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Scene' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Returns the approximate (overestimated) bounds of the scene geometry.
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:36:16: warning: static property 'transform' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | static let transform: Symbols = [
| |- warning: static property 'transform' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'transform' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | "position": .property(.vector, { parameter, context in
38 | context.transform.translation = parameter.vectorValue
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:54:16: warning: static property 'childTransform' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
52 | ]
53 |
54 | static let childTransform: Symbols = [
| |- warning: static property 'childTransform' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'childTransform' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | "translate": .command(.vector) { parameter, context in
56 | let vector = parameter.vectorValue
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:69:16: warning: static property 'colors' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
67 | ]
68 |
69 | static let colors: Symbols = [
| |- warning: static property 'colors' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | "white": .constant(.color(.white)),
71 | "black": .constant(.color(.black)),
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:82:16: warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
80 | ]
81 |
82 | static let color: Symbols = colors + [
| |- warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'color' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | "color": .property(.color, { parameter, context in
84 | context.material.albedo = parameter.colorOrTextureValue
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:90:16: warning: static property 'material' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
88 | ]
89 |
90 | static let material: Symbols = color + [
| |- warning: static property 'material' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'material' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | "opacity": .property(.numberOrTexture, { parameter, context in
92 | switch parameter {
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:146:16: warning: static property 'polygons' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
144 | ]
145 |
146 | static let polygons: Symbols = [
| |- warning: static property 'polygons' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'polygons' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | "polygon": .block(.init(.polygon, [:], .point, .list(.polygon))) { context in
148 | let path = Path(context.children.compactMap {
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:156:16: warning: static property 'meshes' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
154 | ]
155 |
156 | static let meshes: Symbols = [
| |- warning: static property 'meshes' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'meshes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | // primitives
158 | "cone": .block(.shape) { context in
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:302:16: warning: static property 'paths' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
300 | ]
301 |
302 | static let paths: Symbols = [
| |- warning: static property 'paths' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'paths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
303 | "path": .block(.path) { context in
304 | var subpaths = [Path]()
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:426:16: warning: static property 'points' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
424 | ]
425 |
426 | static let points: Symbols = [
| |- warning: static property 'points' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'points' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
427 | "point": .command(.vector) { parameter, context in
428 | try context.addValue(.point(.point(
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:435:16: warning: static property 'pathPoints' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
433 | ]
434 |
435 | static let pathPoints: Symbols = _merge(points, [
| |- warning: static property 'pathPoints' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pathPoints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
436 | "curve": .command(.vector) { parameter, context in
437 | try context.addValue(.point(.curve(
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:444:16: warning: static property 'functions' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
442 | ])
443 |
444 | static let functions: Symbols = [
| |- warning: static property 'functions' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'functions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
445 | // Debug
446 | "print": .command(.list(.any)) { value, context in
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:602:16: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
600 | ]
601 |
602 | static let name: Symbols = [
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
603 | "name": .property(.string, { parameter, context in
604 | context.name = parameter.stringValue
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:610:16: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
608 | ]
609 |
610 | static let background: Symbols = [
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'background' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
611 | "background": .getter(.colorOrTexture) { context in
612 | .colorOrTexture(context.background ?? .color(.clear))
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:616:16: warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
614 | ]
615 |
616 | static let font: Symbols = [
| |- warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'font' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
617 | "font": .property(.font, { parameter, context in
618 | context.font = parameter.stringValue
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:624:16: warning: static property 'detail' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
622 | ]
623 |
624 | static let detail: Symbols = [
| |- warning: static property 'detail' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'detail' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
625 | "detail": .property(.number, { parameter, context in
626 | // TODO: throw error if min/max detail level exceeded
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:633:16: warning: static property 'smoothing' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
631 | ]
632 |
633 | static let smoothing: Symbols = [
| |- warning: static property 'smoothing' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'smoothing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
634 | "smoothing": .property(.halfturns, { parameter, context in
635 | // TODO: find a better way to represent null/auto
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:643:16: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
641 | ]
642 |
643 | static let root: Symbols = _merge(global, font, detail, smoothing, material, childTransform, [
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
644 | "camera": .block(.init(.node, [
645 | "position": .vector,
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:681:16: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
679 | ])
680 |
681 | static let global: Symbols = _merge(functions, colors, meshes, paths)
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'global' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
682 | static let node: Symbols = _merge(transform, name, background)
683 | static let shape: Symbols = _merge(node, detail, smoothing, material)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:682:16: warning: static property 'node' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
680 |
681 | static let global: Symbols = _merge(functions, colors, meshes, paths)
682 | static let node: Symbols = _merge(transform, name, background)
| |- warning: static property 'node' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'node' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
683 | static let shape: Symbols = _merge(node, detail, smoothing, material)
684 | static let group: Symbols = _merge(shape, childTransform, font)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:683:16: warning: static property 'shape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
681 | static let global: Symbols = _merge(functions, colors, meshes, paths)
682 | static let node: Symbols = _merge(transform, name, background)
683 | static let shape: Symbols = _merge(node, detail, smoothing, material)
| |- warning: static property 'shape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
684 | static let group: Symbols = _merge(shape, childTransform, font)
685 | static let user: Symbols = _merge(shape, font)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:684:16: warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
682 | static let node: Symbols = _merge(transform, name, background)
683 | static let shape: Symbols = _merge(node, detail, smoothing, material)
684 | static let group: Symbols = _merge(shape, childTransform, font)
| |- warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'group' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
685 | static let user: Symbols = _merge(shape, font)
686 | static let builder: Symbols = group
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:685:16: warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
683 | static let shape: Symbols = _merge(node, detail, smoothing, material)
684 | static let group: Symbols = _merge(shape, childTransform, font)
685 | static let user: Symbols = _merge(shape, font)
| |- warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
686 | static let builder: Symbols = group
687 | static let hull: Symbols = _merge(group, points)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:686:16: warning: static property 'builder' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
684 | static let group: Symbols = _merge(shape, childTransform, font)
685 | static let user: Symbols = _merge(shape, font)
686 | static let builder: Symbols = group
| |- warning: static property 'builder' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'builder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
687 | static let hull: Symbols = _merge(group, points)
688 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:687:16: warning: static property 'hull' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
685 | static let user: Symbols = _merge(shape, font)
686 | static let builder: Symbols = group
687 | static let hull: Symbols = _merge(group, points)
| |- warning: static property 'hull' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hull' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
688 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
689 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:688:16: warning: static property 'polygon' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
686 | static let builder: Symbols = group
687 | static let hull: Symbols = _merge(group, points)
688 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
| |- warning: static property 'polygon' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'polygon' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
689 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
690 | static let pathShape: Symbols = _merge(transform, detail, color, background)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:689:16: warning: static property 'mesh' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
687 | static let hull: Symbols = _merge(group, points)
688 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
689 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
| |- warning: static property 'mesh' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mesh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
690 | static let pathShape: Symbols = _merge(transform, detail, color, background)
691 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:690:16: warning: static property 'pathShape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
688 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
689 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
690 | static let pathShape: Symbols = _merge(transform, detail, color, background)
| |- warning: static property 'pathShape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pathShape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
691 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
692 | static let definition: Symbols = _merge(root, pathPoints)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:691:16: warning: static property 'path' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
689 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
690 | static let pathShape: Symbols = _merge(transform, detail, color, background)
691 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
| |- warning: static property 'path' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'path' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
692 | static let definition: Symbols = _merge(root, pathPoints)
693 | static let all: Symbols = _merge(definition, shape, path)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:692:16: warning: static property 'definition' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
690 | static let pathShape: Symbols = _merge(transform, detail, color, background)
691 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
692 | static let definition: Symbols = _merge(root, pathPoints)
| |- warning: static property 'definition' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'definition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
693 | static let all: Symbols = _merge(definition, shape, path)
694 | }
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:693:16: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
691 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
692 | static let definition: Symbols = _merge(root, pathPoints)
693 | static let all: Symbols = _merge(definition, shape, path)
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
694 | }
695 |
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
[79/92] Compiling ShapeScript String+Matching.swift
/host/spi-builder-workspace/ShapeScript/Scene.swift:42:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Scene' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import Foundation
11 |
12 | public final class Scene {
| `- note: class 'Scene' does not conform to the 'Sendable' protocol
13 | public let background: MaterialProperty
14 | public let children: [Geometry]
:
40 |
41 | public extension Scene {
42 | static let empty = Scene(background: .color(.clear), children: [], cache: nil)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Scene' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Returns the approximate (overestimated) bounds of the scene geometry.
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:36:16: warning: static property 'transform' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | static let transform: Symbols = [
| |- warning: static property 'transform' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'transform' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | "position": .property(.vector, { parameter, context in
38 | context.transform.translation = parameter.vectorValue
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:54:16: warning: static property 'childTransform' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
52 | ]
53 |
54 | static let childTransform: Symbols = [
| |- warning: static property 'childTransform' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'childTransform' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | "translate": .command(.vector) { parameter, context in
56 | let vector = parameter.vectorValue
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:69:16: warning: static property 'colors' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
67 | ]
68 |
69 | static let colors: Symbols = [
| |- warning: static property 'colors' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | "white": .constant(.color(.white)),
71 | "black": .constant(.color(.black)),
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:82:16: warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
80 | ]
81 |
82 | static let color: Symbols = colors + [
| |- warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'color' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | "color": .property(.color, { parameter, context in
84 | context.material.albedo = parameter.colorOrTextureValue
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:90:16: warning: static property 'material' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
88 | ]
89 |
90 | static let material: Symbols = color + [
| |- warning: static property 'material' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'material' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | "opacity": .property(.numberOrTexture, { parameter, context in
92 | switch parameter {
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:146:16: warning: static property 'polygons' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
144 | ]
145 |
146 | static let polygons: Symbols = [
| |- warning: static property 'polygons' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'polygons' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | "polygon": .block(.init(.polygon, [:], .point, .list(.polygon))) { context in
148 | let path = Path(context.children.compactMap {
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:156:16: warning: static property 'meshes' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
154 | ]
155 |
156 | static let meshes: Symbols = [
| |- warning: static property 'meshes' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'meshes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | // primitives
158 | "cone": .block(.shape) { context in
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:302:16: warning: static property 'paths' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
300 | ]
301 |
302 | static let paths: Symbols = [
| |- warning: static property 'paths' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'paths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
303 | "path": .block(.path) { context in
304 | var subpaths = [Path]()
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:426:16: warning: static property 'points' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
424 | ]
425 |
426 | static let points: Symbols = [
| |- warning: static property 'points' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'points' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
427 | "point": .command(.vector) { parameter, context in
428 | try context.addValue(.point(.point(
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:435:16: warning: static property 'pathPoints' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
433 | ]
434 |
435 | static let pathPoints: Symbols = _merge(points, [
| |- warning: static property 'pathPoints' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pathPoints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
436 | "curve": .command(.vector) { parameter, context in
437 | try context.addValue(.point(.curve(
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:444:16: warning: static property 'functions' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
442 | ])
443 |
444 | static let functions: Symbols = [
| |- warning: static property 'functions' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'functions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
445 | // Debug
446 | "print": .command(.list(.any)) { value, context in
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:602:16: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
600 | ]
601 |
602 | static let name: Symbols = [
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
603 | "name": .property(.string, { parameter, context in
604 | context.name = parameter.stringValue
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:610:16: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
608 | ]
609 |
610 | static let background: Symbols = [
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'background' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
611 | "background": .getter(.colorOrTexture) { context in
612 | .colorOrTexture(context.background ?? .color(.clear))
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:616:16: warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
614 | ]
615 |
616 | static let font: Symbols = [
| |- warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'font' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
617 | "font": .property(.font, { parameter, context in
618 | context.font = parameter.stringValue
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:624:16: warning: static property 'detail' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
622 | ]
623 |
624 | static let detail: Symbols = [
| |- warning: static property 'detail' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'detail' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
625 | "detail": .property(.number, { parameter, context in
626 | // TODO: throw error if min/max detail level exceeded
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:633:16: warning: static property 'smoothing' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
631 | ]
632 |
633 | static let smoothing: Symbols = [
| |- warning: static property 'smoothing' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'smoothing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
634 | "smoothing": .property(.halfturns, { parameter, context in
635 | // TODO: find a better way to represent null/auto
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:643:16: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
641 | ]
642 |
643 | static let root: Symbols = _merge(global, font, detail, smoothing, material, childTransform, [
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
644 | "camera": .block(.init(.node, [
645 | "position": .vector,
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:681:16: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
679 | ])
680 |
681 | static let global: Symbols = _merge(functions, colors, meshes, paths)
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'global' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
682 | static let node: Symbols = _merge(transform, name, background)
683 | static let shape: Symbols = _merge(node, detail, smoothing, material)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:682:16: warning: static property 'node' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
680 |
681 | static let global: Symbols = _merge(functions, colors, meshes, paths)
682 | static let node: Symbols = _merge(transform, name, background)
| |- warning: static property 'node' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'node' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
683 | static let shape: Symbols = _merge(node, detail, smoothing, material)
684 | static let group: Symbols = _merge(shape, childTransform, font)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:683:16: warning: static property 'shape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
681 | static let global: Symbols = _merge(functions, colors, meshes, paths)
682 | static let node: Symbols = _merge(transform, name, background)
683 | static let shape: Symbols = _merge(node, detail, smoothing, material)
| |- warning: static property 'shape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
684 | static let group: Symbols = _merge(shape, childTransform, font)
685 | static let user: Symbols = _merge(shape, font)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:684:16: warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
682 | static let node: Symbols = _merge(transform, name, background)
683 | static let shape: Symbols = _merge(node, detail, smoothing, material)
684 | static let group: Symbols = _merge(shape, childTransform, font)
| |- warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'group' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
685 | static let user: Symbols = _merge(shape, font)
686 | static let builder: Symbols = group
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:685:16: warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
683 | static let shape: Symbols = _merge(node, detail, smoothing, material)
684 | static let group: Symbols = _merge(shape, childTransform, font)
685 | static let user: Symbols = _merge(shape, font)
| |- warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
686 | static let builder: Symbols = group
687 | static let hull: Symbols = _merge(group, points)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:686:16: warning: static property 'builder' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
684 | static let group: Symbols = _merge(shape, childTransform, font)
685 | static let user: Symbols = _merge(shape, font)
686 | static let builder: Symbols = group
| |- warning: static property 'builder' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'builder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
687 | static let hull: Symbols = _merge(group, points)
688 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:687:16: warning: static property 'hull' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
685 | static let user: Symbols = _merge(shape, font)
686 | static let builder: Symbols = group
687 | static let hull: Symbols = _merge(group, points)
| |- warning: static property 'hull' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hull' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
688 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
689 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:688:16: warning: static property 'polygon' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
686 | static let builder: Symbols = group
687 | static let hull: Symbols = _merge(group, points)
688 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
| |- warning: static property 'polygon' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'polygon' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
689 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
690 | static let pathShape: Symbols = _merge(transform, detail, color, background)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:689:16: warning: static property 'mesh' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
687 | static let hull: Symbols = _merge(group, points)
688 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
689 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
| |- warning: static property 'mesh' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mesh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
690 | static let pathShape: Symbols = _merge(transform, detail, color, background)
691 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:690:16: warning: static property 'pathShape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
688 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
689 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
690 | static let pathShape: Symbols = _merge(transform, detail, color, background)
| |- warning: static property 'pathShape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pathShape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
691 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
692 | static let definition: Symbols = _merge(root, pathPoints)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:691:16: warning: static property 'path' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
689 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
690 | static let pathShape: Symbols = _merge(transform, detail, color, background)
691 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
| |- warning: static property 'path' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'path' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
692 | static let definition: Symbols = _merge(root, pathPoints)
693 | static let all: Symbols = _merge(definition, shape, path)
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:692:16: warning: static property 'definition' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
690 | static let pathShape: Symbols = _merge(transform, detail, color, background)
691 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
692 | static let definition: Symbols = _merge(root, pathPoints)
| |- warning: static property 'definition' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'definition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
693 | static let all: Symbols = _merge(definition, shape, path)
694 | }
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:693:16: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
691 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
692 | static let definition: Symbols = _merge(root, pathPoints)
693 | static let all: Symbols = _merge(definition, shape, path)
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
694 | }
695 |
/host/spi-builder-workspace/ShapeScript/Symbols.swift:13:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
11 | typealias Symbols = [String: Symbol]
12 |
13 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
14 | case function(FunctionType, Function)
15 | case property(ValueType, Setter, Getter)
[80/92] Compiling ShapeScript String+Ordinals.swift
/host/spi-builder-workspace/ShapeScript/Types.swift:100:16: warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
98 |
99 | extension ValueType {
100 | static let void: ValueType = .tuple([])
| |- warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'void' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | static let sequence: ValueType = .union([.range, .list(.any)])
102 | static let anyObject: ValueType = .object(["*": .any])
/host/spi-builder-workspace/ShapeScript/Types.swift:101:16: warning: static property 'sequence' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
99 | extension ValueType {
100 | static let void: ValueType = .tuple([])
101 | static let sequence: ValueType = .union([.range, .list(.any)])
| |- warning: static property 'sequence' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sequence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | static let anyObject: ValueType = .object(["*": .any])
103 | static let numberPair: ValueType = .tuple([.number, .number])
/host/spi-builder-workspace/ShapeScript/Types.swift:102:16: warning: static property 'anyObject' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
100 | static let void: ValueType = .tuple([])
101 | static let sequence: ValueType = .union([.range, .list(.any)])
102 | static let anyObject: ValueType = .object(["*": .any])
| |- warning: static property 'anyObject' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'anyObject' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | static let numberPair: ValueType = .tuple([.number, .number])
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
/host/spi-builder-workspace/ShapeScript/Types.swift:103:16: warning: static property 'numberPair' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
101 | static let sequence: ValueType = .union([.range, .list(.any)])
102 | static let anyObject: ValueType = .object(["*": .any])
103 | static let numberPair: ValueType = .tuple([.number, .number])
| |- warning: static property 'numberPair' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'numberPair' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
105 | static let numberOrTexture: ValueType = .union([.number, .texture])
/host/spi-builder-workspace/ShapeScript/Types.swift:104:16: warning: static property 'colorOrTexture' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
102 | static let anyObject: ValueType = .object(["*": .any])
103 | static let numberPair: ValueType = .tuple([.number, .number])
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
| |- warning: static property 'colorOrTexture' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colorOrTexture' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | static let numberOrTexture: ValueType = .union([.number, .texture])
106 | static let numberOrVector: ValueType = .union([.number, .radians, .list(.number), .list(.radians)])
/host/spi-builder-workspace/ShapeScript/Types.swift:105:16: warning: static property 'numberOrTexture' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
103 | static let numberPair: ValueType = .tuple([.number, .number])
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
105 | static let numberOrTexture: ValueType = .union([.number, .texture])
| |- warning: static property 'numberOrTexture' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'numberOrTexture' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | static let numberOrVector: ValueType = .union([.number, .radians, .list(.number), .list(.radians)])
107 |
/host/spi-builder-workspace/ShapeScript/Types.swift:106:16: warning: static property 'numberOrVector' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
105 | static let numberOrTexture: ValueType = .union([.number, .texture])
106 | static let numberOrVector: ValueType = .union([.number, .radians, .list(.number), .list(.radians)])
| |- warning: static property 'numberOrVector' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'numberOrVector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | static func optional(_ type: ValueType) -> ValueType {
/host/spi-builder-workspace/ShapeScript/Types.swift:352:16: warning: static property 'builder' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
350 |
351 | extension BlockType {
352 | static let builder: Self = .init(.builder, [:], .path, .mesh)
| |- warning: static property 'builder' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'builder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
353 | static let shape: Self = .init(.shape, [:], .void, .mesh)
354 | static let group: Self = .init(.group, [:], .mesh, .mesh)
/host/spi-builder-workspace/ShapeScript/Types.swift:353:16: warning: static property 'shape' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
351 | extension BlockType {
352 | static let builder: Self = .init(.builder, [:], .path, .mesh)
353 | static let shape: Self = .init(.shape, [:], .void, .mesh)
| |- warning: static property 'shape' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
354 | static let group: Self = .init(.group, [:], .mesh, .mesh)
355 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
/host/spi-builder-workspace/ShapeScript/Types.swift:354:16: warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
352 | static let builder: Self = .init(.builder, [:], .path, .mesh)
353 | static let shape: Self = .init(.shape, [:], .void, .mesh)
354 | static let group: Self = .init(.group, [:], .mesh, .mesh)
| |- warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'group' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
355 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
356 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
/host/spi-builder-workspace/ShapeScript/Types.swift:355:16: warning: static property 'path' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
353 | static let shape: Self = .init(.shape, [:], .void, .mesh)
354 | static let group: Self = .init(.group, [:], .mesh, .mesh)
355 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
| |- warning: static property 'path' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'path' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
356 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
357 | static let mesh: Self = .init(.mesh, [:], .union([.polygon, .mesh]), .mesh)
/host/spi-builder-workspace/ShapeScript/Types.swift:356:16: warning: static property 'pathShape' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
354 | static let group: Self = .init(.group, [:], .mesh, .mesh)
355 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
356 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
| |- warning: static property 'pathShape' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pathShape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
357 | static let mesh: Self = .init(.mesh, [:], .union([.polygon, .mesh]), .mesh)
358 | static let hull: Self = .init(.hull, [:], .union([.point, .path, .mesh]), .mesh)
/host/spi-builder-workspace/ShapeScript/Types.swift:357:16: warning: static property 'mesh' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
355 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
356 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
357 | static let mesh: Self = .init(.mesh, [:], .union([.polygon, .mesh]), .mesh)
| |- warning: static property 'mesh' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mesh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
358 | static let hull: Self = .init(.hull, [:], .union([.point, .path, .mesh]), .mesh)
359 | static let minkowski: Self = .init(.group, [:], .mesh, .mesh)
/host/spi-builder-workspace/ShapeScript/Types.swift:358:16: warning: static property 'hull' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
356 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
357 | static let mesh: Self = .init(.mesh, [:], .union([.polygon, .mesh]), .mesh)
358 | static let hull: Self = .init(.hull, [:], .union([.point, .path, .mesh]), .mesh)
| |- warning: static property 'hull' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hull' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
359 | static let minkowski: Self = .init(.group, [:], .mesh, .mesh)
360 | }
/host/spi-builder-workspace/ShapeScript/Types.swift:359:16: warning: static property 'minkowski' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
357 | static let mesh: Self = .init(.mesh, [:], .union([.polygon, .mesh]), .mesh)
358 | static let hull: Self = .init(.hull, [:], .union([.point, .path, .mesh]), .mesh)
359 | static let minkowski: Self = .init(.group, [:], .mesh, .mesh)
| |- warning: static property 'minkowski' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minkowski' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
360 | }
361 |
[81/92] Compiling ShapeScript Symbols.swift
/host/spi-builder-workspace/ShapeScript/Types.swift:100:16: warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
98 |
99 | extension ValueType {
100 | static let void: ValueType = .tuple([])
| |- warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'void' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | static let sequence: ValueType = .union([.range, .list(.any)])
102 | static let anyObject: ValueType = .object(["*": .any])
/host/spi-builder-workspace/ShapeScript/Types.swift:101:16: warning: static property 'sequence' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
99 | extension ValueType {
100 | static let void: ValueType = .tuple([])
101 | static let sequence: ValueType = .union([.range, .list(.any)])
| |- warning: static property 'sequence' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sequence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | static let anyObject: ValueType = .object(["*": .any])
103 | static let numberPair: ValueType = .tuple([.number, .number])
/host/spi-builder-workspace/ShapeScript/Types.swift:102:16: warning: static property 'anyObject' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
100 | static let void: ValueType = .tuple([])
101 | static let sequence: ValueType = .union([.range, .list(.any)])
102 | static let anyObject: ValueType = .object(["*": .any])
| |- warning: static property 'anyObject' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'anyObject' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | static let numberPair: ValueType = .tuple([.number, .number])
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
/host/spi-builder-workspace/ShapeScript/Types.swift:103:16: warning: static property 'numberPair' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
101 | static let sequence: ValueType = .union([.range, .list(.any)])
102 | static let anyObject: ValueType = .object(["*": .any])
103 | static let numberPair: ValueType = .tuple([.number, .number])
| |- warning: static property 'numberPair' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'numberPair' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
105 | static let numberOrTexture: ValueType = .union([.number, .texture])
/host/spi-builder-workspace/ShapeScript/Types.swift:104:16: warning: static property 'colorOrTexture' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
102 | static let anyObject: ValueType = .object(["*": .any])
103 | static let numberPair: ValueType = .tuple([.number, .number])
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
| |- warning: static property 'colorOrTexture' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colorOrTexture' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | static let numberOrTexture: ValueType = .union([.number, .texture])
106 | static let numberOrVector: ValueType = .union([.number, .radians, .list(.number), .list(.radians)])
/host/spi-builder-workspace/ShapeScript/Types.swift:105:16: warning: static property 'numberOrTexture' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
103 | static let numberPair: ValueType = .tuple([.number, .number])
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
105 | static let numberOrTexture: ValueType = .union([.number, .texture])
| |- warning: static property 'numberOrTexture' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'numberOrTexture' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | static let numberOrVector: ValueType = .union([.number, .radians, .list(.number), .list(.radians)])
107 |
/host/spi-builder-workspace/ShapeScript/Types.swift:106:16: warning: static property 'numberOrVector' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
105 | static let numberOrTexture: ValueType = .union([.number, .texture])
106 | static let numberOrVector: ValueType = .union([.number, .radians, .list(.number), .list(.radians)])
| |- warning: static property 'numberOrVector' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'numberOrVector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | static func optional(_ type: ValueType) -> ValueType {
/host/spi-builder-workspace/ShapeScript/Types.swift:352:16: warning: static property 'builder' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
350 |
351 | extension BlockType {
352 | static let builder: Self = .init(.builder, [:], .path, .mesh)
| |- warning: static property 'builder' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'builder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
353 | static let shape: Self = .init(.shape, [:], .void, .mesh)
354 | static let group: Self = .init(.group, [:], .mesh, .mesh)
/host/spi-builder-workspace/ShapeScript/Types.swift:353:16: warning: static property 'shape' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
351 | extension BlockType {
352 | static let builder: Self = .init(.builder, [:], .path, .mesh)
353 | static let shape: Self = .init(.shape, [:], .void, .mesh)
| |- warning: static property 'shape' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
354 | static let group: Self = .init(.group, [:], .mesh, .mesh)
355 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
/host/spi-builder-workspace/ShapeScript/Types.swift:354:16: warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
352 | static let builder: Self = .init(.builder, [:], .path, .mesh)
353 | static let shape: Self = .init(.shape, [:], .void, .mesh)
354 | static let group: Self = .init(.group, [:], .mesh, .mesh)
| |- warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'group' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
355 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
356 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
/host/spi-builder-workspace/ShapeScript/Types.swift:355:16: warning: static property 'path' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
353 | static let shape: Self = .init(.shape, [:], .void, .mesh)
354 | static let group: Self = .init(.group, [:], .mesh, .mesh)
355 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
| |- warning: static property 'path' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'path' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
356 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
357 | static let mesh: Self = .init(.mesh, [:], .union([.polygon, .mesh]), .mesh)
/host/spi-builder-workspace/ShapeScript/Types.swift:356:16: warning: static property 'pathShape' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
354 | static let group: Self = .init(.group, [:], .mesh, .mesh)
355 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
356 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
| |- warning: static property 'pathShape' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pathShape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
357 | static let mesh: Self = .init(.mesh, [:], .union([.polygon, .mesh]), .mesh)
358 | static let hull: Self = .init(.hull, [:], .union([.point, .path, .mesh]), .mesh)
/host/spi-builder-workspace/ShapeScript/Types.swift:357:16: warning: static property 'mesh' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
355 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
356 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
357 | static let mesh: Self = .init(.mesh, [:], .union([.polygon, .mesh]), .mesh)
| |- warning: static property 'mesh' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mesh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
358 | static let hull: Self = .init(.hull, [:], .union([.point, .path, .mesh]), .mesh)
359 | static let minkowski: Self = .init(.group, [:], .mesh, .mesh)
/host/spi-builder-workspace/ShapeScript/Types.swift:358:16: warning: static property 'hull' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
356 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
357 | static let mesh: Self = .init(.mesh, [:], .union([.polygon, .mesh]), .mesh)
358 | static let hull: Self = .init(.hull, [:], .union([.point, .path, .mesh]), .mesh)
| |- warning: static property 'hull' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hull' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
359 | static let minkowski: Self = .init(.group, [:], .mesh, .mesh)
360 | }
/host/spi-builder-workspace/ShapeScript/Types.swift:359:16: warning: static property 'minkowski' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
357 | static let mesh: Self = .init(.mesh, [:], .union([.polygon, .mesh]), .mesh)
358 | static let hull: Self = .init(.hull, [:], .union([.point, .path, .mesh]), .mesh)
359 | static let minkowski: Self = .init(.group, [:], .mesh, .mesh)
| |- warning: static property 'minkowski' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minkowski' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
360 | }
361 |
[82/92] Compiling ShapeScript Types.swift
/host/spi-builder-workspace/ShapeScript/Types.swift:100:16: warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
98 |
99 | extension ValueType {
100 | static let void: ValueType = .tuple([])
| |- warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'void' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | static let sequence: ValueType = .union([.range, .list(.any)])
102 | static let anyObject: ValueType = .object(["*": .any])
/host/spi-builder-workspace/ShapeScript/Types.swift:101:16: warning: static property 'sequence' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
99 | extension ValueType {
100 | static let void: ValueType = .tuple([])
101 | static let sequence: ValueType = .union([.range, .list(.any)])
| |- warning: static property 'sequence' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sequence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | static let anyObject: ValueType = .object(["*": .any])
103 | static let numberPair: ValueType = .tuple([.number, .number])
/host/spi-builder-workspace/ShapeScript/Types.swift:102:16: warning: static property 'anyObject' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
100 | static let void: ValueType = .tuple([])
101 | static let sequence: ValueType = .union([.range, .list(.any)])
102 | static let anyObject: ValueType = .object(["*": .any])
| |- warning: static property 'anyObject' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'anyObject' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | static let numberPair: ValueType = .tuple([.number, .number])
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
/host/spi-builder-workspace/ShapeScript/Types.swift:103:16: warning: static property 'numberPair' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
101 | static let sequence: ValueType = .union([.range, .list(.any)])
102 | static let anyObject: ValueType = .object(["*": .any])
103 | static let numberPair: ValueType = .tuple([.number, .number])
| |- warning: static property 'numberPair' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'numberPair' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
105 | static let numberOrTexture: ValueType = .union([.number, .texture])
/host/spi-builder-workspace/ShapeScript/Types.swift:104:16: warning: static property 'colorOrTexture' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
102 | static let anyObject: ValueType = .object(["*": .any])
103 | static let numberPair: ValueType = .tuple([.number, .number])
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
| |- warning: static property 'colorOrTexture' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colorOrTexture' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | static let numberOrTexture: ValueType = .union([.number, .texture])
106 | static let numberOrVector: ValueType = .union([.number, .radians, .list(.number), .list(.radians)])
/host/spi-builder-workspace/ShapeScript/Types.swift:105:16: warning: static property 'numberOrTexture' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
103 | static let numberPair: ValueType = .tuple([.number, .number])
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
105 | static let numberOrTexture: ValueType = .union([.number, .texture])
| |- warning: static property 'numberOrTexture' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'numberOrTexture' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | static let numberOrVector: ValueType = .union([.number, .radians, .list(.number), .list(.radians)])
107 |
/host/spi-builder-workspace/ShapeScript/Types.swift:106:16: warning: static property 'numberOrVector' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
105 | static let numberOrTexture: ValueType = .union([.number, .texture])
106 | static let numberOrVector: ValueType = .union([.number, .radians, .list(.number), .list(.radians)])
| |- warning: static property 'numberOrVector' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'numberOrVector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | static func optional(_ type: ValueType) -> ValueType {
/host/spi-builder-workspace/ShapeScript/Types.swift:352:16: warning: static property 'builder' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
350 |
351 | extension BlockType {
352 | static let builder: Self = .init(.builder, [:], .path, .mesh)
| |- warning: static property 'builder' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'builder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
353 | static let shape: Self = .init(.shape, [:], .void, .mesh)
354 | static let group: Self = .init(.group, [:], .mesh, .mesh)
/host/spi-builder-workspace/ShapeScript/Types.swift:353:16: warning: static property 'shape' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
351 | extension BlockType {
352 | static let builder: Self = .init(.builder, [:], .path, .mesh)
353 | static let shape: Self = .init(.shape, [:], .void, .mesh)
| |- warning: static property 'shape' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
354 | static let group: Self = .init(.group, [:], .mesh, .mesh)
355 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
/host/spi-builder-workspace/ShapeScript/Types.swift:354:16: warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
352 | static let builder: Self = .init(.builder, [:], .path, .mesh)
353 | static let shape: Self = .init(.shape, [:], .void, .mesh)
354 | static let group: Self = .init(.group, [:], .mesh, .mesh)
| |- warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'group' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
355 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
356 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
/host/spi-builder-workspace/ShapeScript/Types.swift:355:16: warning: static property 'path' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
353 | static let shape: Self = .init(.shape, [:], .void, .mesh)
354 | static let group: Self = .init(.group, [:], .mesh, .mesh)
355 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
| |- warning: static property 'path' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'path' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
356 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
357 | static let mesh: Self = .init(.mesh, [:], .union([.polygon, .mesh]), .mesh)
/host/spi-builder-workspace/ShapeScript/Types.swift:356:16: warning: static property 'pathShape' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
354 | static let group: Self = .init(.group, [:], .mesh, .mesh)
355 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
356 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
| |- warning: static property 'pathShape' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pathShape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
357 | static let mesh: Self = .init(.mesh, [:], .union([.polygon, .mesh]), .mesh)
358 | static let hull: Self = .init(.hull, [:], .union([.point, .path, .mesh]), .mesh)
/host/spi-builder-workspace/ShapeScript/Types.swift:357:16: warning: static property 'mesh' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
355 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
356 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
357 | static let mesh: Self = .init(.mesh, [:], .union([.polygon, .mesh]), .mesh)
| |- warning: static property 'mesh' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mesh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
358 | static let hull: Self = .init(.hull, [:], .union([.point, .path, .mesh]), .mesh)
359 | static let minkowski: Self = .init(.group, [:], .mesh, .mesh)
/host/spi-builder-workspace/ShapeScript/Types.swift:358:16: warning: static property 'hull' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
356 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
357 | static let mesh: Self = .init(.mesh, [:], .union([.polygon, .mesh]), .mesh)
358 | static let hull: Self = .init(.hull, [:], .union([.point, .path, .mesh]), .mesh)
| |- warning: static property 'hull' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hull' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
359 | static let minkowski: Self = .init(.group, [:], .mesh, .mesh)
360 | }
/host/spi-builder-workspace/ShapeScript/Types.swift:359:16: warning: static property 'minkowski' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
335 | typealias Options = [String: ValueType]
336 |
337 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
338 | let symbols: Symbols
339 | let options: Options
:
357 | static let mesh: Self = .init(.mesh, [:], .union([.polygon, .mesh]), .mesh)
358 | static let hull: Self = .init(.hull, [:], .union([.point, .path, .mesh]), .mesh)
359 | static let minkowski: Self = .init(.group, [:], .mesh, .mesh)
| |- warning: static property 'minkowski' is not concurrency-safe because non-'Sendable' type 'BlockType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minkowski' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
360 | }
361 |
[83/92] Compiling ShapeScript Value+JSON.swift
/host/spi-builder-workspace/ShapeScript/Values.swift:132:16: warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'Value.Value' (aka 'Value') may have shared mutable state; this is an error in the Swift 6 language mode
10 | import Foundation
11 |
12 | enum Value: Hashable {
| `- note: consider making enum 'Value' conform to the 'Sendable' protocol
13 | case color(Color)
14 | case texture(Texture?)
:
130 |
131 | extension Value {
132 | static let void: Value = .tuple([])
| |- warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'Value.Value' (aka 'Value') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'void' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | static func colorOrTexture(_ value: MaterialProperty) -> Value {
[84/92] Compiling ShapeScript Value+Logging.swift
/host/spi-builder-workspace/ShapeScript/Values.swift:132:16: warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'Value.Value' (aka 'Value') may have shared mutable state; this is an error in the Swift 6 language mode
10 | import Foundation
11 |
12 | enum Value: Hashable {
| `- note: consider making enum 'Value' conform to the 'Sendable' protocol
13 | case color(Color)
14 | case texture(Texture?)
:
130 |
131 | extension Value {
132 | static let void: Value = .tuple([])
| |- warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'Value.Value' (aka 'Value') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'void' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | static func colorOrTexture(_ value: MaterialProperty) -> Value {
[85/92] Compiling ShapeScript Values.swift
/host/spi-builder-workspace/ShapeScript/Values.swift:132:16: warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'Value.Value' (aka 'Value') may have shared mutable state; this is an error in the Swift 6 language mode
10 | import Foundation
11 |
12 | enum Value: Hashable {
| `- note: consider making enum 'Value' conform to the 'Sendable' protocol
13 | case color(Color)
14 | case texture(Texture?)
:
130 |
131 | extension Value {
132 | static let void: Value = .tuple([])
| |- warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'Value.Value' (aka 'Value') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'void' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | static func colorOrTexture(_ value: MaterialProperty) -> Value {
[86/92] Compiling ShapeScript Material.swift
/host/spi-builder-workspace/ShapeScript/Material.swift:88:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Material' may have shared mutable state; this is an error in the Swift 6 language mode
76 | }
77 |
78 | public struct Material: Hashable {
| `- note: consider making struct 'Material' conform to the 'Sendable' protocol
79 | public var opacity: Optional<MaterialProperty>
80 | public var albedo: Optional<MaterialProperty>
:
86 |
87 | public extension Material {
88 | static let `default`: Material = .init()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Material' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 |
90 | init(color: Color? = nil) {
/host/spi-builder-workspace/ShapeScript/Members.swift:88:24: warning: static property 'memberTypes' is not concurrency-safe because non-'Sendable' type '[String : ValueType]' may have shared mutable state; this is an error in the Swift 6 language mode
86 | }
87 |
88 | private static let memberTypes: [String: ValueType] = [
| |- warning: static property 'memberTypes' is not concurrency-safe because non-'Sendable' type '[String : ValueType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'memberTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | "x": .number,
90 | "y": .number,
/host/spi-builder-workspace/ShapeScript/Types.swift:14:6: note: consider making enum 'ValueType' conform to the 'Sendable' protocol
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
/host/spi-builder-workspace/ShapeScript/Parser.swift:104:16: warning: stored property 'type' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'ParserErrorType'; this is an error in the Swift 6 language mode
95 | }
96 |
97 | public enum ParserErrorType: Equatable {
| `- note: consider making enum 'ParserErrorType' conform to the 'Sendable' protocol
98 | case unexpectedToken(Token, expected: String?)
99 | case duplicateParameter(String, at: SourceRange)
:
102 |
103 | public struct ParserError: Error, Equatable {
104 | public let type: ParserErrorType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'ParserErrorType'; this is an error in the Swift 6 language mode
105 |
106 | public init(_ type: ParserErrorType) {
[87/92] Compiling ShapeScript Members.swift
/host/spi-builder-workspace/ShapeScript/Material.swift:88:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Material' may have shared mutable state; this is an error in the Swift 6 language mode
76 | }
77 |
78 | public struct Material: Hashable {
| `- note: consider making struct 'Material' conform to the 'Sendable' protocol
79 | public var opacity: Optional<MaterialProperty>
80 | public var albedo: Optional<MaterialProperty>
:
86 |
87 | public extension Material {
88 | static let `default`: Material = .init()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Material' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 |
90 | init(color: Color? = nil) {
/host/spi-builder-workspace/ShapeScript/Members.swift:88:24: warning: static property 'memberTypes' is not concurrency-safe because non-'Sendable' type '[String : ValueType]' may have shared mutable state; this is an error in the Swift 6 language mode
86 | }
87 |
88 | private static let memberTypes: [String: ValueType] = [
| |- warning: static property 'memberTypes' is not concurrency-safe because non-'Sendable' type '[String : ValueType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'memberTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | "x": .number,
90 | "y": .number,
/host/spi-builder-workspace/ShapeScript/Types.swift:14:6: note: consider making enum 'ValueType' conform to the 'Sendable' protocol
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
/host/spi-builder-workspace/ShapeScript/Parser.swift:104:16: warning: stored property 'type' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'ParserErrorType'; this is an error in the Swift 6 language mode
95 | }
96 |
97 | public enum ParserErrorType: Equatable {
| `- note: consider making enum 'ParserErrorType' conform to the 'Sendable' protocol
98 | case unexpectedToken(Token, expected: String?)
99 | case duplicateParameter(String, at: SourceRange)
:
102 |
103 | public struct ParserError: Error, Equatable {
104 | public let type: ParserErrorType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'ParserErrorType'; this is an error in the Swift 6 language mode
105 |
106 | public init(_ type: ParserErrorType) {
[88/92] Compiling ShapeScript Parser.swift
/host/spi-builder-workspace/ShapeScript/Material.swift:88:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Material' may have shared mutable state; this is an error in the Swift 6 language mode
76 | }
77 |
78 | public struct Material: Hashable {
| `- note: consider making struct 'Material' conform to the 'Sendable' protocol
79 | public var opacity: Optional<MaterialProperty>
80 | public var albedo: Optional<MaterialProperty>
:
86 |
87 | public extension Material {
88 | static let `default`: Material = .init()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Material' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 |
90 | init(color: Color? = nil) {
/host/spi-builder-workspace/ShapeScript/Members.swift:88:24: warning: static property 'memberTypes' is not concurrency-safe because non-'Sendable' type '[String : ValueType]' may have shared mutable state; this is an error in the Swift 6 language mode
86 | }
87 |
88 | private static let memberTypes: [String: ValueType] = [
| |- warning: static property 'memberTypes' is not concurrency-safe because non-'Sendable' type '[String : ValueType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'memberTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | "x": .number,
90 | "y": .number,
/host/spi-builder-workspace/ShapeScript/Types.swift:14:6: note: consider making enum 'ValueType' conform to the 'Sendable' protocol
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
/host/spi-builder-workspace/ShapeScript/Parser.swift:104:16: warning: stored property 'type' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'ParserErrorType'; this is an error in the Swift 6 language mode
95 | }
96 |
97 | public enum ParserErrorType: Equatable {
| `- note: consider making enum 'ParserErrorType' conform to the 'Sendable' protocol
98 | case unexpectedToken(Token, expected: String?)
99 | case duplicateParameter(String, at: SourceRange)
:
102 |
103 | public struct ParserError: Error, Equatable {
104 | public let type: ParserErrorType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'ParserErrorType'; this is an error in the Swift 6 language mode
105 |
106 | public init(_ type: ParserErrorType) {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
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
[2/52] Emitting module SVGPath
[3/52] Emitting module LRUCache
[4/52] Compiling LRUCache LRUCache.swift
[6/52] Emitting module Euclid
[7/57] Compiling SVGPath SVGPath+CoreGraphics.swift
[8/57] Compiling SVGPath SVGPath.swift
[10/57] Compiling Euclid Angle.swift
[11/57] Compiling Euclid ApproximateEquality.swift
[12/57] Compiling Euclid BSP.swift
[13/57] Compiling Euclid Bounded.swift
[14/57] Compiling Euclid Bounds.swift
[15/57] Compiling Euclid Color.swift
[16/57] Compiling Euclid Mesh+CSG.swift
[17/57] Compiling Euclid Mesh+IO.swift
[18/57] Compiling Euclid Mesh+OBJ.swift
[19/57] Compiling Euclid Mesh+OFF.swift
[20/57] Compiling Euclid Mesh+STL.swift
[21/57] Compiling Euclid Path.swift
[22/57] Compiling Euclid PathPoint.swift
[23/57] Compiling Euclid Plane.swift
[24/57] Compiling Euclid PlaneComparable.swift
[25/57] Compiling Euclid PointComparable.swift
[26/57] Compiling Euclid Transformable.swift
[27/57] Compiling Euclid Utilities.swift
[28/57] Compiling Euclid Vector.swift
[29/57] Compiling Euclid Vertex.swift
[30/57] Compiling Euclid VertexSet.swift
[31/57] Compiling Euclid Euclid+AppKit.swift
[32/57] Compiling Euclid Euclid+CoreGraphics.swift
[33/57] Compiling Euclid Euclid+CoreText.swift
[34/57] Compiling Euclid Euclid+RealityKit.swift
[35/57] Compiling Euclid Euclid+SIMD.swift
[36/57] Compiling Euclid Euclid+SceneKit.swift
[37/57] Compiling Euclid Euclid+UIKit.swift
[38/57] Compiling Euclid Interpolatable.swift
[39/57] Compiling Euclid Line.swift
[40/57] Compiling Euclid LineComparable.swift
[41/57] Compiling Euclid LineSegment+CSG.swift
[42/57] Compiling Euclid LineSegment.swift
[43/57] Compiling Euclid Mesh+Shapes.swift
[44/57] Compiling Euclid Mesh+Texcoords.swift
[45/57] Compiling Euclid Mesh.swift
[46/57] Compiling Euclid Path+CSG.swift
[47/57] Compiling Euclid Path+Shapes.swift
[48/57] Compiling Euclid Polygon+CSG.swift
[49/57] Compiling Euclid Polygon.swift
[50/57] Compiling Euclid Rotation.swift
[51/57] Compiling Euclid Stretchable.swift
[52/57] Compiling Euclid Transform.swift
[54/81] Emitting module ShapeScript
[55/84] Compiling ShapeScript Lexer.swift
[56/84] Compiling ShapeScript Material+Brightness.swift
[57/84] Compiling ShapeScript Material+SceneKit.swift
[58/84] 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
[59/84] 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
[60/84] 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
[61/84] 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
[62/84] Compiling ShapeScript String+Ordinals.swift
[63/84] Compiling ShapeScript Symbols.swift
[64/84] Compiling ShapeScript Types.swift
[65/84] Compiling ShapeScript ProgramError.swift
[66/84] Compiling ShapeScript RandomSequence.swift
[67/84] Compiling ShapeScript Scene+SceneKit.swift
[68/84] Compiling ShapeScript Scene.swift
[69/84] Compiling ShapeScript StandardLibrary.swift
[70/84] Compiling ShapeScript String+Matching.swift
[71/84] Compiling ShapeScript Value+JSON.swift
[72/84] Compiling ShapeScript Value+Logging.swift
[73/84] Compiling ShapeScript Values.swift
[74/84] Compiling ShapeScript Material.swift
[75/84] Compiling ShapeScript Members.swift
[76/84] Compiling ShapeScript Parser.swift
[77/84] 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,
/host/spi-builder-workspace/ShapeScript/EvaluationContext.swift:385:28: error: 'nil' is not compatible with closure result type 'Material'
383 | #endif
384 | default:
385 | return nil
| `- error: 'nil' is not compatible with closure result type 'Material'
386 | }
387 | }
[78/84] 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,
/host/spi-builder-workspace/ShapeScript/EvaluationContext.swift:385:28: error: 'nil' is not compatible with closure result type 'Material'
383 | #endif
384 | default:
385 | return nil
| `- error: 'nil' is not compatible with closure result type 'Material'
386 | }
387 | }
[79/84] 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,
/host/spi-builder-workspace/ShapeScript/EvaluationContext.swift:385:28: error: 'nil' is not compatible with closure result type 'Material'
383 | #endif
384 | default:
385 | return nil
| `- error: 'nil' is not compatible with closure result type 'Material'
386 | }
387 | }
[80/84] 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,
/host/spi-builder-workspace/ShapeScript/EvaluationContext.swift:385:28: error: 'nil' is not compatible with closure result type 'Material'
383 | #endif
384 | default:
385 | return nil
| `- error: 'nil' is not compatible with closure result type 'Material'
386 | }
387 | }
BUILD FAILURE 6.1 wasm