Build Information
Failed to build ShapeScript, reference 1.8.10 (4a8917
), with Swift 6.1 for Android on 31 May 2025 16:52:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
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 |
[66/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 |
[67/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 |
[68/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:83:16: warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
81 | ]
82 |
83 | static let color: Symbols = colors + [
| |- warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
84 | "color": .property(.color, { parameter, context in
85 | 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:91:16: warning: static property 'material' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
89 | ]
90 |
91 | static let material: Symbols = color + [
| |- warning: static property 'material' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
92 | "opacity": .property(.numberOrTexture, { parameter, context in
93 | 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:147:16: warning: static property 'polygons' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
145 | ]
146 |
147 | static let polygons: Symbols = [
| |- warning: static property 'polygons' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
148 | "polygon": .block(.init(.polygon, [:], .point, .list(.polygon))) { context in
149 | 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:157:16: warning: static property 'meshes' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
155 | ]
156 |
157 | static let meshes: Symbols = [
| |- warning: static property 'meshes' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
158 | // primitives
159 | "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:309:16: warning: static property 'paths' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
307 | ]
308 |
309 | static let paths: Symbols = [
| |- warning: static property 'paths' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
310 | "path": .block(.path) { context in
311 | 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:433:16: warning: static property 'points' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
431 | ]
432 |
433 | static let points: Symbols = [
| |- warning: static property 'points' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
434 | "point": .command(.vector) { parameter, context in
435 | 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:442:16: warning: static property 'pathPoints' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
440 | ]
441 |
442 | static let pathPoints: Symbols = _merge(points, [
| |- warning: static property 'pathPoints' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
443 | "curve": .command(.vector) { parameter, context in
444 | 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:451:16: warning: static property 'functions' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
449 | ])
450 |
451 | static let functions: Symbols = [
| |- warning: static property 'functions' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
452 | // Debug
453 | "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:594:16: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
592 | ]
593 |
594 | static let name: Symbols = [
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
595 | "name": .property(.string, { parameter, context in
596 | 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:602:16: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
600 | ]
601 |
602 | static let background: Symbols = [
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
603 | "background": .getter(.colorOrTexture) { context in
604 | .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:608:16: warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
606 | ]
607 |
608 | static let font: Symbols = [
| |- warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
609 | "font": .property(.font, { parameter, context in
610 | 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:616:16: warning: static property 'detail' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
614 | ]
615 |
616 | static let detail: Symbols = [
| |- warning: static property 'detail' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
617 | "detail": .property(.number, { parameter, context in
618 | // 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:625:16: warning: static property 'smoothing' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
623 | ]
624 |
625 | static let smoothing: Symbols = [
| |- warning: static property 'smoothing' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
626 | "smoothing": .property(.halfturns, { parameter, context in
627 | // 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:635:16: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
633 | ]
634 |
635 | static let root: Symbols = _merge(global, font, detail, smoothing, material, childTransform, [
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
636 | "camera": .block(.init(.node, [
637 | "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:673:16: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
671 | ])
672 |
673 | static let global: Symbols = _merge(functions, colors, meshes, paths)
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
674 | static let node: Symbols = _merge(transform, name, background)
675 | 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:674:16: warning: static property 'node' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
672 |
673 | static let global: Symbols = _merge(functions, colors, meshes, paths)
674 | static let node: Symbols = _merge(transform, name, background)
| |- warning: static property 'node' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
675 | static let shape: Symbols = _merge(node, detail, smoothing, material)
676 | 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:675:16: warning: static property 'shape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
673 | static let global: Symbols = _merge(functions, colors, meshes, paths)
674 | static let node: Symbols = _merge(transform, name, background)
675 | static let shape: Symbols = _merge(node, detail, smoothing, material)
| |- warning: static property 'shape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
676 | static let group: Symbols = _merge(shape, childTransform, font)
677 | 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:676:16: warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
674 | static let node: Symbols = _merge(transform, name, background)
675 | static let shape: Symbols = _merge(node, detail, smoothing, material)
676 | static let group: Symbols = _merge(shape, childTransform, font)
| |- warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
677 | static let user: Symbols = _merge(shape, font)
678 | 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:677:16: warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
675 | static let shape: Symbols = _merge(node, detail, smoothing, material)
676 | static let group: Symbols = _merge(shape, childTransform, font)
677 | static let user: Symbols = _merge(shape, font)
| |- warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
678 | static let builder: Symbols = group
679 | 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:678:16: warning: static property 'builder' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
676 | static let group: Symbols = _merge(shape, childTransform, font)
677 | static let user: Symbols = _merge(shape, font)
678 | static let builder: Symbols = group
| |- warning: static property 'builder' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
679 | static let hull: Symbols = _merge(group, points)
680 | 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:679:16: warning: static property 'hull' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
677 | static let user: Symbols = _merge(shape, font)
678 | static let builder: Symbols = group
679 | static let hull: Symbols = _merge(group, points)
| |- warning: static property 'hull' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
680 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
681 | 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:680:16: warning: static property 'polygon' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
678 | static let builder: Symbols = group
679 | static let hull: Symbols = _merge(group, points)
680 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
| |- warning: static property 'polygon' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
681 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
682 | 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:681:16: warning: static property 'mesh' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
679 | static let hull: Symbols = _merge(group, points)
680 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
681 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
| |- warning: static property 'mesh' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
682 | static let pathShape: Symbols = _merge(transform, detail, color, background)
683 | 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:682:16: warning: static property 'pathShape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
680 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
681 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
682 | static let pathShape: Symbols = _merge(transform, detail, color, background)
| |- warning: static property 'pathShape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
684 | 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:683:16: warning: static property 'path' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
681 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
682 | static let pathShape: Symbols = _merge(transform, detail, color, background)
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
| |- warning: static property 'path' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
684 | static let definition: Symbols = _merge(root, pathPoints)
685 | 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:684:16: warning: static property 'definition' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
682 | static let pathShape: Symbols = _merge(transform, detail, color, background)
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
684 | static let definition: Symbols = _merge(root, pathPoints)
| |- warning: static property 'definition' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
685 | static let all: Symbols = _merge(definition, shape, path)
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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:685:16: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
684 | static let definition: Symbols = _merge(root, pathPoints)
685 | static let all: Symbols = _merge(definition, shape, path)
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
686 | }
687 |
/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)
[69/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:83:16: warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
81 | ]
82 |
83 | static let color: Symbols = colors + [
| |- warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
84 | "color": .property(.color, { parameter, context in
85 | 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:91:16: warning: static property 'material' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
89 | ]
90 |
91 | static let material: Symbols = color + [
| |- warning: static property 'material' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
92 | "opacity": .property(.numberOrTexture, { parameter, context in
93 | 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:147:16: warning: static property 'polygons' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
145 | ]
146 |
147 | static let polygons: Symbols = [
| |- warning: static property 'polygons' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
148 | "polygon": .block(.init(.polygon, [:], .point, .list(.polygon))) { context in
149 | 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:157:16: warning: static property 'meshes' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
155 | ]
156 |
157 | static let meshes: Symbols = [
| |- warning: static property 'meshes' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
158 | // primitives
159 | "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:309:16: warning: static property 'paths' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
307 | ]
308 |
309 | static let paths: Symbols = [
| |- warning: static property 'paths' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
310 | "path": .block(.path) { context in
311 | 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:433:16: warning: static property 'points' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
431 | ]
432 |
433 | static let points: Symbols = [
| |- warning: static property 'points' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
434 | "point": .command(.vector) { parameter, context in
435 | 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:442:16: warning: static property 'pathPoints' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
440 | ]
441 |
442 | static let pathPoints: Symbols = _merge(points, [
| |- warning: static property 'pathPoints' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
443 | "curve": .command(.vector) { parameter, context in
444 | 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:451:16: warning: static property 'functions' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
449 | ])
450 |
451 | static let functions: Symbols = [
| |- warning: static property 'functions' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
452 | // Debug
453 | "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:594:16: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
592 | ]
593 |
594 | static let name: Symbols = [
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
595 | "name": .property(.string, { parameter, context in
596 | 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:602:16: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
600 | ]
601 |
602 | static let background: Symbols = [
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
603 | "background": .getter(.colorOrTexture) { context in
604 | .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:608:16: warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
606 | ]
607 |
608 | static let font: Symbols = [
| |- warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
609 | "font": .property(.font, { parameter, context in
610 | 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:616:16: warning: static property 'detail' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
614 | ]
615 |
616 | static let detail: Symbols = [
| |- warning: static property 'detail' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
617 | "detail": .property(.number, { parameter, context in
618 | // 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:625:16: warning: static property 'smoothing' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
623 | ]
624 |
625 | static let smoothing: Symbols = [
| |- warning: static property 'smoothing' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
626 | "smoothing": .property(.halfturns, { parameter, context in
627 | // 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:635:16: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
633 | ]
634 |
635 | static let root: Symbols = _merge(global, font, detail, smoothing, material, childTransform, [
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
636 | "camera": .block(.init(.node, [
637 | "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:673:16: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
671 | ])
672 |
673 | static let global: Symbols = _merge(functions, colors, meshes, paths)
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
674 | static let node: Symbols = _merge(transform, name, background)
675 | 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:674:16: warning: static property 'node' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
672 |
673 | static let global: Symbols = _merge(functions, colors, meshes, paths)
674 | static let node: Symbols = _merge(transform, name, background)
| |- warning: static property 'node' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
675 | static let shape: Symbols = _merge(node, detail, smoothing, material)
676 | 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:675:16: warning: static property 'shape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
673 | static let global: Symbols = _merge(functions, colors, meshes, paths)
674 | static let node: Symbols = _merge(transform, name, background)
675 | static let shape: Symbols = _merge(node, detail, smoothing, material)
| |- warning: static property 'shape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
676 | static let group: Symbols = _merge(shape, childTransform, font)
677 | 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:676:16: warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
674 | static let node: Symbols = _merge(transform, name, background)
675 | static let shape: Symbols = _merge(node, detail, smoothing, material)
676 | static let group: Symbols = _merge(shape, childTransform, font)
| |- warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
677 | static let user: Symbols = _merge(shape, font)
678 | 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:677:16: warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
675 | static let shape: Symbols = _merge(node, detail, smoothing, material)
676 | static let group: Symbols = _merge(shape, childTransform, font)
677 | static let user: Symbols = _merge(shape, font)
| |- warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
678 | static let builder: Symbols = group
679 | 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:678:16: warning: static property 'builder' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
676 | static let group: Symbols = _merge(shape, childTransform, font)
677 | static let user: Symbols = _merge(shape, font)
678 | static let builder: Symbols = group
| |- warning: static property 'builder' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
679 | static let hull: Symbols = _merge(group, points)
680 | 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:679:16: warning: static property 'hull' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
677 | static let user: Symbols = _merge(shape, font)
678 | static let builder: Symbols = group
679 | static let hull: Symbols = _merge(group, points)
| |- warning: static property 'hull' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
680 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
681 | 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:680:16: warning: static property 'polygon' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
678 | static let builder: Symbols = group
679 | static let hull: Symbols = _merge(group, points)
680 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
| |- warning: static property 'polygon' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
681 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
682 | 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:681:16: warning: static property 'mesh' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
679 | static let hull: Symbols = _merge(group, points)
680 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
681 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
| |- warning: static property 'mesh' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
682 | static let pathShape: Symbols = _merge(transform, detail, color, background)
683 | 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:682:16: warning: static property 'pathShape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
680 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
681 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
682 | static let pathShape: Symbols = _merge(transform, detail, color, background)
| |- warning: static property 'pathShape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
684 | 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:683:16: warning: static property 'path' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
681 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
682 | static let pathShape: Symbols = _merge(transform, detail, color, background)
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
| |- warning: static property 'path' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
684 | static let definition: Symbols = _merge(root, pathPoints)
685 | 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:684:16: warning: static property 'definition' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
682 | static let pathShape: Symbols = _merge(transform, detail, color, background)
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
684 | static let definition: Symbols = _merge(root, pathPoints)
| |- warning: static property 'definition' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
685 | static let all: Symbols = _merge(definition, shape, path)
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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:685:16: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
684 | static let definition: Symbols = _merge(root, pathPoints)
685 | static let all: Symbols = _merge(definition, shape, path)
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
686 | }
687 |
/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)
[70/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:83:16: warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
81 | ]
82 |
83 | static let color: Symbols = colors + [
| |- warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
84 | "color": .property(.color, { parameter, context in
85 | 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:91:16: warning: static property 'material' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
89 | ]
90 |
91 | static let material: Symbols = color + [
| |- warning: static property 'material' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
92 | "opacity": .property(.numberOrTexture, { parameter, context in
93 | 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:147:16: warning: static property 'polygons' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
145 | ]
146 |
147 | static let polygons: Symbols = [
| |- warning: static property 'polygons' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
148 | "polygon": .block(.init(.polygon, [:], .point, .list(.polygon))) { context in
149 | 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:157:16: warning: static property 'meshes' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
155 | ]
156 |
157 | static let meshes: Symbols = [
| |- warning: static property 'meshes' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
158 | // primitives
159 | "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:309:16: warning: static property 'paths' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
307 | ]
308 |
309 | static let paths: Symbols = [
| |- warning: static property 'paths' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
310 | "path": .block(.path) { context in
311 | 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:433:16: warning: static property 'points' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
431 | ]
432 |
433 | static let points: Symbols = [
| |- warning: static property 'points' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
434 | "point": .command(.vector) { parameter, context in
435 | 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:442:16: warning: static property 'pathPoints' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
440 | ]
441 |
442 | static let pathPoints: Symbols = _merge(points, [
| |- warning: static property 'pathPoints' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
443 | "curve": .command(.vector) { parameter, context in
444 | 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:451:16: warning: static property 'functions' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
449 | ])
450 |
451 | static let functions: Symbols = [
| |- warning: static property 'functions' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
452 | // Debug
453 | "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:594:16: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
592 | ]
593 |
594 | static let name: Symbols = [
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
595 | "name": .property(.string, { parameter, context in
596 | 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:602:16: warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
600 | ]
601 |
602 | static let background: Symbols = [
| |- warning: static property 'background' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
603 | "background": .getter(.colorOrTexture) { context in
604 | .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:608:16: warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
606 | ]
607 |
608 | static let font: Symbols = [
| |- warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
609 | "font": .property(.font, { parameter, context in
610 | 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:616:16: warning: static property 'detail' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
614 | ]
615 |
616 | static let detail: Symbols = [
| |- warning: static property 'detail' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
617 | "detail": .property(.number, { parameter, context in
618 | // 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:625:16: warning: static property 'smoothing' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
623 | ]
624 |
625 | static let smoothing: Symbols = [
| |- warning: static property 'smoothing' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
626 | "smoothing": .property(.halfturns, { parameter, context in
627 | // 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:635:16: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
633 | ]
634 |
635 | static let root: Symbols = _merge(global, font, detail, smoothing, material, childTransform, [
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
636 | "camera": .block(.init(.node, [
637 | "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:673:16: warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
671 | ])
672 |
673 | static let global: Symbols = _merge(functions, colors, meshes, paths)
| |- warning: static property 'global' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
674 | static let node: Symbols = _merge(transform, name, background)
675 | 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:674:16: warning: static property 'node' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
672 |
673 | static let global: Symbols = _merge(functions, colors, meshes, paths)
674 | static let node: Symbols = _merge(transform, name, background)
| |- warning: static property 'node' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
675 | static let shape: Symbols = _merge(node, detail, smoothing, material)
676 | 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:675:16: warning: static property 'shape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
673 | static let global: Symbols = _merge(functions, colors, meshes, paths)
674 | static let node: Symbols = _merge(transform, name, background)
675 | static let shape: Symbols = _merge(node, detail, smoothing, material)
| |- warning: static property 'shape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
676 | static let group: Symbols = _merge(shape, childTransform, font)
677 | 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:676:16: warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
674 | static let node: Symbols = _merge(transform, name, background)
675 | static let shape: Symbols = _merge(node, detail, smoothing, material)
676 | static let group: Symbols = _merge(shape, childTransform, font)
| |- warning: static property 'group' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
677 | static let user: Symbols = _merge(shape, font)
678 | 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:677:16: warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
675 | static let shape: Symbols = _merge(node, detail, smoothing, material)
676 | static let group: Symbols = _merge(shape, childTransform, font)
677 | static let user: Symbols = _merge(shape, font)
| |- warning: static property 'user' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
678 | static let builder: Symbols = group
679 | 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:678:16: warning: static property 'builder' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
676 | static let group: Symbols = _merge(shape, childTransform, font)
677 | static let user: Symbols = _merge(shape, font)
678 | static let builder: Symbols = group
| |- warning: static property 'builder' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
679 | static let hull: Symbols = _merge(group, points)
680 | 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:679:16: warning: static property 'hull' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
677 | static let user: Symbols = _merge(shape, font)
678 | static let builder: Symbols = group
679 | static let hull: Symbols = _merge(group, points)
| |- warning: static property 'hull' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
680 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
681 | 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:680:16: warning: static property 'polygon' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
678 | static let builder: Symbols = group
679 | static let hull: Symbols = _merge(group, points)
680 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
| |- warning: static property 'polygon' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
681 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
682 | 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:681:16: warning: static property 'mesh' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
679 | static let hull: Symbols = _merge(group, points)
680 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
681 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
| |- warning: static property 'mesh' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
682 | static let pathShape: Symbols = _merge(transform, detail, color, background)
683 | 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:682:16: warning: static property 'pathShape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
680 | static let polygon: Symbols = _merge(transform, childTransform, points, color)
681 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
682 | static let pathShape: Symbols = _merge(transform, detail, color, background)
| |- warning: static property 'pathShape' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
684 | 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:683:16: warning: static property 'path' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
681 | static let mesh: Symbols = _merge(node, smoothing, color, childTransform, polygons)
682 | static let pathShape: Symbols = _merge(transform, detail, color, background)
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
| |- warning: static property 'path' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
684 | static let definition: Symbols = _merge(root, pathPoints)
685 | 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:684:16: warning: static property 'definition' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
682 | static let pathShape: Symbols = _merge(transform, detail, color, background)
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
684 | static let definition: Symbols = _merge(root, pathPoints)
| |- warning: static property 'definition' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
685 | static let all: Symbols = _merge(definition, shape, path)
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)
/host/spi-builder-workspace/ShapeScript/StandardLibrary.swift:685:16: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
683 | static let path: Symbols = _merge(pathShape, childTransform, font, pathPoints)
684 | static let definition: Symbols = _merge(root, pathPoints)
685 | static let all: Symbols = _merge(definition, shape, path)
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Symbols' (aka 'Dictionary<String, Symbol>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
686 | }
687 |
/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)
[71/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 {
[72/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 {
[73/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 {
[74/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) {
[75/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) {
[76/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) {
[77/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
[78/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
[79/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
[80/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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
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] Emitting module SVGPath
[3/45] Emitting module LRUCache
[4/45] Compiling LRUCache LRUCache.swift
[5/46] Compiling Euclid Euclid+AppKit.swift
[6/46] Compiling Euclid Euclid+CoreGraphics.swift
[7/46] Compiling Euclid Euclid+CoreText.swift
[8/46] Compiling Euclid Euclid+RealityKit.swift
[9/46] Compiling Euclid Euclid+SIMD.swift
[11/49] Emitting module Euclid
[12/49] Compiling SVGPath SVGPath.swift
[13/49] Compiling SVGPath SVGPath+CoreGraphics.swift
[15/49] Compiling Euclid Angle.swift
[16/49] Compiling Euclid BSP.swift
[17/49] Compiling Euclid Bounded.swift
[18/49] Compiling Euclid Bounds.swift
[19/49] Compiling Euclid Color.swift
[20/49] Compiling Euclid Path.swift
[21/49] Compiling Euclid PathPoint.swift
[22/49] Compiling Euclid Plane.swift
[23/49] Compiling Euclid Polygon+CSG.swift
[24/49] Compiling Euclid Transforms.swift
[25/49] Compiling Euclid Utilities.swift
[26/49] Compiling Euclid Vector.swift
[27/49] Compiling Euclid Vertex.swift
[28/49] Compiling Euclid Mesh+CSG.swift
[29/49] Compiling Euclid Mesh+IO.swift
[30/49] Compiling Euclid Mesh+OBJ.swift
[31/49] Compiling Euclid Mesh+STL.swift
[32/49] Compiling Euclid Euclid+SceneKit.swift
[33/49] Compiling Euclid Euclid+UIKit.swift
[34/49] Compiling Euclid Line.swift
[35/49] Compiling Euclid LineSegment+CSG.swift
[36/49] Compiling Euclid LineSegment.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 Mesh+Shapes.swift
[42/49] Compiling Euclid Mesh+Texcoords.swift
[43/49] Compiling Euclid Mesh.swift
[44/49] Compiling Euclid Path+Shapes.swift
[46/73] Compiling ShapeScript Lexer.swift
[47/73] Compiling ShapeScript Material+Brightness.swift
[48/73] Compiling ShapeScript Material+SceneKit.swift
[49/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
[50/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
[51/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
[52/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
[53/76] Emitting module ShapeScript
[54/76] Compiling ShapeScript Scene.swift
[55/76] Compiling ShapeScript StandardLibrary.swift
[56/76] Compiling ShapeScript String+Matching.swift
[57/76] Compiling ShapeScript Value+JSON.swift
[58/76] Compiling ShapeScript Value+Logging.swift
[59/76] Compiling ShapeScript Values.swift
[60/76] Compiling ShapeScript Euclid+Extensions.swift
[61/76] Compiling ShapeScript Euclid+SVGPath.swift
[62/76] Compiling ShapeScript EvaluationContext.swift
[63/76] Compiling ShapeScript EvaluationDelegate.swift
[64/76] Compiling ShapeScript ProgramError.swift
[65/76] Compiling ShapeScript RandomSequence.swift
[66/76] Compiling ShapeScript Scene+SceneKit.swift
[67/76] Compiling ShapeScript String+Ordinals.swift
[68/76] Compiling ShapeScript Symbols.swift
[69/76] Compiling ShapeScript Types.swift
[70/76] Compiling ShapeScript Material.swift
[71/76] Compiling ShapeScript Members.swift
[72/76] Compiling ShapeScript Parser.swift
BUILD FAILURE 6.1 android