Build Information
Successful build of ShapeScript, reference 1.9.3 (786eaa), with Swift 6.1 for macOS (SPM) on 13 Nov 2025 10:20:10 UTC.
Swift 6 data race errors: 58
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
| `- 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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 {
[58/86] Compiling ShapeScript StandardLibrary.swift
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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)),
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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 {
/Users/admin/builder/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)
/Users/admin/builder/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 {
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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]()
/Users/admin/builder/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)
/Users/admin/builder/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(
/Users/admin/builder/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)
/Users/admin/builder/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(
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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))
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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,
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
[59/86] Compiling ShapeScript String+Matching.swift
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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)),
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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 {
/Users/admin/builder/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)
/Users/admin/builder/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 {
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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]()
/Users/admin/builder/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)
/Users/admin/builder/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(
/Users/admin/builder/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)
/Users/admin/builder/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(
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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))
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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,
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
[60/86] Compiling ShapeScript Material+Brightness.swift
/Users/admin/builder/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) {
[61/86] Compiling ShapeScript Material+SceneKit.swift
/Users/admin/builder/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) {
[62/86] Compiling ShapeScript Material.swift
/Users/admin/builder/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) {
[63/86] Compiling ShapeScript RandomSequence.swift
/Users/admin/builder/spi-builder-workspace/ShapeScript/Scene+SceneKit.swift:87:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Scene.OutputOptions' may have shared mutable state; this is an error in the Swift 6 language mode
84 |
85 | public extension Scene {
86 | struct OutputOptions: Hashable {
| `- note: consider making struct 'OutputOptions' conform to the 'Sendable' protocol
87 | public static let `default` = OutputOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Scene.OutputOptions' 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
88 |
89 | /// Line width to use for path drawing
/Users/admin/builder/spi-builder-workspace/ShapeScript/Scene+SceneKit.swift:132:13: warning: var 'scnNodeKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 | }
131 |
132 | private var scnNodeKey: UInt8 = 1
| |- warning: var 'scnNodeKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'scnNodeKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'scnNodeKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 | private var scnGeometryKey: UInt8 = 1
134 |
/Users/admin/builder/spi-builder-workspace/ShapeScript/Scene+SceneKit.swift:133:13: warning: var 'scnGeometryKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
131 |
132 | private var scnNodeKey: UInt8 = 1
133 | private var scnGeometryKey: UInt8 = 1
| |- warning: var 'scnGeometryKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'scnGeometryKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'scnGeometryKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 |
135 | public extension Geometry {
/Users/admin/builder/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.
[64/86] Compiling ShapeScript Scene+SceneKit.swift
/Users/admin/builder/spi-builder-workspace/ShapeScript/Scene+SceneKit.swift:87:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Scene.OutputOptions' may have shared mutable state; this is an error in the Swift 6 language mode
84 |
85 | public extension Scene {
86 | struct OutputOptions: Hashable {
| `- note: consider making struct 'OutputOptions' conform to the 'Sendable' protocol
87 | public static let `default` = OutputOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Scene.OutputOptions' 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
88 |
89 | /// Line width to use for path drawing
/Users/admin/builder/spi-builder-workspace/ShapeScript/Scene+SceneKit.swift:132:13: warning: var 'scnNodeKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 | }
131 |
132 | private var scnNodeKey: UInt8 = 1
| |- warning: var 'scnNodeKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'scnNodeKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'scnNodeKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 | private var scnGeometryKey: UInt8 = 1
134 |
/Users/admin/builder/spi-builder-workspace/ShapeScript/Scene+SceneKit.swift:133:13: warning: var 'scnGeometryKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
131 |
132 | private var scnNodeKey: UInt8 = 1
133 | private var scnGeometryKey: UInt8 = 1
| |- warning: var 'scnGeometryKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'scnGeometryKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'scnGeometryKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 |
135 | public extension Geometry {
/Users/admin/builder/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.
[65/86] Compiling ShapeScript Scene.swift
/Users/admin/builder/spi-builder-workspace/ShapeScript/Scene+SceneKit.swift:87:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Scene.OutputOptions' may have shared mutable state; this is an error in the Swift 6 language mode
84 |
85 | public extension Scene {
86 | struct OutputOptions: Hashable {
| `- note: consider making struct 'OutputOptions' conform to the 'Sendable' protocol
87 | public static let `default` = OutputOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Scene.OutputOptions' 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
88 |
89 | /// Line width to use for path drawing
/Users/admin/builder/spi-builder-workspace/ShapeScript/Scene+SceneKit.swift:132:13: warning: var 'scnNodeKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
130 | }
131 |
132 | private var scnNodeKey: UInt8 = 1
| |- warning: var 'scnNodeKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'scnNodeKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'scnNodeKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 | private var scnGeometryKey: UInt8 = 1
134 |
/Users/admin/builder/spi-builder-workspace/ShapeScript/Scene+SceneKit.swift:133:13: warning: var 'scnGeometryKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
131 |
132 | private var scnNodeKey: UInt8 = 1
133 | private var scnGeometryKey: UInt8 = 1
| |- warning: var 'scnGeometryKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'scnGeometryKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'scnGeometryKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 |
135 | public extension Geometry {
/Users/admin/builder/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.
[66/86] Compiling ShapeScript String+Ordinals.swift
[67/86] Compiling ShapeScript Symbols.swift
[68/86] Compiling ShapeScript Euclid+Extensions.swift
[69/86] Compiling ShapeScript Euclid+SVGPath.swift
[70/86] Compiling ShapeScript EvaluationContext.swift
[71/86] Compiling ShapeScript EvaluationDelegate.swift
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:16:17: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
14 |
15 | public final class GeometryCache {
16 | private let cache: LRUCache<Key, (mesh: Mesh, associatedData: [Material: Any])>
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
17 |
18 | /// The number of entries currently stored in the cache
:
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:19:35: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
17 |
18 | /// The number of entries currently stored in the cache
19 | public var count: Int { cache.count }
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
20 |
21 | /// Initialize the cache with a given storage limit
:
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:24:22: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | /// - Parameter memoryLimit: The maximum amount of data to cache (in bytes)
23 | public init(memoryLimit: Int = 1_000_000_000) {
24 | self.cache = LRUCache(totalCostLimit: memoryLimit)
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 | }
26 | }
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:24:22: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | /// - Parameter memoryLimit: The maximum amount of data to cache (in bytes)
23 | public init(memoryLimit: Int = 1_000_000_000) {
24 | self.cache = LRUCache(totalCostLimit: memoryLimit)
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 | }
26 | }
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:39:21: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
:
37 |
38 | subscript(mesh geometry: Geometry) -> Mesh? {
39 | get { cache.value(forKey: geometry.cacheKey)?.mesh }
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
40 | set {
41 | guard let newValue else {
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:42:23: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
:
40 | set {
41 | guard let newValue else {
42 | cache.removeValue(forKey: geometry.cacheKey)
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 | return
44 | }
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:45:19: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
:
43 | return
44 | }
45 | cache.setValue(
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
46 | (newValue, [:]),
47 | forKey: geometry.cacheKey,
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:55:19: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
:
53 | subscript(associatedData geometry: Geometry) -> Any? {
54 | get {
55 | cache.value(forKey: geometry.cacheKey)?
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | .associatedData[geometry.material]
57 | }
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:59:34: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
:
57 | }
58 | set {
59 | if var value = cache.value(forKey: geometry.cacheKey) {
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
60 | value.associatedData[geometry.material] = newValue
61 | cache.setValue(value, forKey: geometry.cacheKey)
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:61:23: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
:
59 | if var value = cache.value(forKey: geometry.cacheKey) {
60 | value.associatedData[geometry.material] = newValue
61 | cache.setValue(value, forKey: geometry.cacheKey)
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
62 | }
63 | }
[72/86] Compiling ShapeScript Geometry.swift
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:16:17: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
14 |
15 | public final class GeometryCache {
16 | private let cache: LRUCache<Key, (mesh: Mesh, associatedData: [Material: Any])>
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
17 |
18 | /// The number of entries currently stored in the cache
:
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:19:35: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
17 |
18 | /// The number of entries currently stored in the cache
19 | public var count: Int { cache.count }
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
20 |
21 | /// Initialize the cache with a given storage limit
:
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:24:22: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | /// - Parameter memoryLimit: The maximum amount of data to cache (in bytes)
23 | public init(memoryLimit: Int = 1_000_000_000) {
24 | self.cache = LRUCache(totalCostLimit: memoryLimit)
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 | }
26 | }
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:24:22: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | /// - Parameter memoryLimit: The maximum amount of data to cache (in bytes)
23 | public init(memoryLimit: Int = 1_000_000_000) {
24 | self.cache = LRUCache(totalCostLimit: memoryLimit)
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 | }
26 | }
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:39:21: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
:
37 |
38 | subscript(mesh geometry: Geometry) -> Mesh? {
39 | get { cache.value(forKey: geometry.cacheKey)?.mesh }
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
40 | set {
41 | guard let newValue else {
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:42:23: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
:
40 | set {
41 | guard let newValue else {
42 | cache.removeValue(forKey: geometry.cacheKey)
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 | return
44 | }
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:45:19: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
:
43 | return
44 | }
45 | cache.setValue(
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
46 | (newValue, [:]),
47 | forKey: geometry.cacheKey,
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:55:19: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
:
53 | subscript(associatedData geometry: Geometry) -> Any? {
54 | get {
55 | cache.value(forKey: geometry.cacheKey)?
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | .associatedData[geometry.material]
57 | }
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:59:34: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
:
57 | }
58 | set {
59 | if var value = cache.value(forKey: geometry.cacheKey) {
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
60 | value.associatedData[geometry.material] = newValue
61 | cache.setValue(value, forKey: geometry.cacheKey)
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:61:23: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
:
59 | if var value = cache.value(forKey: geometry.cacheKey) {
60 | value.associatedData[geometry.material] = newValue
61 | cache.setValue(value, forKey: geometry.cacheKey)
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
62 | }
63 | }
[73/86] Compiling ShapeScript GeometryCache.swift
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:16:17: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
14 |
15 | public final class GeometryCache {
16 | private let cache: LRUCache<Key, (mesh: Mesh, associatedData: [Material: Any])>
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
17 |
18 | /// The number of entries currently stored in the cache
:
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:19:35: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
17 |
18 | /// The number of entries currently stored in the cache
19 | public var count: Int { cache.count }
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
20 |
21 | /// Initialize the cache with a given storage limit
:
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:24:22: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | /// - Parameter memoryLimit: The maximum amount of data to cache (in bytes)
23 | public init(memoryLimit: Int = 1_000_000_000) {
24 | self.cache = LRUCache(totalCostLimit: memoryLimit)
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 | }
26 | }
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:24:22: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
22 | /// - Parameter memoryLimit: The maximum amount of data to cache (in bytes)
23 | public init(memoryLimit: Int = 1_000_000_000) {
24 | self.cache = LRUCache(totalCostLimit: memoryLimit)
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
25 | }
26 | }
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:39:21: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
:
37 |
38 | subscript(mesh geometry: Geometry) -> Mesh? {
39 | get { cache.value(forKey: geometry.cacheKey)?.mesh }
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
40 | set {
41 | guard let newValue else {
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:42:23: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
:
40 | set {
41 | guard let newValue else {
42 | cache.removeValue(forKey: geometry.cacheKey)
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 | return
44 | }
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:45:19: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
:
43 | return
44 | }
45 | cache.setValue(
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
46 | (newValue, [:]),
47 | forKey: geometry.cacheKey,
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:55:19: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
:
53 | subscript(associatedData geometry: Geometry) -> Any? {
54 | get {
55 | cache.value(forKey: geometry.cacheKey)?
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
56 | .associatedData[geometry.material]
57 | }
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:59:34: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
:
57 | }
58 | set {
59 | if var value = cache.value(forKey: geometry.cacheKey) {
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
60 | value.associatedData[geometry.material] = newValue
61 | cache.setValue(value, forKey: geometry.cacheKey)
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryCache.swift:61:23: warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
27 |
28 | extension GeometryCache {
29 | struct Key: Hashable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
30 | let type: GeometryType
31 | let material: Material?
:
59 | if var value = cache.value(forKey: geometry.cacheKey) {
60 | value.associatedData[geometry.material] = newValue
61 | cache.setValue(value, forKey: geometry.cacheKey)
| `- warning: type 'GeometryCache.Key' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
62 | }
63 | }
[74/86] Compiling ShapeScript Value+Logging.swift
/Users/admin/builder/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 {
[75/86] Compiling ShapeScript Values.swift
/Users/admin/builder/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 {
[76/86] Compiling ShapeScript Types.swift
/Users/admin/builder/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])
/Users/admin/builder/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])
/Users/admin/builder/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])
/Users/admin/builder/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])
/Users/admin/builder/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)])
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
[77/86] Compiling ShapeScript Value+JSON.swift
/Users/admin/builder/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])
/Users/admin/builder/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])
/Users/admin/builder/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])
/Users/admin/builder/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])
/Users/admin/builder/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)])
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
[78/86] Compiling ShapeScript Members.swift
/Users/admin/builder/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,
/Users/admin/builder/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
/Users/admin/builder/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) {
[79/86] Compiling ShapeScript Parser.swift
/Users/admin/builder/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,
/Users/admin/builder/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
/Users/admin/builder/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) {
[80/86] Compiling ShapeScript ProgramError.swift
/Users/admin/builder/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,
/Users/admin/builder/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
/Users/admin/builder/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) {
[81/86] Compiling ShapeScript GeometryType.swift
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryType.swift:21:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Camera' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Euclid
10 |
11 | public struct Camera: Hashable {
| `- note: consider making struct 'Camera' conform to the 'Sendable' protocol
12 | public var position: Vector?
13 | public var orientation: Rotation?
:
19 | public var height: Double?
20 |
21 | public static let `default`: Self = .init(antialiased: true)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Camera' 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
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryType.swift:38:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Light' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct Light: Hashable {
| `- note: consider making struct 'Light' conform to the 'Sendable' protocol
31 | public var position: Vector?
32 | public var orientation: Rotation?
:
36 | public var shadowOpacity: Double
37 |
38 | public static let `default`: Self = .init(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Light' 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
39 | color: .white,
40 | spread: .pi / 4,
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryType.swift:56:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExtrudeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | public struct ExtrudeOptions: Hashable {
| `- note: consider making struct 'ExtrudeOptions' conform to the 'Sendable' protocol
52 | public var along: [Path]
53 | public var twist: Angle
54 | public var align: Path.Alignment
55 |
56 | public static let `default`: Self = .init(along: [], twist: .zero, align: nil)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExtrudeOptions' 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
57 |
58 | init(along: [Path], twist: Angle, align: Path.Alignment?) {
/Users/admin/builder/spi-builder-workspace/ShapeScript/Lexer.swift:134:16: warning: stored property 'type' of 'Sendable'-conforming struct 'LexerError' has non-sendable type 'LexerErrorType'; this is an error in the Swift 6 language mode
123 | }
124 |
125 | public enum LexerErrorType: Equatable {
| `- note: consider making enum 'LexerErrorType' conform to the 'Sendable' protocol
126 | case invalidNumber(String)
127 | case invalidColor(String)
:
132 |
133 | public struct LexerError: Error, Equatable {
134 | public let type: LexerErrorType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'LexerError' has non-sendable type 'LexerErrorType'; this is an error in the Swift 6 language mode
135 | public let range: SourceRange
136 |
[82/86] Compiling ShapeScript Interpreter.swift
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryType.swift:21:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Camera' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Euclid
10 |
11 | public struct Camera: Hashable {
| `- note: consider making struct 'Camera' conform to the 'Sendable' protocol
12 | public var position: Vector?
13 | public var orientation: Rotation?
:
19 | public var height: Double?
20 |
21 | public static let `default`: Self = .init(antialiased: true)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Camera' 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
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryType.swift:38:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Light' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct Light: Hashable {
| `- note: consider making struct 'Light' conform to the 'Sendable' protocol
31 | public var position: Vector?
32 | public var orientation: Rotation?
:
36 | public var shadowOpacity: Double
37 |
38 | public static let `default`: Self = .init(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Light' 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
39 | color: .white,
40 | spread: .pi / 4,
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryType.swift:56:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExtrudeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | public struct ExtrudeOptions: Hashable {
| `- note: consider making struct 'ExtrudeOptions' conform to the 'Sendable' protocol
52 | public var along: [Path]
53 | public var twist: Angle
54 | public var align: Path.Alignment
55 |
56 | public static let `default`: Self = .init(along: [], twist: .zero, align: nil)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExtrudeOptions' 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
57 |
58 | init(along: [Path], twist: Angle, align: Path.Alignment?) {
/Users/admin/builder/spi-builder-workspace/ShapeScript/Lexer.swift:134:16: warning: stored property 'type' of 'Sendable'-conforming struct 'LexerError' has non-sendable type 'LexerErrorType'; this is an error in the Swift 6 language mode
123 | }
124 |
125 | public enum LexerErrorType: Equatable {
| `- note: consider making enum 'LexerErrorType' conform to the 'Sendable' protocol
126 | case invalidNumber(String)
127 | case invalidColor(String)
:
132 |
133 | public struct LexerError: Error, Equatable {
134 | public let type: LexerErrorType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'LexerError' has non-sendable type 'LexerErrorType'; this is an error in the Swift 6 language mode
135 | public let range: SourceRange
136 |
[83/86] Compiling ShapeScript Lexer.swift
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryType.swift:21:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Camera' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Euclid
10 |
11 | public struct Camera: Hashable {
| `- note: consider making struct 'Camera' conform to the 'Sendable' protocol
12 | public var position: Vector?
13 | public var orientation: Rotation?
:
19 | public var height: Double?
20 |
21 | public static let `default`: Self = .init(antialiased: true)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Camera' 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
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryType.swift:38:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Light' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public struct Light: Hashable {
| `- note: consider making struct 'Light' conform to the 'Sendable' protocol
31 | public var position: Vector?
32 | public var orientation: Rotation?
:
36 | public var shadowOpacity: Double
37 |
38 | public static let `default`: Self = .init(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Light' 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
39 | color: .white,
40 | spread: .pi / 4,
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryType.swift:56:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExtrudeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | public struct ExtrudeOptions: Hashable {
| `- note: consider making struct 'ExtrudeOptions' conform to the 'Sendable' protocol
52 | public var along: [Path]
53 | public var twist: Angle
54 | public var align: Path.Alignment
55 |
56 | public static let `default`: Self = .init(along: [], twist: .zero, align: nil)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExtrudeOptions' 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
57 |
58 | init(along: [Path], twist: Angle, align: Path.Alignment?) {
/Users/admin/builder/spi-builder-workspace/ShapeScript/Lexer.swift:134:16: warning: stored property 'type' of 'Sendable'-conforming struct 'LexerError' has non-sendable type 'LexerErrorType'; this is an error in the Swift 6 language mode
123 | }
124 |
125 | public enum LexerErrorType: Equatable {
| `- note: consider making enum 'LexerErrorType' conform to the 'Sendable' protocol
126 | case invalidNumber(String)
127 | case invalidColor(String)
:
132 |
133 | public struct LexerError: Error, Equatable {
134 | public let type: LexerErrorType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'LexerError' has non-sendable type 'LexerErrorType'; this is an error in the Swift 6 language mode
135 | public let range: SourceRange
136 |
[84/92] Compiling CLI main.swift
[85/92] Compiling CLI ProgramError+Formatting.swift
[86/92] Compiling CLI Geometry+ModelInfo.swift
[87/92] Compiling CLI CLI+Export.swift
[88/92] Emitting module CLI
[89/92] Compiling CLI CLI.swift
[89/92] Write Objects.LinkFileList
[90/92] Linking shapescript
[91/92] Applying shapescript
Build complete! (22.61s)
Fetching https://github.com/nicklockwood/SVGPath.git
Fetching https://github.com/nicklockwood/Euclid.git
Fetching https://github.com/nicklockwood/LRUCache.git
[1/237] Fetching svgpath
[222/578] Fetching svgpath, lrucache
[579/14276] Fetching svgpath, lrucache, euclid
Fetched https://github.com/nicklockwood/Euclid.git from cache (2.34s)
Fetched https://github.com/nicklockwood/SVGPath.git from cache (2.34s)
Fetched https://github.com/nicklockwood/LRUCache.git from cache (2.34s)
Computing version for https://github.com/nicklockwood/SVGPath.git
Computed https://github.com/nicklockwood/SVGPath.git at 1.2.0 (2.98s)
Computing version for https://github.com/nicklockwood/LRUCache.git
Computed https://github.com/nicklockwood/LRUCache.git at 1.1.2 (0.58s)
Computing version for https://github.com/nicklockwood/Euclid.git
Computed https://github.com/nicklockwood/Euclid.git at 0.8.13 (0.59s)
Creating working copy for https://github.com/nicklockwood/Euclid.git
Working copy of https://github.com/nicklockwood/Euclid.git resolved at 0.8.13
Creating working copy for https://github.com/nicklockwood/LRUCache.git
Working copy of https://github.com/nicklockwood/LRUCache.git resolved at 1.1.2
Creating working copy for https://github.com/nicklockwood/SVGPath.git
Working copy of https://github.com/nicklockwood/SVGPath.git resolved at 1.2.0
Build complete.
{
"dependencies" : [
{
"identity" : "euclid",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.13",
"upper_bound" : "0.9.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/Euclid.git"
},
{
"identity" : "lrucache",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.2",
"upper_bound" : "1.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/LRUCache.git"
},
{
"identity" : "svgpath",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "1.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SVGPath.git"
}
],
"manifest_display_name" : "ShapeScript",
"name" : "ShapeScript",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "ShapeScript",
"targets" : [
"ShapeScript"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "shapescript",
"targets" : [
"CLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "ShapeScriptTests",
"module_type" : "SwiftTarget",
"name" : "ShapeScriptTests",
"path" : "ShapeScriptTests",
"sources" : [
"GeometryTests.swift",
"ImportExportTests.swift",
"InterpreterTests.swift",
"LexerTests.swift",
"LoggingTests.swift",
"MemberTests.swift",
"MetadataTests.swift",
"ParserTests.swift",
"PlatformTests.swift",
"RegressionTests.swift",
"SVGPathTests.swift",
"StandardLibraryTests.swift",
"StringMatchingTests.swift",
"TestDelegate.swift",
"TypesystemTests.swift"
],
"target_dependencies" : [
"ShapeScript"
],
"type" : "test"
},
{
"c99name" : "ShapeScript",
"module_type" : "SwiftTarget",
"name" : "ShapeScript",
"path" : "ShapeScript",
"product_dependencies" : [
"Euclid",
"LRUCache",
"SVGPath"
],
"product_memberships" : [
"ShapeScript",
"shapescript"
],
"sources" : [
"Euclid+Extensions.swift",
"Euclid+SVGPath.swift",
"EvaluationContext.swift",
"EvaluationDelegate.swift",
"Geometry.swift",
"GeometryCache.swift",
"GeometryType.swift",
"Interpreter.swift",
"Lexer.swift",
"Material+Brightness.swift",
"Material+SceneKit.swift",
"Material.swift",
"Members.swift",
"Parser.swift",
"ProgramError.swift",
"RandomSequence.swift",
"Scene+SceneKit.swift",
"Scene.swift",
"StandardLibrary.swift",
"String+Matching.swift",
"String+Ordinals.swift",
"Symbols.swift",
"Types.swift",
"Value+JSON.swift",
"Value+Logging.swift",
"Values.swift"
],
"type" : "library"
},
{
"c99name" : "CLI",
"module_type" : "SwiftTarget",
"name" : "CLI",
"path" : "Viewer/CLI",
"product_memberships" : [
"shapescript"
],
"sources" : [
"CLI+Export.swift",
"CLI.swift",
"Geometry+ModelInfo.swift",
"ProgramError+Formatting.swift",
"main.swift"
],
"target_dependencies" : [
"ShapeScript"
],
"type" : "executable"
}
],
"tools_version" : "5.7"
}
Done.