Build Information
Failed to build ShapeScript, reference main (93b783
), with Swift 6.1 for Android on 28 Jun 2025 19:23:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
105 | static let numberOrTexture: ValueType = .union([.number, .texture])
106 | static let numberOrVector: ValueType = .union([.number, .list(.number)])
/host/spi-builder-workspace/ShapeScript/Types.swift:105:16: warning: static property 'numberOrTexture' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
103 | static let numberPair: ValueType = .tuple([.number, .number])
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
105 | static let numberOrTexture: ValueType = .union([.number, .texture])
| |- warning: static property 'numberOrTexture' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'numberOrTexture' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | static let numberOrVector: ValueType = .union([.number, .list(.number)])
107 |
/host/spi-builder-workspace/ShapeScript/Types.swift:106:16: warning: static property 'numberOrVector' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
105 | static let numberOrTexture: ValueType = .union([.number, .texture])
106 | static let numberOrVector: ValueType = .union([.number, .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: add '@MainActor' to make static property 'numberOrVector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | static func optional(_ type: ValueType) -> ValueType {
/host/spi-builder-workspace/ShapeScript/Types.swift: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: add '@MainActor' to make static property 'builder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
262 | static let shape: Self = .init(.shape, [:], .void, .mesh)
263 | static let group: Self = .init(.group, [:], .mesh, .mesh)
/host/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: add '@MainActor' to make static property 'shape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | static let group: Self = .init(.group, [:], .mesh, .mesh)
264 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
/host/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: add '@MainActor' to make static property 'group' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
264 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
265 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
/host/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: add '@MainActor' to make static property 'path' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
265 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
266 | }
/host/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: add '@MainActor' to make static property 'pathShape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 | }
267 |
[63/84] Compiling ShapeScript Symbols.swift
/host/spi-builder-workspace/ShapeScript/Types.swift:100:16: warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
98 |
99 | extension ValueType {
100 | static let void: ValueType = .tuple([])
| |- warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'void' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | static let sequence: ValueType = .union([.range, .list(.any)])
102 | static let anyObject: ValueType = .object(["*": .any])
/host/spi-builder-workspace/ShapeScript/Types.swift:101:16: warning: static property 'sequence' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
99 | extension ValueType {
100 | static let void: ValueType = .tuple([])
101 | static let sequence: ValueType = .union([.range, .list(.any)])
| |- warning: static property 'sequence' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sequence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | static let anyObject: ValueType = .object(["*": .any])
103 | static let numberPair: ValueType = .tuple([.number, .number])
/host/spi-builder-workspace/ShapeScript/Types.swift:102:16: warning: static property 'anyObject' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
100 | static let void: ValueType = .tuple([])
101 | static let sequence: ValueType = .union([.range, .list(.any)])
102 | static let anyObject: ValueType = .object(["*": .any])
| |- warning: static property 'anyObject' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'anyObject' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | static let numberPair: ValueType = .tuple([.number, .number])
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
/host/spi-builder-workspace/ShapeScript/Types.swift:103:16: warning: static property 'numberPair' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
101 | static let sequence: ValueType = .union([.range, .list(.any)])
102 | static let anyObject: ValueType = .object(["*": .any])
103 | static let numberPair: ValueType = .tuple([.number, .number])
| |- warning: static property 'numberPair' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'numberPair' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
105 | static let numberOrTexture: ValueType = .union([.number, .texture])
/host/spi-builder-workspace/ShapeScript/Types.swift:104:16: warning: static property 'colorOrTexture' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
102 | static let anyObject: ValueType = .object(["*": .any])
103 | static let numberPair: ValueType = .tuple([.number, .number])
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
| |- warning: static property 'colorOrTexture' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colorOrTexture' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | static let numberOrTexture: ValueType = .union([.number, .texture])
106 | static let numberOrVector: ValueType = .union([.number, .list(.number)])
/host/spi-builder-workspace/ShapeScript/Types.swift:105:16: warning: static property 'numberOrTexture' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
103 | static let numberPair: ValueType = .tuple([.number, .number])
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
105 | static let numberOrTexture: ValueType = .union([.number, .texture])
| |- warning: static property 'numberOrTexture' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'numberOrTexture' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | static let numberOrVector: ValueType = .union([.number, .list(.number)])
107 |
/host/spi-builder-workspace/ShapeScript/Types.swift:106:16: warning: static property 'numberOrVector' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
105 | static let numberOrTexture: ValueType = .union([.number, .texture])
106 | static let numberOrVector: ValueType = .union([.number, .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: add '@MainActor' to make static property 'numberOrVector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | static func optional(_ type: ValueType) -> ValueType {
/host/spi-builder-workspace/ShapeScript/Types.swift: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: add '@MainActor' to make static property 'builder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
262 | static let shape: Self = .init(.shape, [:], .void, .mesh)
263 | static let group: Self = .init(.group, [:], .mesh, .mesh)
/host/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: add '@MainActor' to make static property 'shape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | static let group: Self = .init(.group, [:], .mesh, .mesh)
264 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
/host/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: add '@MainActor' to make static property 'group' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
264 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
265 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
/host/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: add '@MainActor' to make static property 'path' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
265 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
266 | }
/host/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: add '@MainActor' to make static property 'pathShape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 | }
267 |
[64/84] Compiling ShapeScript Types.swift
/host/spi-builder-workspace/ShapeScript/Types.swift:100:16: warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
98 |
99 | extension ValueType {
100 | static let void: ValueType = .tuple([])
| |- warning: static property 'void' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'void' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | static let sequence: ValueType = .union([.range, .list(.any)])
102 | static let anyObject: ValueType = .object(["*": .any])
/host/spi-builder-workspace/ShapeScript/Types.swift:101:16: warning: static property 'sequence' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
99 | extension ValueType {
100 | static let void: ValueType = .tuple([])
101 | static let sequence: ValueType = .union([.range, .list(.any)])
| |- warning: static property 'sequence' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sequence' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | static let anyObject: ValueType = .object(["*": .any])
103 | static let numberPair: ValueType = .tuple([.number, .number])
/host/spi-builder-workspace/ShapeScript/Types.swift:102:16: warning: static property 'anyObject' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
100 | static let void: ValueType = .tuple([])
101 | static let sequence: ValueType = .union([.range, .list(.any)])
102 | static let anyObject: ValueType = .object(["*": .any])
| |- warning: static property 'anyObject' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'anyObject' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | static let numberPair: ValueType = .tuple([.number, .number])
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
/host/spi-builder-workspace/ShapeScript/Types.swift:103:16: warning: static property 'numberPair' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
101 | static let sequence: ValueType = .union([.range, .list(.any)])
102 | static let anyObject: ValueType = .object(["*": .any])
103 | static let numberPair: ValueType = .tuple([.number, .number])
| |- warning: static property 'numberPair' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'numberPair' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
105 | static let numberOrTexture: ValueType = .union([.number, .texture])
/host/spi-builder-workspace/ShapeScript/Types.swift:104:16: warning: static property 'colorOrTexture' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
102 | static let anyObject: ValueType = .object(["*": .any])
103 | static let numberPair: ValueType = .tuple([.number, .number])
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
| |- warning: static property 'colorOrTexture' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colorOrTexture' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | static let numberOrTexture: ValueType = .union([.number, .texture])
106 | static let numberOrVector: ValueType = .union([.number, .list(.number)])
/host/spi-builder-workspace/ShapeScript/Types.swift:105:16: warning: static property 'numberOrTexture' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
103 | static let numberPair: ValueType = .tuple([.number, .number])
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
105 | static let numberOrTexture: ValueType = .union([.number, .texture])
| |- warning: static property 'numberOrTexture' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'numberOrTexture' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | static let numberOrVector: ValueType = .union([.number, .list(.number)])
107 |
/host/spi-builder-workspace/ShapeScript/Types.swift:106:16: warning: static property 'numberOrVector' is not concurrency-safe because non-'Sendable' type 'ValueType' may have shared mutable state; this is an error in the Swift 6 language mode
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
:
104 | static let colorOrTexture: ValueType = .union([.color, .texture])
105 | static let numberOrTexture: ValueType = .union([.number, .texture])
106 | static let numberOrVector: ValueType = .union([.number, .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: add '@MainActor' to make static property 'numberOrVector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | static func optional(_ type: ValueType) -> ValueType {
/host/spi-builder-workspace/ShapeScript/Types.swift: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: add '@MainActor' to make static property 'builder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
262 | static let shape: Self = .init(.shape, [:], .void, .mesh)
263 | static let group: Self = .init(.group, [:], .mesh, .mesh)
/host/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: add '@MainActor' to make static property 'shape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | static let group: Self = .init(.group, [:], .mesh, .mesh)
264 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
/host/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: add '@MainActor' to make static property 'group' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
264 | static let path: Self = .init(.path, [:], .union([.point, .path]), .path)
265 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
/host/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: add '@MainActor' to make static property 'path' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
265 | static let pathShape: Self = .init(.pathShape, [:], .void, .path)
266 | }
/host/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: add '@MainActor' to make static property 'pathShape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 | }
267 |
[65/84] Compiling ShapeScript Scene.swift
/host/spi-builder-workspace/ShapeScript/Scene.swift:42:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Scene' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import Foundation
11 |
12 | public final class Scene {
| `- note: class 'Scene' does not conform to the 'Sendable' protocol
13 | public let background: MaterialProperty
14 | public let children: [Geometry]
:
40 |
41 | public extension Scene {
42 | static let empty = Scene(background: .color(.clear), children: [], cache: nil)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Scene' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Returns the approximate (overestimated) bounds of the scene geometry.
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:36:16: warning: static property 'transform' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | static let transform: Symbols = [
| |- warning: static property 'transform' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'transform' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | "position": .property(.vector, { parameter, context in
38 | context.transform.offset = parameter.vectorValue
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:54:16: warning: static property 'childTransform' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
52 | ]
53 |
54 | static let childTransform: Symbols = [
| |- warning: static property 'childTransform' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'childTransform' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | "translate": .command(.vector) { parameter, context in
56 | let vector = parameter.vectorValue
/host/spi-builder-workspace/ShapeScript/Symbols.swift: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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:69:16: warning: static property 'colors' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
67 | ]
68 |
69 | static let colors: Symbols = [
| |- warning: static property 'colors' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | "white": .constant(.color(.white)),
71 | "black": .constant(.color(.black)),
/host/spi-builder-workspace/ShapeScript/Symbols.swift: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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:82:16: warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
80 | ]
81 |
82 | static let color: Symbols = colors + [
| |- warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'color' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | "color": .property(.color, { parameter, context in
84 | context.material.albedo = parameter.colorOrTextureValue
/host/spi-builder-workspace/ShapeScript/Symbols.swift: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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:90:16: warning: static property 'material' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
88 | ]
89 |
90 | static let material: Symbols = color + [
| |- warning: static property 'material' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'material' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | "opacity": .property(.numberOrTexture, { parameter, context in
92 | switch parameter {
/host/spi-builder-workspace/ShapeScript/Symbols.swift: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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:146:16: warning: static property 'polygons' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
144 | ]
145 |
146 | static let polygons: Symbols = [
| |- warning: static property 'polygons' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'polygons' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | "polygon": .block(.init(.polygon, [:], .point, .list(.polygon))) { context in
148 | let path = Path(context.children.compactMap {
/host/spi-builder-workspace/ShapeScript/Symbols.swift: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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:156:16: warning: static property 'meshes' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
154 | ]
155 |
156 | static let meshes: Symbols = [
| |- warning: static property 'meshes' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'meshes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | // primitives
158 | "cone": .block(.shape) { context in
/host/spi-builder-workspace/ShapeScript/Symbols.swift: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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:308: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
306 | ]
307 |
308 | static let paths: Symbols = [
| |- warning: static property 'paths' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'paths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
309 | "path": .block(.path) { context in
310 | var subpaths = [Path]()
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:432: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
430 | ]
431 |
432 | static let points: Symbols = [
| |- warning: static property 'points' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'points' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
433 | "point": .command(.vector) { parameter, context in
434 | try context.addValue(.point(.point(
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:441: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
439 | ]
440 |
441 | static let pathPoints: Symbols = _merge(points, [
| |- warning: static property 'pathPoints' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pathPoints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
442 | "curve": .command(.vector) { parameter, context in
443 | try context.addValue(.point(.curve(
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:450: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
448 | ])
449 |
450 | static let functions: Symbols = [
| |- warning: static property 'functions' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'functions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
451 | // Debug
452 | "print": .command(.list(.any)) { value, context in
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:593: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
591 | ]
592 |
593 | static let name: Symbols = [
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
594 | "name": .property(.string, { parameter, context in
595 | context.name = parameter.stringValue
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:601: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
599 | ]
600 |
601 | static let background: Symbols = [
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'background' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
602 | "background": .getter(.colorOrTexture) { context in
603 | .colorOrTexture(context.background ?? .color(.clear))
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:607: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
605 | ]
606 |
607 | static let font: Symbols = [
| |- warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'font' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
608 | "font": .property(.font, { parameter, context in
609 | context.font = parameter.stringValue
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:615: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
613 | ]
614 |
615 | static let detail: Symbols = [
| |- warning: static property 'detail' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'detail' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
616 | "detail": .property(.number, { parameter, context in
617 | // TODO: throw error if min/max detail level exceeded
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:624: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
622 | ]
623 |
624 | static let smoothing: Symbols = [
| |- warning: static property 'smoothing' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'smoothing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
625 | "smoothing": .property(.halfturns, { parameter, context in
626 | // TODO: find a better way to represent null/auto
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:634: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
632 | ]
633 |
634 | static let root: Symbols = _merge(global, font, detail, smoothing, material, childTransform, [
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
635 | "camera": .block(.init(.node, [
636 | "position": .vector,
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:672: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
670 | ])
671 |
672 | static let global: Symbols = _merge(functions, colors, meshes, paths)
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'global' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
673 | static let node: Symbols = _merge(transform, name, background)
674 | static let shape: Symbols = _merge(node, detail, smoothing, material)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:673: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
671 |
672 | static let global: Symbols = _merge(functions, colors, meshes, paths)
673 | static let node: Symbols = _merge(transform, name, background)
| |- warning: static property 'node' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'node' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
674 | static let shape: Symbols = _merge(node, detail, smoothing, material)
675 | static let group: Symbols = _merge(shape, childTransform, font)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:674: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
672 | static let global: Symbols = _merge(functions, colors, meshes, paths)
673 | static let node: Symbols = _merge(transform, name, background)
674 | static let shape: Symbols = _merge(node, detail, smoothing, material)
| |- warning: static property 'shape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
675 | static let group: Symbols = _merge(shape, childTransform, font)
676 | static let user: Symbols = _merge(shape, font)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:675: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
673 | static let node: Symbols = _merge(transform, name, background)
674 | static let shape: Symbols = _merge(node, detail, smoothing, material)
675 | static let group: Symbols = _merge(shape, childTransform, font)
| |- warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'group' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
676 | static let user: Symbols = _merge(shape, font)
677 | static let builder: Symbols = group
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:676: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
674 | static let shape: Symbols = _merge(node, detail, smoothing, material)
675 | static let group: Symbols = _merge(shape, childTransform, font)
676 | static let user: Symbols = _merge(shape, font)
| |- warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
677 | static let builder: Symbols = group
678 | static let hull: Symbols = _merge(group, points)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:677: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
675 | static let group: Symbols = _merge(shape, childTransform, font)
676 | static let user: Symbols = _merge(shape, font)
677 | static let builder: Symbols = group
| |- warning: static property 'builder' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'builder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
678 | static let hull: Symbols = _merge(group, points)
679 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:678: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
676 | static let user: Symbols = _merge(shape, font)
677 | static let builder: Symbols = group
678 | static let hull: Symbols = _merge(group, points)
| |- warning: static property 'hull' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hull' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
679 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
680 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:679: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
677 | static let builder: Symbols = group
678 | static let hull: Symbols = _merge(group, points)
679 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
| |- warning: static property 'polygon' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'polygon' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
680 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
681 | static let pathShape: Symbols = _merge(transform, detail, color, background)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:680: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
678 | static let hull: Symbols = _merge(group, points)
679 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
680 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
| |- warning: static property 'mesh' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mesh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
681 | static let pathShape: Symbols = _merge(transform, detail, color, background)
682 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:681: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
679 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
680 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
681 | static let pathShape: Symbols = _merge(transform, detail, color, background)
| |- warning: static property 'pathShape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pathShape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
682 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
683 | static let definition: Symbols = _merge(root, pathPoints)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:682: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
680 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
681 | static let pathShape: Symbols = _merge(transform, detail, color, background)
682 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
| |- warning: static property 'path' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'path' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
683 | static let definition: Symbols = _merge(root, pathPoints)
684 | static let all: Symbols = _merge(definition, shape, path)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:683: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
681 | static let pathShape: Symbols = _merge(transform, detail, color, background)
682 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
683 | static let definition: Symbols = _merge(root, pathPoints)
| |- warning: static property 'definition' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'definition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
684 | static let all: Symbols = _merge(definition, shape, path)
685 | }
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:684: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
682 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
683 | static let definition: Symbols = _merge(root, pathPoints)
684 | static let all: Symbols = _merge(definition, shape, path)
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
685 | }
686 |
/host/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)
[66/84] Compiling ShapeScript StandardLibrary.swift
/host/spi-builder-workspace/ShapeScript/Scene.swift:42:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Scene' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import Foundation
11 |
12 | public final class Scene {
| `- note: class 'Scene' does not conform to the 'Sendable' protocol
13 | public let background: MaterialProperty
14 | public let children: [Geometry]
:
40 |
41 | public extension Scene {
42 | static let empty = Scene(background: .color(.clear), children: [], cache: nil)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Scene' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Returns the approximate (overestimated) bounds of the scene geometry.
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:36:16: warning: static property 'transform' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | static let transform: Symbols = [
| |- warning: static property 'transform' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'transform' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | "position": .property(.vector, { parameter, context in
38 | context.transform.offset = parameter.vectorValue
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:54:16: warning: static property 'childTransform' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
52 | ]
53 |
54 | static let childTransform: Symbols = [
| |- warning: static property 'childTransform' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'childTransform' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | "translate": .command(.vector) { parameter, context in
56 | let vector = parameter.vectorValue
/host/spi-builder-workspace/ShapeScript/Symbols.swift: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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:69:16: warning: static property 'colors' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
67 | ]
68 |
69 | static let colors: Symbols = [
| |- warning: static property 'colors' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | "white": .constant(.color(.white)),
71 | "black": .constant(.color(.black)),
/host/spi-builder-workspace/ShapeScript/Symbols.swift: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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:82:16: warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
80 | ]
81 |
82 | static let color: Symbols = colors + [
| |- warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'color' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | "color": .property(.color, { parameter, context in
84 | context.material.albedo = parameter.colorOrTextureValue
/host/spi-builder-workspace/ShapeScript/Symbols.swift: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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:90:16: warning: static property 'material' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
88 | ]
89 |
90 | static let material: Symbols = color + [
| |- warning: static property 'material' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'material' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | "opacity": .property(.numberOrTexture, { parameter, context in
92 | switch parameter {
/host/spi-builder-workspace/ShapeScript/Symbols.swift: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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:146:16: warning: static property 'polygons' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
144 | ]
145 |
146 | static let polygons: Symbols = [
| |- warning: static property 'polygons' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'polygons' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | "polygon": .block(.init(.polygon, [:], .point, .list(.polygon))) { context in
148 | let path = Path(context.children.compactMap {
/host/spi-builder-workspace/ShapeScript/Symbols.swift: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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:156:16: warning: static property 'meshes' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
154 | ]
155 |
156 | static let meshes: Symbols = [
| |- warning: static property 'meshes' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'meshes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | // primitives
158 | "cone": .block(.shape) { context in
/host/spi-builder-workspace/ShapeScript/Symbols.swift: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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:308: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
306 | ]
307 |
308 | static let paths: Symbols = [
| |- warning: static property 'paths' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'paths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
309 | "path": .block(.path) { context in
310 | var subpaths = [Path]()
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:432: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
430 | ]
431 |
432 | static let points: Symbols = [
| |- warning: static property 'points' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'points' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
433 | "point": .command(.vector) { parameter, context in
434 | try context.addValue(.point(.point(
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:441: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
439 | ]
440 |
441 | static let pathPoints: Symbols = _merge(points, [
| |- warning: static property 'pathPoints' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pathPoints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
442 | "curve": .command(.vector) { parameter, context in
443 | try context.addValue(.point(.curve(
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:450: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
448 | ])
449 |
450 | static let functions: Symbols = [
| |- warning: static property 'functions' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'functions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
451 | // Debug
452 | "print": .command(.list(.any)) { value, context in
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:593: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
591 | ]
592 |
593 | static let name: Symbols = [
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
594 | "name": .property(.string, { parameter, context in
595 | context.name = parameter.stringValue
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:601: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
599 | ]
600 |
601 | static let background: Symbols = [
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'background' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
602 | "background": .getter(.colorOrTexture) { context in
603 | .colorOrTexture(context.background ?? .color(.clear))
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:607: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
605 | ]
606 |
607 | static let font: Symbols = [
| |- warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'font' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
608 | "font": .property(.font, { parameter, context in
609 | context.font = parameter.stringValue
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:615: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
613 | ]
614 |
615 | static let detail: Symbols = [
| |- warning: static property 'detail' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'detail' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
616 | "detail": .property(.number, { parameter, context in
617 | // TODO: throw error if min/max detail level exceeded
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:624: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
622 | ]
623 |
624 | static let smoothing: Symbols = [
| |- warning: static property 'smoothing' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'smoothing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
625 | "smoothing": .property(.halfturns, { parameter, context in
626 | // TODO: find a better way to represent null/auto
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:634: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
632 | ]
633 |
634 | static let root: Symbols = _merge(global, font, detail, smoothing, material, childTransform, [
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
635 | "camera": .block(.init(.node, [
636 | "position": .vector,
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:672: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
670 | ])
671 |
672 | static let global: Symbols = _merge(functions, colors, meshes, paths)
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'global' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
673 | static let node: Symbols = _merge(transform, name, background)
674 | static let shape: Symbols = _merge(node, detail, smoothing, material)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:673: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
671 |
672 | static let global: Symbols = _merge(functions, colors, meshes, paths)
673 | static let node: Symbols = _merge(transform, name, background)
| |- warning: static property 'node' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'node' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
674 | static let shape: Symbols = _merge(node, detail, smoothing, material)
675 | static let group: Symbols = _merge(shape, childTransform, font)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:674: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
672 | static let global: Symbols = _merge(functions, colors, meshes, paths)
673 | static let node: Symbols = _merge(transform, name, background)
674 | static let shape: Symbols = _merge(node, detail, smoothing, material)
| |- warning: static property 'shape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
675 | static let group: Symbols = _merge(shape, childTransform, font)
676 | static let user: Symbols = _merge(shape, font)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:675: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
673 | static let node: Symbols = _merge(transform, name, background)
674 | static let shape: Symbols = _merge(node, detail, smoothing, material)
675 | static let group: Symbols = _merge(shape, childTransform, font)
| |- warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'group' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
676 | static let user: Symbols = _merge(shape, font)
677 | static let builder: Symbols = group
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:676: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
674 | static let shape: Symbols = _merge(node, detail, smoothing, material)
675 | static let group: Symbols = _merge(shape, childTransform, font)
676 | static let user: Symbols = _merge(shape, font)
| |- warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
677 | static let builder: Symbols = group
678 | static let hull: Symbols = _merge(group, points)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:677: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
675 | static let group: Symbols = _merge(shape, childTransform, font)
676 | static let user: Symbols = _merge(shape, font)
677 | static let builder: Symbols = group
| |- warning: static property 'builder' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'builder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
678 | static let hull: Symbols = _merge(group, points)
679 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:678: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
676 | static let user: Symbols = _merge(shape, font)
677 | static let builder: Symbols = group
678 | static let hull: Symbols = _merge(group, points)
| |- warning: static property 'hull' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hull' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
679 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
680 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:679: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
677 | static let builder: Symbols = group
678 | static let hull: Symbols = _merge(group, points)
679 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
| |- warning: static property 'polygon' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'polygon' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
680 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
681 | static let pathShape: Symbols = _merge(transform, detail, color, background)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:680: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
678 | static let hull: Symbols = _merge(group, points)
679 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
680 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
| |- warning: static property 'mesh' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mesh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
681 | static let pathShape: Symbols = _merge(transform, detail, color, background)
682 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:681: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
679 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
680 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
681 | static let pathShape: Symbols = _merge(transform, detail, color, background)
| |- warning: static property 'pathShape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pathShape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
682 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
683 | static let definition: Symbols = _merge(root, pathPoints)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:682: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
680 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
681 | static let pathShape: Symbols = _merge(transform, detail, color, background)
682 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
| |- warning: static property 'path' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'path' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
683 | static let definition: Symbols = _merge(root, pathPoints)
684 | static let all: Symbols = _merge(definition, shape, path)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:683: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
681 | static let pathShape: Symbols = _merge(transform, detail, color, background)
682 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
683 | static let definition: Symbols = _merge(root, pathPoints)
| |- warning: static property 'definition' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'definition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
684 | static let all: Symbols = _merge(definition, shape, path)
685 | }
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:684: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
682 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
683 | static let definition: Symbols = _merge(root, pathPoints)
684 | static let all: Symbols = _merge(definition, shape, path)
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
685 | }
686 |
/host/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)
[67/84] Compiling ShapeScript String+Matching.swift
/host/spi-builder-workspace/ShapeScript/Scene.swift:42:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Scene' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import Foundation
11 |
12 | public final class Scene {
| `- note: class 'Scene' does not conform to the 'Sendable' protocol
13 | public let background: MaterialProperty
14 | public let children: [Geometry]
:
40 |
41 | public extension Scene {
42 | static let empty = Scene(background: .color(.clear), children: [], cache: nil)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Scene' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// Returns the approximate (overestimated) bounds of the scene geometry.
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:36:16: warning: static property 'transform' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | static let transform: Symbols = [
| |- warning: static property 'transform' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'transform' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | "position": .property(.vector, { parameter, context in
38 | context.transform.offset = parameter.vectorValue
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:54:16: warning: static property 'childTransform' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
52 | ]
53 |
54 | static let childTransform: Symbols = [
| |- warning: static property 'childTransform' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'childTransform' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | "translate": .command(.vector) { parameter, context in
56 | let vector = parameter.vectorValue
/host/spi-builder-workspace/ShapeScript/Symbols.swift: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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:69:16: warning: static property 'colors' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
67 | ]
68 |
69 | static let colors: Symbols = [
| |- warning: static property 'colors' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'colors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | "white": .constant(.color(.white)),
71 | "black": .constant(.color(.black)),
/host/spi-builder-workspace/ShapeScript/Symbols.swift: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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:82:16: warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
80 | ]
81 |
82 | static let color: Symbols = colors + [
| |- warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'color' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | "color": .property(.color, { parameter, context in
84 | context.material.albedo = parameter.colorOrTextureValue
/host/spi-builder-workspace/ShapeScript/Symbols.swift: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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:90:16: warning: static property 'material' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
88 | ]
89 |
90 | static let material: Symbols = color + [
| |- warning: static property 'material' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'material' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | "opacity": .property(.numberOrTexture, { parameter, context in
92 | switch parameter {
/host/spi-builder-workspace/ShapeScript/Symbols.swift: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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:146:16: warning: static property 'polygons' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
144 | ]
145 |
146 | static let polygons: Symbols = [
| |- warning: static property 'polygons' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'polygons' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | "polygon": .block(.init(.polygon, [:], .point, .list(.polygon))) { context in
148 | let path = Path(context.children.compactMap {
/host/spi-builder-workspace/ShapeScript/Symbols.swift: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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:156:16: warning: static property 'meshes' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
154 | ]
155 |
156 | static let meshes: Symbols = [
| |- warning: static property 'meshes' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'meshes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | // primitives
158 | "cone": .block(.shape) { context in
/host/spi-builder-workspace/ShapeScript/Symbols.swift: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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:308: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
306 | ]
307 |
308 | static let paths: Symbols = [
| |- warning: static property 'paths' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'paths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
309 | "path": .block(.path) { context in
310 | var subpaths = [Path]()
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:432: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
430 | ]
431 |
432 | static let points: Symbols = [
| |- warning: static property 'points' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'points' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
433 | "point": .command(.vector) { parameter, context in
434 | try context.addValue(.point(.point(
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:441: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
439 | ]
440 |
441 | static let pathPoints: Symbols = _merge(points, [
| |- warning: static property 'pathPoints' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pathPoints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
442 | "curve": .command(.vector) { parameter, context in
443 | try context.addValue(.point(.curve(
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:450: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
448 | ])
449 |
450 | static let functions: Symbols = [
| |- warning: static property 'functions' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'functions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
451 | // Debug
452 | "print": .command(.list(.any)) { value, context in
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:593: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
591 | ]
592 |
593 | static let name: Symbols = [
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
594 | "name": .property(.string, { parameter, context in
595 | context.name = parameter.stringValue
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:601: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
599 | ]
600 |
601 | static let background: Symbols = [
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'background' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
602 | "background": .getter(.colorOrTexture) { context in
603 | .colorOrTexture(context.background ?? .color(.clear))
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:607: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
605 | ]
606 |
607 | static let font: Symbols = [
| |- warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'font' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
608 | "font": .property(.font, { parameter, context in
609 | context.font = parameter.stringValue
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:615: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
613 | ]
614 |
615 | static let detail: Symbols = [
| |- warning: static property 'detail' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'detail' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
616 | "detail": .property(.number, { parameter, context in
617 | // TODO: throw error if min/max detail level exceeded
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:624: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
622 | ]
623 |
624 | static let smoothing: Symbols = [
| |- warning: static property 'smoothing' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'smoothing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
625 | "smoothing": .property(.halfturns, { parameter, context in
626 | // TODO: find a better way to represent null/auto
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:634: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
632 | ]
633 |
634 | static let root: Symbols = _merge(global, font, detail, smoothing, material, childTransform, [
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
635 | "camera": .block(.init(.node, [
636 | "position": .vector,
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:672: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
670 | ])
671 |
672 | static let global: Symbols = _merge(functions, colors, meshes, paths)
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'global' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
673 | static let node: Symbols = _merge(transform, name, background)
674 | static let shape: Symbols = _merge(node, detail, smoothing, material)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:673: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
671 |
672 | static let global: Symbols = _merge(functions, colors, meshes, paths)
673 | static let node: Symbols = _merge(transform, name, background)
| |- warning: static property 'node' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'node' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
674 | static let shape: Symbols = _merge(node, detail, smoothing, material)
675 | static let group: Symbols = _merge(shape, childTransform, font)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:674: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
672 | static let global: Symbols = _merge(functions, colors, meshes, paths)
673 | static let node: Symbols = _merge(transform, name, background)
674 | static let shape: Symbols = _merge(node, detail, smoothing, material)
| |- warning: static property 'shape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
675 | static let group: Symbols = _merge(shape, childTransform, font)
676 | static let user: Symbols = _merge(shape, font)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:675: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
673 | static let node: Symbols = _merge(transform, name, background)
674 | static let shape: Symbols = _merge(node, detail, smoothing, material)
675 | static let group: Symbols = _merge(shape, childTransform, font)
| |- warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'group' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
676 | static let user: Symbols = _merge(shape, font)
677 | static let builder: Symbols = group
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:676: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
674 | static let shape: Symbols = _merge(node, detail, smoothing, material)
675 | static let group: Symbols = _merge(shape, childTransform, font)
676 | static let user: Symbols = _merge(shape, font)
| |- warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
677 | static let builder: Symbols = group
678 | static let hull: Symbols = _merge(group, points)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:677: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
675 | static let group: Symbols = _merge(shape, childTransform, font)
676 | static let user: Symbols = _merge(shape, font)
677 | static let builder: Symbols = group
| |- warning: static property 'builder' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'builder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
678 | static let hull: Symbols = _merge(group, points)
679 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:678: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
676 | static let user: Symbols = _merge(shape, font)
677 | static let builder: Symbols = group
678 | static let hull: Symbols = _merge(group, points)
| |- warning: static property 'hull' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hull' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
679 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
680 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:679: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
677 | static let builder: Symbols = group
678 | static let hull: Symbols = _merge(group, points)
679 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
| |- warning: static property 'polygon' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'polygon' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
680 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
681 | static let pathShape: Symbols = _merge(transform, detail, color, background)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:680: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
678 | static let hull: Symbols = _merge(group, points)
679 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
680 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
| |- warning: static property 'mesh' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mesh' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
681 | static let pathShape: Symbols = _merge(transform, detail, color, background)
682 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:681: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
679 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
680 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
681 | static let pathShape: Symbols = _merge(transform, detail, color, background)
| |- warning: static property 'pathShape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pathShape' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
682 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
683 | static let definition: Symbols = _merge(root, pathPoints)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:682: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
680 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
681 | static let pathShape: Symbols = _merge(transform, detail, color, background)
682 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
| |- warning: static property 'path' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'path' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
683 | static let definition: Symbols = _merge(root, pathPoints)
684 | static let all: Symbols = _merge(definition, shape, path)
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:683: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
681 | static let pathShape: Symbols = _merge(transform, detail, color, background)
682 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
683 | static let definition: Symbols = _merge(root, pathPoints)
| |- warning: static property 'definition' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'definition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
684 | static let all: Symbols = _merge(definition, shape, path)
685 | }
/host/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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:684: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
682 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
683 | static let definition: Symbols = _merge(root, pathPoints)
684 | static let all: Symbols = _merge(definition, shape, path)
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
685 | }
686 |
/host/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)
[68/84] Compiling ShapeScript Geometry.swift
/host/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | init(along: [Path], twist: Angle, align: Path.Alignment?) {
/host/spi-builder-workspace/ShapeScript/Interpreter.swift:458:43: error: value of type 'NSError' has no member 'underlyingErrors'
456 | #if !os(Linux)
457 | if #available(macOS 11.3, iOS 14.5, tvOS 14.5, *) {
458 | underlyingError = nsError.underlyingErrors.first
| `- error: value of type 'NSError' has no member 'underlyingErrors'
459 | }
460 | #endif
[69/84] Compiling ShapeScript GeometryCache.swift
/host/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | init(along: [Path], twist: Angle, align: Path.Alignment?) {
/host/spi-builder-workspace/ShapeScript/Interpreter.swift:458:43: error: value of type 'NSError' has no member 'underlyingErrors'
456 | #if !os(Linux)
457 | if #available(macOS 11.3, iOS 14.5, tvOS 14.5, *) {
458 | underlyingError = nsError.underlyingErrors.first
| `- error: value of type 'NSError' has no member 'underlyingErrors'
459 | }
460 | #endif
[70/84] Compiling ShapeScript GeometryType.swift
/host/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | init(along: [Path], twist: Angle, align: Path.Alignment?) {
/host/spi-builder-workspace/ShapeScript/Interpreter.swift:458:43: error: value of type 'NSError' has no member 'underlyingErrors'
456 | #if !os(Linux)
457 | if #available(macOS 11.3, iOS 14.5, tvOS 14.5, *) {
458 | underlyingError = nsError.underlyingErrors.first
| `- error: value of type 'NSError' has no member 'underlyingErrors'
459 | }
460 | #endif
[71/84] Compiling ShapeScript Interpreter.swift
/host/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | init(along: [Path], twist: Angle, align: Path.Alignment?) {
/host/spi-builder-workspace/ShapeScript/Interpreter.swift:458:43: error: value of type 'NSError' has no member 'underlyingErrors'
456 | #if !os(Linux)
457 | if #available(macOS 11.3, iOS 14.5, tvOS 14.5, *) {
458 | underlyingError = nsError.underlyingErrors.first
| `- error: value of type 'NSError' has no member 'underlyingErrors'
459 | }
460 | #endif
[72/84] Compiling ShapeScript Value+JSON.swift
/host/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: add '@MainActor' to make static property 'void' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 | static func colorOrTexture(_ value: MaterialProperty) -> Value {
[73/84] Compiling ShapeScript Value+Logging.swift
/host/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: add '@MainActor' to make static property 'void' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 | static func colorOrTexture(_ value: MaterialProperty) -> Value {
[74/84] Compiling ShapeScript Values.swift
/host/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: add '@MainActor' to make static property 'void' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 | static func colorOrTexture(_ value: MaterialProperty) -> Value {
[75/84] Compiling ShapeScript Lexer.swift
/host/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 |
[76/84] Compiling ShapeScript Material+Brightness.swift
/host/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 |
[77/84] Compiling ShapeScript Material+SceneKit.swift
/host/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 |
[78/84] Compiling ShapeScript Material.swift
/host/spi-builder-workspace/ShapeScript/Material.swift:88:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Material' may have shared mutable state; this is an error in the Swift 6 language mode
76 | }
77 |
78 | public struct Material: Hashable {
| `- note: consider making struct 'Material' conform to the 'Sendable' protocol
79 | public var opacity: Optional<MaterialProperty>
80 | public var albedo: Optional<MaterialProperty>
:
86 |
87 | public extension Material {
88 | static let `default`: Material = .init()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Material' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 |
90 | init(color: Color? = nil) {
/host/spi-builder-workspace/ShapeScript/Members.swift:88:24: warning: static property 'memberTypes' is not concurrency-safe because non-'Sendable' type '[String : ValueType]' may have shared mutable state; this is an error in the Swift 6 language mode
86 | }
87 |
88 | private static let memberTypes: [String: ValueType] = [
| |- warning: static property 'memberTypes' is not concurrency-safe because non-'Sendable' type '[String : ValueType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'memberTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | "x": .number,
90 | "y": .number,
/host/spi-builder-workspace/ShapeScript/Types.swift:14:6: note: consider making enum 'ValueType' conform to the 'Sendable' protocol
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
/host/spi-builder-workspace/ShapeScript/Parser.swift: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) {
[79/84] Compiling ShapeScript Members.swift
/host/spi-builder-workspace/ShapeScript/Material.swift:88:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Material' may have shared mutable state; this is an error in the Swift 6 language mode
76 | }
77 |
78 | public struct Material: Hashable {
| `- note: consider making struct 'Material' conform to the 'Sendable' protocol
79 | public var opacity: Optional<MaterialProperty>
80 | public var albedo: Optional<MaterialProperty>
:
86 |
87 | public extension Material {
88 | static let `default`: Material = .init()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Material' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 |
90 | init(color: Color? = nil) {
/host/spi-builder-workspace/ShapeScript/Members.swift:88:24: warning: static property 'memberTypes' is not concurrency-safe because non-'Sendable' type '[String : ValueType]' may have shared mutable state; this is an error in the Swift 6 language mode
86 | }
87 |
88 | private static let memberTypes: [String: ValueType] = [
| |- warning: static property 'memberTypes' is not concurrency-safe because non-'Sendable' type '[String : ValueType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'memberTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | "x": .number,
90 | "y": .number,
/host/spi-builder-workspace/ShapeScript/Types.swift:14:6: note: consider making enum 'ValueType' conform to the 'Sendable' protocol
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
/host/spi-builder-workspace/ShapeScript/Parser.swift: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) {
[80/84] Compiling ShapeScript Parser.swift
/host/spi-builder-workspace/ShapeScript/Material.swift:88:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Material' may have shared mutable state; this is an error in the Swift 6 language mode
76 | }
77 |
78 | public struct Material: Hashable {
| `- note: consider making struct 'Material' conform to the 'Sendable' protocol
79 | public var opacity: Optional<MaterialProperty>
80 | public var albedo: Optional<MaterialProperty>
:
86 |
87 | public extension Material {
88 | static let `default`: Material = .init()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Material' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 |
90 | init(color: Color? = nil) {
/host/spi-builder-workspace/ShapeScript/Members.swift:88:24: warning: static property 'memberTypes' is not concurrency-safe because non-'Sendable' type '[String : ValueType]' may have shared mutable state; this is an error in the Swift 6 language mode
86 | }
87 |
88 | private static let memberTypes: [String: ValueType] = [
| |- warning: static property 'memberTypes' is not concurrency-safe because non-'Sendable' type '[String : ValueType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'memberTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | "x": .number,
90 | "y": .number,
/host/spi-builder-workspace/ShapeScript/Types.swift:14:6: note: consider making enum 'ValueType' conform to the 'Sendable' protocol
12 | // MARK: Types
13 |
14 | enum ValueType: Hashable {
| `- note: consider making enum 'ValueType' conform to the 'Sendable' protocol
15 | case any
16 | case color
/host/spi-builder-workspace/ShapeScript/Parser.swift: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) {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
[2/45] Compiling SVGPath SVGPath+CoreGraphics.swift
[3/45] Emitting module LRUCache
[4/45] Compiling LRUCache LRUCache.swift
[6/45] Compiling Euclid Euclid+SceneKit.swift
[7/45] Compiling Euclid Euclid+UIKit.swift
[8/45] Compiling Euclid Line.swift
[9/45] Compiling Euclid LineSegment+CSG.swift
[10/45] Compiling Euclid LineSegment.swift
[11/49] Emitting module Euclid
[12/49] Emitting module SVGPath
[13/49] Compiling SVGPath SVGPath.swift
[15/49] Compiling Euclid Euclid+AppKit.swift
[16/49] Compiling Euclid Euclid+CoreGraphics.swift
[17/49] Compiling Euclid Euclid+CoreText.swift
[18/49] Compiling Euclid Euclid+RealityKit.swift
[19/49] Compiling Euclid Euclid+SIMD.swift
[20/49] Compiling Euclid Angle.swift
[21/49] Compiling Euclid BSP.swift
[22/49] Compiling Euclid Bounded.swift
[23/49] Compiling Euclid Bounds.swift
[24/49] Compiling Euclid Color.swift
[25/49] Compiling Euclid Mesh+CSG.swift
[26/49] Compiling Euclid Mesh+IO.swift
[27/49] Compiling Euclid Mesh+OBJ.swift
[28/49] Compiling Euclid Mesh+STL.swift
[29/49] Compiling Euclid Transforms.swift
[30/49] Compiling Euclid Utilities.swift
[31/49] Compiling Euclid Vector.swift
[32/49] Compiling Euclid Vertex.swift
[33/49] Compiling Euclid Mesh+Shapes.swift
[34/49] Compiling Euclid Mesh+Texcoords.swift
[35/49] Compiling Euclid Mesh.swift
[36/49] Compiling Euclid Path+Shapes.swift
[37/49] Compiling Euclid Polygon.swift
[38/49] Compiling Euclid Quaternion.swift
[39/49] Compiling Euclid Rotation.swift
[40/49] Compiling Euclid Stretchable.swift
[41/49] Compiling Euclid Path.swift
[42/49] Compiling Euclid PathPoint.swift
[43/49] Compiling Euclid Plane.swift
[44/49] Compiling Euclid Polygon+CSG.swift
[46/73] Emitting module ShapeScript
[47/76] Compiling ShapeScript String+Ordinals.swift
[48/76] Compiling ShapeScript Symbols.swift
[49/76] Compiling ShapeScript Types.swift
[50/76] Compiling ShapeScript Lexer.swift
[51/76] Compiling ShapeScript Material+Brightness.swift
[52/76] Compiling ShapeScript Material+SceneKit.swift
[53/76] Compiling ShapeScript Scene.swift
[54/76] Compiling ShapeScript StandardLibrary.swift
[55/76] Compiling ShapeScript String+Matching.swift
[56/76] Compiling ShapeScript ProgramError.swift
[57/76] Compiling ShapeScript RandomSequence.swift
[58/76] Compiling ShapeScript Scene+SceneKit.swift
[59/76] Compiling ShapeScript Geometry.swift
/host/spi-builder-workspace/ShapeScript/Interpreter.swift:458:43: error: value of type 'NSError' has no member 'underlyingErrors'
456 | #if !os(Linux)
457 | if #available(macOS 11.3, iOS 14.5, tvOS 14.5, *) {
458 | underlyingError = nsError.underlyingErrors.first
| `- error: value of type 'NSError' has no member 'underlyingErrors'
459 | }
460 | #endif
[60/76] Compiling ShapeScript GeometryCache.swift
/host/spi-builder-workspace/ShapeScript/Interpreter.swift:458:43: error: value of type 'NSError' has no member 'underlyingErrors'
456 | #if !os(Linux)
457 | if #available(macOS 11.3, iOS 14.5, tvOS 14.5, *) {
458 | underlyingError = nsError.underlyingErrors.first
| `- error: value of type 'NSError' has no member 'underlyingErrors'
459 | }
460 | #endif
[61/76] Compiling ShapeScript GeometryType.swift
/host/spi-builder-workspace/ShapeScript/Interpreter.swift:458:43: error: value of type 'NSError' has no member 'underlyingErrors'
456 | #if !os(Linux)
457 | if #available(macOS 11.3, iOS 14.5, tvOS 14.5, *) {
458 | underlyingError = nsError.underlyingErrors.first
| `- error: value of type 'NSError' has no member 'underlyingErrors'
459 | }
460 | #endif
[62/76] Compiling ShapeScript Interpreter.swift
/host/spi-builder-workspace/ShapeScript/Interpreter.swift:458:43: error: value of type 'NSError' has no member 'underlyingErrors'
456 | #if !os(Linux)
457 | if #available(macOS 11.3, iOS 14.5, tvOS 14.5, *) {
458 | underlyingError = nsError.underlyingErrors.first
| `- error: value of type 'NSError' has no member 'underlyingErrors'
459 | }
460 | #endif
[63/76] Compiling ShapeScript Value+JSON.swift
[64/76] Compiling ShapeScript Value+Logging.swift
[65/76] Compiling ShapeScript Values.swift
[66/76] Compiling ShapeScript Euclid+Extensions.swift
[67/76] Compiling ShapeScript Euclid+SVGPath.swift
[68/76] Compiling ShapeScript EvaluationContext.swift
[69/76] Compiling ShapeScript EvaluationDelegate.swift
[70/76] Compiling ShapeScript Material.swift
[71/76] Compiling ShapeScript Members.swift
[72/76] Compiling ShapeScript Parser.swift
BUILD FAILURE 6.1 android