Build Information
Successful build of ShapeScript, reference main (52ef22
), with Swift 6.0 for macOS (SPM) on 16 Apr 2025 22:05:12 UTC.
Swift 6 data race errors: 52
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.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 InferSendableFromCaptures
Build Log
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 |
90 | init(color: Color? = nil) {
/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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
[63/77] 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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'scnNodeKey' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'scnGeometryKey' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 |
90 | init(color: Color? = nil) {
/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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- 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/77] 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: annotate 'void' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'sequence' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'anyObject' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'numberPair' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'colorOrTexture' with '@MainActor' if property should only be accessed from the main actor
| `- 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, .list(.number)])
/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: annotate 'numberOrTexture' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | static let numberOrVector: ValueType = .union([.number, .list(.number)])
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, .list(.number)])
| |- 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: annotate 'numberOrVector' with '@MainActor' if property should only be accessed from the main actor
| `- 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:261: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
244 | typealias Options = [String: ValueType]
245 |
246 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
247 | let symbols: Symbols
248 | let options: Options
:
259 |
260 | extension BlockType {
261 | 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: annotate 'builder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
262 | static let shape: Self = .init(.shape, [:], .void, .mesh)
263 | static let group: Self = .init(.group, [:], .mesh, .mesh)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:678: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
676 | static let group: Symbols = _merge(shape, childTransform, font)
677 | static let user: Symbols = _merge(shape, font)
678 | 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: annotate 'builder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
679 | static let hull: Symbols = _merge(group, points)
680 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Types.swift:262: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
244 | typealias Options = [String: ValueType]
245 |
246 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
247 | let symbols: Symbols
248 | let options: Options
:
260 | extension BlockType {
261 | static let builder: Self = .init(.builder, [:], .path, .mesh)
262 | 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: annotate 'shape' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | static let group: Self = .init(.group, [:], .mesh, .mesh)
264 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:675: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
673 | static let global: Symbols = _merge(functions, colors, meshes, paths)
674 | static let node: Symbols = _merge(transform, name, background)
675 | 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: annotate 'shape' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
676 | static let group: Symbols = _merge(shape, childTransform, font)
677 | static let user: Symbols = _merge(shape, font)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Types.swift:263: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
244 | typealias Options = [String: ValueType]
245 |
246 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
247 | let symbols: Symbols
248 | let options: Options
:
261 | static let builder: Self = .init(.builder, [:], .path, .mesh)
262 | static let shape: Self = .init(.shape, [:], .void, .mesh)
263 | 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: annotate 'group' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
264 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
265 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:676: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
674 | static let node: Symbols = _merge(transform, name, background)
675 | static let shape: Symbols = _merge(node, detail, smoothing, material)
676 | 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: annotate 'group' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
677 | static let user: Symbols = _merge(shape, font)
678 | static let builder: Symbols = group
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Types.swift:264: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
244 | typealias Options = [String: ValueType]
245 |
246 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
247 | let symbols: Symbols
248 | let options: Options
:
262 | static let shape: Self = .init(.shape, [:], .void, .mesh)
263 | static let group: Self = .init(.group, [:], .mesh, .mesh)
264 | 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: annotate 'path' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
265 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
266 | }
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:683: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
681 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
682 | static let pathShape: Symbols = _merge(transform, detail, color, background)
683 | 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: annotate 'path' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
684 | static let definition: Symbols = _merge(root, pathPoints)
685 | static let all: Symbols = _merge(definition, shape, path)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Types.swift:265: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
244 | typealias Options = [String: ValueType]
245 |
246 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
247 | let symbols: Symbols
248 | let options: Options
:
263 | static let group: Self = .init(.group, [:], .mesh, .mesh)
264 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
265 | 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: annotate 'pathShape' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 | }
267 |
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:682: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
680 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
681 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
682 | 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: annotate 'pathShape' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
684 | static let definition: Symbols = _merge(root, pathPoints)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 |
90 | init(color: Color? = nil) {
/Users/admin/builder/spi-builder-workspace/ShapeScript/Values.swift:131: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?)
:
129 |
130 | extension Value {
131 | 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: annotate 'void' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 | static func colorOrTexture(_ value: MaterialProperty) -> Value {
[65/77] 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: annotate 'void' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'sequence' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'anyObject' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'numberPair' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'colorOrTexture' with '@MainActor' if property should only be accessed from the main actor
| `- 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, .list(.number)])
/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: annotate 'numberOrTexture' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | static let numberOrVector: ValueType = .union([.number, .list(.number)])
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, .list(.number)])
| |- 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: annotate 'numberOrVector' with '@MainActor' if property should only be accessed from the main actor
| `- 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:261: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
244 | typealias Options = [String: ValueType]
245 |
246 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
247 | let symbols: Symbols
248 | let options: Options
:
259 |
260 | extension BlockType {
261 | 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: annotate 'builder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
262 | static let shape: Self = .init(.shape, [:], .void, .mesh)
263 | static let group: Self = .init(.group, [:], .mesh, .mesh)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:678: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
676 | static let group: Symbols = _merge(shape, childTransform, font)
677 | static let user: Symbols = _merge(shape, font)
678 | 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: annotate 'builder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
679 | static let hull: Symbols = _merge(group, points)
680 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Types.swift:262: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
244 | typealias Options = [String: ValueType]
245 |
246 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
247 | let symbols: Symbols
248 | let options: Options
:
260 | extension BlockType {
261 | static let builder: Self = .init(.builder, [:], .path, .mesh)
262 | 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: annotate 'shape' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | static let group: Self = .init(.group, [:], .mesh, .mesh)
264 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:675: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
673 | static let global: Symbols = _merge(functions, colors, meshes, paths)
674 | static let node: Symbols = _merge(transform, name, background)
675 | 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: annotate 'shape' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
676 | static let group: Symbols = _merge(shape, childTransform, font)
677 | static let user: Symbols = _merge(shape, font)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Types.swift:263: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
244 | typealias Options = [String: ValueType]
245 |
246 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
247 | let symbols: Symbols
248 | let options: Options
:
261 | static let builder: Self = .init(.builder, [:], .path, .mesh)
262 | static let shape: Self = .init(.shape, [:], .void, .mesh)
263 | 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: annotate 'group' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
264 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
265 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:676: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
674 | static let node: Symbols = _merge(transform, name, background)
675 | static let shape: Symbols = _merge(node, detail, smoothing, material)
676 | 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: annotate 'group' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
677 | static let user: Symbols = _merge(shape, font)
678 | static let builder: Symbols = group
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Types.swift:264: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
244 | typealias Options = [String: ValueType]
245 |
246 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
247 | let symbols: Symbols
248 | let options: Options
:
262 | static let shape: Self = .init(.shape, [:], .void, .mesh)
263 | static let group: Self = .init(.group, [:], .mesh, .mesh)
264 | 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: annotate 'path' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
265 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
266 | }
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:683: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
681 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
682 | static let pathShape: Symbols = _merge(transform, detail, color, background)
683 | 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: annotate 'path' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
684 | static let definition: Symbols = _merge(root, pathPoints)
685 | static let all: Symbols = _merge(definition, shape, path)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Types.swift:265: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
244 | typealias Options = [String: ValueType]
245 |
246 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
247 | let symbols: Symbols
248 | let options: Options
:
263 | static let group: Self = .init(.group, [:], .mesh, .mesh)
264 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
265 | 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: annotate 'pathShape' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 | }
267 |
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:682: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
680 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
681 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
682 | 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: annotate 'pathShape' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
684 | static let definition: Symbols = _merge(root, pathPoints)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 |
90 | init(color: Color? = nil) {
/Users/admin/builder/spi-builder-workspace/ShapeScript/Values.swift:131: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?)
:
129 |
130 | extension Value {
131 | 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: annotate 'void' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 | static func colorOrTexture(_ value: MaterialProperty) -> Value {
[66/77] Compiling ShapeScript Value+Logging.swift
/Users/admin/builder/spi-builder-workspace/ShapeScript/Values.swift:131: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?)
:
129 |
130 | extension Value {
131 | 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: annotate 'void' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 | static func colorOrTexture(_ value: MaterialProperty) -> Value {
[67/77] Compiling ShapeScript Values.swift
/Users/admin/builder/spi-builder-workspace/ShapeScript/Values.swift:131: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?)
:
129 |
130 | extension Value {
131 | 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: annotate 'void' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 | static func colorOrTexture(_ value: MaterialProperty) -> Value {
[68/77] Emitting module ShapeScript
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:635: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
633 | ]
634 |
635 | 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: annotate 'root' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
636 | "camera": .block(.init(.node, [
637 | "position": .vector,
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 |
90 | init(color: Color? = nil) {
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryType.swift:47: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
40 | }
41 |
42 | public struct ExtrudeOptions: Hashable {
| `- note: consider making struct 'ExtrudeOptions' conform to the 'Sendable' protocol
43 | public var along: [Path]
44 | public var twist: Angle
45 | public var align: Path.Alignment
46 |
47 | 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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | 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 |
/Users/admin/builder/spi-builder-workspace/ShapeScript/Members.swift:84: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
82 | }
83 |
84 | 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: annotate 'memberTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | "x": .number,
86 | "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/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: annotate 'numberOrTexture' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | static let numberOrVector: ValueType = .union([.number, .list(.number)])
107 |
/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: annotate 'colorOrTexture' with '@MainActor' if property should only be accessed from the main actor
| `- 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, .list(.number)])
/Users/admin/builder/spi-builder-workspace/ShapeScript/Parser.swift:103: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 custom(String, hint: String?, at: SourceRange?)
:
101 |
102 | public struct ParserError: Error, Equatable {
103 | 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
104 |
105 | public init(_ type: ParserErrorType) {
/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'scnNodeKey' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'scnGeometryKey' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:685: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
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
684 | static let definition: Symbols = _merge(root, pathPoints)
685 | 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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
686 | }
687 |
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/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: annotate 'transform' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | "position": .property(.vector, { parameter, context in
38 | context.transform.offset = parameter.vectorValue
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | 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: annotate 'childTransform' with '@MainActor' if property should only be accessed from the main actor
| `- 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:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | 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: annotate 'colors' with '@MainActor' if property should only be accessed from the main actor
| `- 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:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:83: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
81 | ]
82 |
83 | 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: annotate 'color' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | "color": .property(.color, { parameter, context in
85 | context.material.albedo = parameter.colorOrTextureValue
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:91: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
89 | ]
90 |
91 | 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: annotate 'material' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | "opacity": .property(.numberOrTexture, { parameter, context in
93 | switch parameter {
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:147: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
145 | ]
146 |
147 | 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: annotate 'polygons' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | "polygon": .block(.init(.polygon, [:], .point, .list(.polygon))) { context in
149 | let path = Path(context.children.compactMap {
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:680: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
678 | static let builder: Symbols = group
679 | static let hull: Symbols = _merge(group, points)
680 | 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: annotate 'polygon' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
681 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
682 | static let pathShape: Symbols = _merge(transform, detail, color, background)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:157: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
155 | ]
156 |
157 | 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: annotate 'meshes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | // primitives
159 | "cone": .block(.shape) { context in
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Types.swift:262: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
244 | typealias Options = [String: ValueType]
245 |
246 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
247 | let symbols: Symbols
248 | let options: Options
:
260 | extension BlockType {
261 | static let builder: Self = .init(.builder, [:], .path, .mesh)
262 | 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: annotate 'shape' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | static let group: Self = .init(.group, [:], .mesh, .mesh)
264 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Types.swift:263: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
244 | typealias Options = [String: ValueType]
245 |
246 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
247 | let symbols: Symbols
248 | let options: Options
:
261 | static let builder: Self = .init(.builder, [:], .path, .mesh)
262 | static let shape: Self = .init(.shape, [:], .void, .mesh)
263 | 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: annotate 'group' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
264 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
265 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:678: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
676 | static let group: Symbols = _merge(shape, childTransform, font)
677 | static let user: Symbols = _merge(shape, font)
678 | 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: annotate 'builder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
679 | static let hull: Symbols = _merge(group, points)
680 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Types.swift:261: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
244 | typealias Options = [String: ValueType]
245 |
246 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
247 | let symbols: Symbols
248 | let options: Options
:
259 |
260 | extension BlockType {
261 | 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: annotate 'builder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
262 | static let shape: Self = .init(.shape, [:], .void, .mesh)
263 | static let group: Self = .init(.group, [:], .mesh, .mesh)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:679: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
677 | static let user: Symbols = _merge(shape, font)
678 | static let builder: Symbols = group
679 | 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: annotate 'hull' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
680 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
681 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:681: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
679 | static let hull: Symbols = _merge(group, points)
680 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
681 | 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: annotate 'mesh' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
682 | static let pathShape: Symbols = _merge(transform, detail, color, background)
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:674: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
672 |
673 | static let global: Symbols = _merge(functions, colors, meshes, paths)
674 | 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: annotate 'node' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
675 | static let shape: Symbols = _merge(node, detail, smoothing, material)
676 | static let group: Symbols = _merge(shape, childTransform, font)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/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: annotate 'void' with '@MainActor' if property should only be accessed from the main actor
| `- 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/StandardLibrary.swift:309: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
307 | ]
308 |
309 | 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: annotate 'paths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
310 | "path": .block(.path) { context in
311 | var subpaths = [Path]()
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Types.swift:264: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
244 | typealias Options = [String: ValueType]
245 |
246 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
247 | let symbols: Symbols
248 | let options: Options
:
262 | static let shape: Self = .init(.shape, [:], .void, .mesh)
263 | static let group: Self = .init(.group, [:], .mesh, .mesh)
264 | 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: annotate 'path' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
265 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
266 | }
/Users/admin/builder/spi-builder-workspace/ShapeScript/Types.swift:265: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
244 | typealias Options = [String: ValueType]
245 |
246 | struct BlockType {
| `- note: consider making struct 'BlockType' conform to the 'Sendable' protocol
247 | let symbols: Symbols
248 | let options: Options
:
263 | static let group: Self = .init(.group, [:], .mesh, .mesh)
264 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
265 | 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: annotate 'pathShape' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 | }
267 |
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:682: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
680 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
681 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
682 | 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: annotate 'pathShape' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
684 | static let definition: Symbols = _merge(root, pathPoints)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:433: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
431 | ]
432 |
433 | 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: annotate 'points' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
434 | "point": .command(.vector) { parameter, context in
435 | try context.addValue(.point(.point(
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:442: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
440 | ]
441 |
442 | 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: annotate 'pathPoints' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
443 | "curve": .command(.vector) { parameter, context in
444 | try context.addValue(.point(.curve(
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:451: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
449 | ])
450 |
451 | 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: annotate 'functions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
452 | // Debug
453 | "print": .command(.list(.any)) { value, context in
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/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: annotate 'numberPair' with '@MainActor' if property should only be accessed from the main actor
| `- 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/StandardLibrary.swift:594: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
592 | ]
593 |
594 | 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: annotate 'name' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
595 | "name": .property(.string, { parameter, context in
596 | context.name = parameter.stringValue
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:602: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
600 | ]
601 |
602 | 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: annotate 'background' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
603 | "background": .getter(.colorOrTexture) { context in
604 | .colorOrTexture(context.background ?? .color(.clear))
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:608: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
606 | ]
607 |
608 | 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: annotate 'font' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
609 | "font": .property(.font, { parameter, context in
610 | context.font = parameter.stringValue
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:616: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
614 | ]
615 |
616 | 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: annotate 'detail' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
617 | "detail": .property(.number, { parameter, context in
618 | // TODO: throw error if min/max detail level exceeded
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:625: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
623 | ]
624 |
625 | 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: annotate 'smoothing' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
626 | "smoothing": .property(.halfturns, { parameter, context in
627 | // TODO: find a better way to represent null/auto
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:673: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
671 | ])
672 |
673 | 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: annotate 'global' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
674 | static let node: Symbols = _merge(transform, name, background)
675 | static let shape: Symbols = _merge(node, detail, smoothing, material)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:675: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
673 | static let global: Symbols = _merge(functions, colors, meshes, paths)
674 | static let node: Symbols = _merge(transform, name, background)
675 | 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: annotate 'shape' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
676 | static let group: Symbols = _merge(shape, childTransform, font)
677 | static let user: Symbols = _merge(shape, font)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:676: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
674 | static let node: Symbols = _merge(transform, name, background)
675 | static let shape: Symbols = _merge(node, detail, smoothing, material)
676 | 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: annotate 'group' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
677 | static let user: Symbols = _merge(shape, font)
678 | static let builder: Symbols = group
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:677: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
675 | static let shape: Symbols = _merge(node, detail, smoothing, material)
676 | static let group: Symbols = _merge(shape, childTransform, font)
677 | 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: annotate 'user' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
678 | static let builder: Symbols = group
679 | static let hull: Symbols = _merge(group, points)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:683: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
681 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
682 | static let pathShape: Symbols = _merge(transform, detail, color, background)
683 | 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: annotate 'path' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
684 | static let definition: Symbols = _merge(root, pathPoints)
685 | static let all: Symbols = _merge(definition, shape, path)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:684: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
682 | static let pathShape: Symbols = _merge(transform, detail, color, background)
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
684 | 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: annotate 'definition' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
685 | static let all: Symbols = _merge(definition, shape, path)
686 | }
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/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: annotate 'sequence' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'anyObject' with '@MainActor' if property should only be accessed from the main actor
| `- 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: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, .list(.number)])
| |- 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: annotate 'numberOrVector' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Values.swift:131: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?)
:
129 |
130 | extension Value {
131 | 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: annotate 'void' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 | static func colorOrTexture(_ value: MaterialProperty) -> Value {
[69/77] Compiling ShapeScript Members.swift
/Users/admin/builder/spi-builder-workspace/ShapeScript/Members.swift:84: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
82 | }
83 |
84 | 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: annotate 'memberTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | "x": .number,
86 | "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/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: annotate 'numberOrTexture' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | static let numberOrVector: ValueType = .union([.number, .list(.number)])
107 |
/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: annotate 'colorOrTexture' with '@MainActor' if property should only be accessed from the main actor
| `- 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, .list(.number)])
/Users/admin/builder/spi-builder-workspace/ShapeScript/Values.swift:131: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?)
:
129 |
130 | extension Value {
131 | 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: annotate 'void' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 | static func colorOrTexture(_ value: MaterialProperty) -> Value {
/Users/admin/builder/spi-builder-workspace/ShapeScript/Parser.swift:103: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 custom(String, hint: String?, at: SourceRange?)
:
101 |
102 | public struct ParserError: Error, Equatable {
103 | 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
104 |
105 | public init(_ type: ParserErrorType) {
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:685: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
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
684 | static let definition: Symbols = _merge(root, pathPoints)
685 | 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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
686 | }
687 |
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/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: annotate 'void' with '@MainActor' if property should only be accessed from the main actor
| `- 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])
[70/77] Compiling ShapeScript Parser.swift
/Users/admin/builder/spi-builder-workspace/ShapeScript/Members.swift:84: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
82 | }
83 |
84 | 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: annotate 'memberTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | "x": .number,
86 | "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/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: annotate 'numberOrTexture' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | static let numberOrVector: ValueType = .union([.number, .list(.number)])
107 |
/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: annotate 'colorOrTexture' with '@MainActor' if property should only be accessed from the main actor
| `- 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, .list(.number)])
/Users/admin/builder/spi-builder-workspace/ShapeScript/Values.swift:131: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?)
:
129 |
130 | extension Value {
131 | 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: annotate 'void' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 | static func colorOrTexture(_ value: MaterialProperty) -> Value {
/Users/admin/builder/spi-builder-workspace/ShapeScript/Parser.swift:103: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 custom(String, hint: String?, at: SourceRange?)
:
101 |
102 | public struct ParserError: Error, Equatable {
103 | 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
104 |
105 | public init(_ type: ParserErrorType) {
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:685: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
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
684 | static let definition: Symbols = _merge(root, pathPoints)
685 | 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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
686 | }
687 |
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/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: annotate 'void' with '@MainActor' if property should only be accessed from the main actor
| `- 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])
[71/77] Compiling ShapeScript ProgramError.swift
/Users/admin/builder/spi-builder-workspace/ShapeScript/Members.swift:84: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
82 | }
83 |
84 | 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: annotate 'memberTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | "x": .number,
86 | "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/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: annotate 'numberOrTexture' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | static let numberOrVector: ValueType = .union([.number, .list(.number)])
107 |
/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: annotate 'colorOrTexture' with '@MainActor' if property should only be accessed from the main actor
| `- 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, .list(.number)])
/Users/admin/builder/spi-builder-workspace/ShapeScript/Values.swift:131: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?)
:
129 |
130 | extension Value {
131 | 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: annotate 'void' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 | static func colorOrTexture(_ value: MaterialProperty) -> Value {
/Users/admin/builder/spi-builder-workspace/ShapeScript/Parser.swift:103: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 custom(String, hint: String?, at: SourceRange?)
:
101 |
102 | public struct ParserError: Error, Equatable {
103 | 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
104 |
105 | public init(_ type: ParserErrorType) {
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:685: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
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
684 | static let definition: Symbols = _merge(root, pathPoints)
685 | 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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
686 | }
687 |
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/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: annotate 'void' with '@MainActor' if property should only be accessed from the main actor
| `- 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])
[72/77] Compiling ShapeScript GeometryType.swift
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryType.swift:47: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
40 | }
41 |
42 | public struct ExtrudeOptions: Hashable {
| `- note: consider making struct 'ExtrudeOptions' conform to the 'Sendable' protocol
43 | public var along: [Path]
44 | public var twist: Angle
45 | public var align: Path.Alignment
46 |
47 | 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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | init(along: [Path], twist: Angle, align: Path.Alignment?) {
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:685: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
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
684 | static let definition: Symbols = _merge(root, pathPoints)
685 | 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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
686 | }
687 |
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/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: annotate 'void' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Values.swift:131:16: warning: static property 'void' is not concurrency-safe because non-'Sendable' type '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?)
:
129 |
130 | extension Value {
131 | static let void: Value = .tuple([])
| |- warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'Value' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'void' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 | static func colorOrTexture(_ value: MaterialProperty) -> Value {
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:684: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
682 | static let pathShape: Symbols = _merge(transform, detail, color, background)
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
684 | 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: annotate 'definition' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
685 | static let all: Symbols = _merge(definition, shape, path)
686 | }
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:677: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
675 | static let shape: Symbols = _merge(node, detail, smoothing, material)
676 | static let group: Symbols = _merge(shape, childTransform, font)
677 | 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: annotate 'user' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
678 | static let builder: Symbols = group
679 | static let hull: Symbols = _merge(group, points)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 |
90 | init(color: Color? = nil) {
/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: annotate 'sequence' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'transform' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | "position": .property(.vector, { parameter, context in
38 | context.transform.offset = parameter.vectorValue
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/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: annotate 'anyObject' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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 |
[73/77] Compiling ShapeScript Interpreter.swift
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryType.swift:47: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
40 | }
41 |
42 | public struct ExtrudeOptions: Hashable {
| `- note: consider making struct 'ExtrudeOptions' conform to the 'Sendable' protocol
43 | public var along: [Path]
44 | public var twist: Angle
45 | public var align: Path.Alignment
46 |
47 | 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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | init(along: [Path], twist: Angle, align: Path.Alignment?) {
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:685: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
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
684 | static let definition: Symbols = _merge(root, pathPoints)
685 | 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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
686 | }
687 |
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/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: annotate 'void' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Values.swift:131:16: warning: static property 'void' is not concurrency-safe because non-'Sendable' type '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?)
:
129 |
130 | extension Value {
131 | static let void: Value = .tuple([])
| |- warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'Value' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'void' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 | static func colorOrTexture(_ value: MaterialProperty) -> Value {
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:684: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
682 | static let pathShape: Symbols = _merge(transform, detail, color, background)
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
684 | 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: annotate 'definition' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
685 | static let all: Symbols = _merge(definition, shape, path)
686 | }
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:677: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
675 | static let shape: Symbols = _merge(node, detail, smoothing, material)
676 | static let group: Symbols = _merge(shape, childTransform, font)
677 | 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: annotate 'user' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
678 | static let builder: Symbols = group
679 | static let hull: Symbols = _merge(group, points)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 |
90 | init(color: Color? = nil) {
/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: annotate 'sequence' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'transform' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | "position": .property(.vector, { parameter, context in
38 | context.transform.offset = parameter.vectorValue
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/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: annotate 'anyObject' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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 |
[74/77] Compiling ShapeScript Lexer.swift
/Users/admin/builder/spi-builder-workspace/ShapeScript/GeometryType.swift:47: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
40 | }
41 |
42 | public struct ExtrudeOptions: Hashable {
| `- note: consider making struct 'ExtrudeOptions' conform to the 'Sendable' protocol
43 | public var along: [Path]
44 | public var twist: Angle
45 | public var align: Path.Alignment
46 |
47 | 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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | init(along: [Path], twist: Angle, align: Path.Alignment?) {
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:685: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
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
684 | static let definition: Symbols = _merge(root, pathPoints)
685 | 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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
686 | }
687 |
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/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: annotate 'void' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Values.swift:131:16: warning: static property 'void' is not concurrency-safe because non-'Sendable' type '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?)
:
129 |
130 | extension Value {
131 | static let void: Value = .tuple([])
| |- warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'Value' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'void' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 | static func colorOrTexture(_ value: MaterialProperty) -> Value {
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:684: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
682 | static let pathShape: Symbols = _merge(transform, detail, color, background)
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
684 | 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: annotate 'definition' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
685 | static let all: Symbols = _merge(definition, shape, path)
686 | }
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/Users/admin/builder/spi-builder-workspace/ShapeScript/StandardLibrary.swift:677: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
675 | static let shape: Symbols = _merge(node, detail, smoothing, material)
676 | static let group: Symbols = _merge(shape, childTransform, font)
677 | 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: annotate 'user' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
678 | static let builder: Symbols = group
679 | static let hull: Symbols = _merge(group, points)
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 |
90 | init(color: Color? = nil) {
/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: annotate 'sequence' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'transform' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | "position": .property(.vector, { parameter, context in
38 | context.transform.offset = parameter.vectorValue
/Users/admin/builder/spi-builder-workspace/ShapeScript/Symbols.swift:15:6: note: consider making enum 'Symbol' conform to the 'Sendable' protocol
13 | typealias FunctionType = (parameterType: ValueType, returnType: ValueType)
14 |
15 | enum Symbol {
| `- note: consider making enum 'Symbol' conform to the 'Sendable' protocol
16 | case function(FunctionType, (Value, EvaluationContext) throws -> Value)
17 | case property(ValueType, Setter, Getter)
/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: annotate 'anyObject' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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 |
[75/83] Compiling CLI main.swift
[76/83] Compiling CLI ProgramError+Formatting.swift
[77/83] Compiling CLI Geometry+ModelInfo.swift
[78/83] Compiling CLI CLI+Export.swift
[79/83] Compiling CLI CLI.swift
[80/83] Emitting module CLI
[80/83] Write Objects.LinkFileList
[81/83] Linking shapescript
[82/83] Applying shapescript
Build complete! (23.98s)
Build complete.
{
"dependencies" : [
{
"identity" : "euclid",
"requirement" : {
"range" : [
{
"lower_bound" : "0.7.7",
"upper_bound" : "0.8.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/Euclid.git"
},
{
"identity" : "lrucache",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.6",
"upper_bound" : "1.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/LRUCache.git"
},
{
"identity" : "svgpath",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.5",
"upper_bound" : "1.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SVGPath.git"
}
],
"manifest_display_name" : "ShapeScript",
"name" : "ShapeScript",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "ShapeScript",
"targets" : [
"ShapeScript"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "shapescript",
"targets" : [
"CLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "ShapeScriptTests",
"module_type" : "SwiftTarget",
"name" : "ShapeScriptTests",
"path" : "ShapeScriptTests",
"sources" : [
"GeometryTests.swift",
"ImportExportTests.swift",
"InterpreterTests.swift",
"LexerTests.swift",
"LoggingTests.swift",
"MemberTests.swift",
"MetadataTests.swift",
"ParserTests.swift",
"PlatformTests.swift",
"RegressionTests.swift",
"SVGPathTests.swift",
"StandardLibraryTests.swift",
"StringMatchingTests.swift",
"TestDelegate.swift",
"TypesystemTests.swift"
],
"target_dependencies" : [
"ShapeScript"
],
"type" : "test"
},
{
"c99name" : "ShapeScript",
"module_type" : "SwiftTarget",
"name" : "ShapeScript",
"path" : "ShapeScript",
"product_dependencies" : [
"Euclid",
"LRUCache",
"SVGPath"
],
"product_memberships" : [
"ShapeScript",
"shapescript"
],
"sources" : [
"Euclid+Extensions.swift",
"Euclid+SVGPath.swift",
"EvaluationContext.swift",
"EvaluationDelegate.swift",
"Geometry.swift",
"GeometryCache.swift",
"GeometryType.swift",
"Interpreter.swift",
"Lexer.swift",
"Material+Brightness.swift",
"Material+SceneKit.swift",
"Material.swift",
"Members.swift",
"Parser.swift",
"ProgramError.swift",
"RandomSequence.swift",
"Scene+SceneKit.swift",
"Scene.swift",
"StandardLibrary.swift",
"String+Matching.swift",
"String+Ordinals.swift",
"Symbols.swift",
"Types.swift",
"Value+JSON.swift",
"Value+Logging.swift",
"Values.swift"
],
"type" : "library"
},
{
"c99name" : "CLI",
"module_type" : "SwiftTarget",
"name" : "CLI",
"path" : "Viewer/CLI",
"product_memberships" : [
"shapescript"
],
"sources" : [
"CLI+Export.swift",
"CLI.swift",
"Geometry+ModelInfo.swift",
"ProgramError+Formatting.swift",
"main.swift"
],
"target_dependencies" : [
"ShapeScript"
],
"type" : "executable"
}
],
"tools_version" : "5.1"
}
Done.