Build Information
Successful build of MathParser, reference master (2e067f
), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 14:13:00 UTC.
Swift 6 data race errors: 109
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:325:23: warning: static property 'sum' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
323 | })
324 |
325 | public static let sum = Function(names: ["sum", "∑"], evaluator: { state throws -> Double in
| |- warning: static property 'sum' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sum' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
326 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
327 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:335:23: warning: static property 'product' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
333 | })
334 |
335 | public static let product = Function(names: ["product", "∏"], evaluator: { state throws -> Double in
| |- warning: static property 'product' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'product' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
337 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:345:23: warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
343 | })
344 |
345 | public static let count = Function(name: "count", evaluator: { state throws -> Double in
| |- warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'count' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
346 | return Double(state.arguments.count)
347 | })
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:349:23: warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
347 | })
348 |
349 | public static let min = Function(name: "min", evaluator: { state throws -> Double in
| |- warning: static property 'min' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'min' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
350 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
351 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:360:23: warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
358 | })
359 |
360 | public static let max = Function(name: "max", evaluator: { state throws -> Double in
| |- warning: static property 'max' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'max' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
361 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
362 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:317:23: warning: static property 'average' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
315 | // MARK: - Aggregate functions
316 |
317 | public static let average = Function(names: ["average", "avg", "mean"], evaluator: { state throws -> Double in
| |- warning: static property 'average' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'average' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
318 | guard state.arguments.count > 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
319 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:371:23: warning: static property 'median' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
369 | })
370 |
371 | public static let median = Function(name: "median", evaluator: { state throws -> Double in
| |- warning: static property 'median' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'median' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
372 | guard state.arguments.count >= 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
373 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:389:23: warning: static property 'stddev' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
387 | })
388 |
389 | public static let stddev = Function(name: "stddev", evaluator: { state throws -> Double in
| |- warning: static property 'stddev' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stddev' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
390 | guard state.arguments.count >= 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
391 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:404:23: warning: static property 'ceil' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
402 | })
403 |
404 | public static let ceil = Function(name: "ceil", evaluator: { state throws -> Double in
| |- warning: static property 'ceil' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ceil' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
405 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
406 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:411:23: warning: static property 'floor' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
409 | })
410 |
411 | public static let floor = Function(names: ["floor", "trunc"], evaluator: { state throws -> Double in
| |- warning: static property 'floor' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'floor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
412 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
413 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:420:23: warning: static property 'sin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
418 | // MARK: - Trigonometric functions
419 |
420 | public static let sin = Function(name: "sin", evaluator: { state throws -> Double in
| |- warning: static property 'sin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
421 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
422 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:427:23: warning: static property 'cos' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
425 | })
426 |
427 | public static let cos = Function(name: "cos", evaluator: { state throws -> Double in
| |- warning: static property 'cos' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cos' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
428 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
429 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:434:23: warning: static property 'tan' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
432 | })
433 |
434 | public static let tan = Function(name: "tan", evaluator: { state throws -> Double in
| |- warning: static property 'tan' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
435 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
436 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:441:23: warning: static property 'asin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
439 | })
440 |
441 | public static let asin = Function(names: ["asin", "sin⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'asin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'asin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
442 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
443 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:448:23: warning: static property 'acos' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
446 | })
447 |
448 | public static let acos = Function(names: ["acos", "cos⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'acos' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'acos' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
449 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
450 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:455:23: warning: static property 'atan' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
453 | })
454 |
455 | public static let atan = Function(names: ["atan", "tan⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'atan' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'atan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
456 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
457 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:462:23: warning: static property 'atan2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
460 | })
461 |
462 | public static let atan2 = Function(name: "atan2", evaluator: { state throws -> Double in
| |- warning: static property 'atan2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'atan2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
463 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
464 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:470:23: warning: static property 'csc' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
468 | })
469 |
470 | public static let csc = Function(name: "csc", evaluator: { state throws -> Double in
| |- warning: static property 'csc' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'csc' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
471 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
472 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:479:23: warning: static property 'sec' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
477 | })
478 |
479 | public static let sec = Function(name: "sec", evaluator: { state throws -> Double in
| |- warning: static property 'sec' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sec' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
480 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
481 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:488:23: warning: static property 'cotan' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
486 | })
487 |
488 | public static let cotan = Function(name: "cotan", evaluator: { state throws -> Double in
| |- warning: static property 'cotan' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cotan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
489 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
490 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:497:23: warning: static property 'acsc' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
495 | })
496 |
497 | public static let acsc = Function(names: ["acsc", "csc⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'acsc' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'acsc' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
498 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
499 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:505:23: warning: static property 'asec' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
503 | })
504 |
505 | public static let asec = Function(names: ["asec", "sec⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'asec' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'asec' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
506 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
507 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:513:23: warning: static property 'acotan' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
511 | })
512 |
513 | public static let acotan = Function(names: ["acotan", "cotan⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'acotan' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'acotan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
514 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
515 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:523:23: warning: static property 'sinh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
521 | // MARK: - Hyperbolic trigonometric functions
522 |
523 | public static let sinh = Function(name: "sinh", evaluator: { state throws -> Double in
| |- warning: static property 'sinh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sinh' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
524 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
525 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:530:23: warning: static property 'cosh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
528 | })
529 |
530 | public static let cosh = Function(name: "cosh", evaluator: { state throws -> Double in
| |- warning: static property 'cosh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cosh' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
531 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
532 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:537:23: warning: static property 'tanh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
535 | })
536 |
537 | public static let tanh = Function(name: "tanh", evaluator: { state throws -> Double in
| |- warning: static property 'tanh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tanh' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
538 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
539 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:544:23: warning: static property 'asinh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
542 | })
543 |
544 | public static let asinh = Function(names: ["asinh", "sinh⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'asinh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'asinh' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
545 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
546 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:551:23: warning: static property 'acosh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
549 | })
550 |
551 | public static let acosh = Function(names: ["acosh", "cosh⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'acosh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'acosh' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
552 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
553 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:558:23: warning: static property 'atanh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
556 | })
557 |
558 | public static let atanh = Function(names: ["atanh", "tanh⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'atanh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'atanh' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
559 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
560 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:565:23: warning: static property 'csch' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
563 | })
564 |
565 | public static let csch = Function(name: "csch", evaluator: { state throws -> Double in
| |- warning: static property 'csch' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'csch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
566 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
567 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:574:23: warning: static property 'sech' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
572 | })
573 |
574 | public static let sech = Function(name: "sech", evaluator: { state throws -> Double in
| |- warning: static property 'sech' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sech' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
575 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
576 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:583:23: warning: static property 'cotanh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
581 | })
582 |
583 | public static let cotanh = Function(name: "cotanh", evaluator: { state throws -> Double in
| |- warning: static property 'cotanh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cotanh' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
584 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
585 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:592:23: warning: static property 'acsch' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
590 | })
591 |
592 | public static let acsch = Function(names: ["acsch", "csch⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'acsch' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'acsch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
593 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
594 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:600:23: warning: static property 'asech' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
598 | })
599 |
600 | public static let asech = Function(names: ["asech", "sech⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'asech' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'asech' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
601 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
602 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:608:23: warning: static property 'acotanh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
606 | })
607 |
608 | public static let acotanh = Function(names: ["acotanh", "cotanh⁻¹"], evaluator: { state throws -> Double in
| |- warning: static property 'acotanh' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'acotanh' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
609 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
610 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:618:23: warning: static property 'versin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
616 | // MARK: - Geometric functions
617 |
618 | public static let versin = Function(names: ["versin", "vers", "ver"], evaluator: { state throws -> Double in
| |- warning: static property 'versin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'versin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
619 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
620 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:625:23: warning: static property 'vercosin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
623 | })
624 |
625 | public static let vercosin = Function(names: ["vercosin", "vercos"], evaluator: { state throws -> Double in
| |- warning: static property 'vercosin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'vercosin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
626 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
627 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:632:23: warning: static property 'coversin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
630 | })
631 |
632 | public static let coversin = Function(names: ["coversin", "cvs"], evaluator: { state throws -> Double in
| |- warning: static property 'coversin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'coversin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
633 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
634 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:639:23: warning: static property 'covercosin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
637 | })
638 |
639 | public static let covercosin = Function(name: "covercosin", evaluator: { state throws -> Double in
| |- warning: static property 'covercosin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'covercosin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
640 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
641 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:646:23: warning: static property 'haversin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
644 | })
645 |
646 | public static let haversin = Function(name: "haversin", evaluator: { state throws -> Double in
| |- warning: static property 'haversin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'haversin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
647 | return try versin.evaluator(state) / 2.0
648 | })
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:650:23: warning: static property 'havercosin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
648 | })
649 |
650 | public static let havercosin = Function(name: "havercosin", evaluator: { state throws -> Double in
| |- warning: static property 'havercosin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'havercosin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
651 | return try vercosin.evaluator(state) / 2.0
652 | })
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:654:23: warning: static property 'hacoversin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
652 | })
653 |
654 | public static let hacoversin = Function(name: "hacoversin", evaluator: { state throws -> Double in
| |- warning: static property 'hacoversin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hacoversin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
655 | return try coversin.evaluator(state) / 2.0
656 | })
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:658:23: warning: static property 'hacovercosin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
656 | })
657 |
658 | public static let hacovercosin = Function(name: "hacovercosin", evaluator: { state throws -> Double in
| |- warning: static property 'hacovercosin' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hacovercosin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
659 | return try covercosin.evaluator(state) / 2.0
660 | })
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:662:23: warning: static property 'exsec' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
660 | })
661 |
662 | public static let exsec = Function(name: "exsec", evaluator: { state throws -> Double in
| |- warning: static property 'exsec' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'exsec' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
663 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
664 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:671:23: warning: static property 'excsc' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
669 | })
670 |
671 | public static let excsc = Function(name: "excsc", evaluator: { state throws -> Double in
| |- warning: static property 'excsc' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'excsc' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
672 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
673 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:680:23: warning: static property 'crd' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
678 | })
679 |
680 | public static let crd = Function(names: ["crd", "chord"], evaluator: { state throws -> Double in
| |- warning: static property 'crd' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'crd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
681 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
682 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:688:23: warning: static property 'dtor' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
686 | })
687 |
688 | public static let dtor = Function(name: "dtor", evaluator: { state throws -> Double in
| |- warning: static property 'dtor' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dtor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
689 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
690 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:695:23: warning: static property 'rtod' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
693 | })
694 |
695 | public static let rtod = Function(name: "rtod", evaluator: { state throws -> Double in
| |- warning: static property 'rtod' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rtod' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
696 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
697 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:704:23: warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
702 | // MARK: - Constant functions
703 |
704 | public static let `true` = Function(names: ["true", "yes"], evaluator: { state throws -> Double in
| |- warning: static property 'true' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'true' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
705 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
706 | return 1.0
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:709:23: warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
707 | })
708 |
709 | public static let `false` = Function(names: ["false", "no"], evaluator: { state throws -> Double in
| |- warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'false' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
710 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
711 | return 0.0
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:714:23: warning: static property 'phi' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
712 | })
713 |
714 | public static let phi = Function(names: ["phi", "ϕ"], evaluator: { state throws -> Double in
| |- warning: static property 'phi' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'phi' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
715 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
716 | return 1.6180339887498948
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:719:23: warning: static property 'pi' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
717 | })
718 |
719 | public static let pi = Function(names: ["pi", "π", "tau_2"], evaluator: { state throws -> Double in
| |- warning: static property 'pi' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pi' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
720 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
721 | return Double.pi
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:724:23: warning: static property 'pi_2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
722 | })
723 |
724 | public static let pi_2 = Function(names: ["pi_2", "tau_4"], evaluator: { state throws -> Double in
| |- warning: static property 'pi_2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pi_2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
725 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
726 | return Double.pi / 2
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:729:23: warning: static property 'pi_4' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
727 | })
728 |
729 | public static let pi_4 = Function(names: ["pi_4", "tau_8"], evaluator: { state throws -> Double in
| |- warning: static property 'pi_4' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pi_4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
730 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
731 | return Double.pi / 4
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:734:23: warning: static property 'tau' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
732 | })
733 |
734 | public static let tau = Function(names: ["tau", "τ"], evaluator: { state throws -> Double in
| |- warning: static property 'tau' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tau' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
735 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
736 | return 2 * Double.pi
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:739:23: warning: static property 'sqrt2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
737 | })
738 |
739 | public static let sqrt2 = Function(name: "sqrt2", evaluator: { state throws -> Double in
| |- warning: static property 'sqrt2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sqrt2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
740 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
741 | return 2.squareRoot()
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:744:23: warning: static property 'e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
742 | })
743 |
744 | public static let e = Function(name: "e", evaluator: { state throws -> Double in
| |- warning: static property 'e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'e' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
745 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
746 | return M_E
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:749:23: warning: static property 'log2e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
747 | })
748 |
749 | public static let log2e = Function(name: "log2e", evaluator: { state throws -> Double in
| |- warning: static property 'log2e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'log2e' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
750 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
751 | return M_LOG2E
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:754:23: warning: static property 'log10e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
752 | })
753 |
754 | public static let log10e = Function(name: "log10e", evaluator: { state throws -> Double in
| |- warning: static property 'log10e' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'log10e' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
755 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
756 | return M_LOG10E
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:759:23: warning: static property 'ln2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
757 | })
758 |
759 | public static let ln2 = Function(name: "ln2", evaluator: { state throws -> Double in
| |- warning: static property 'ln2' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ln2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
760 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
761 | return M_LN2
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:764:23: warning: static property 'ln10' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
762 | })
763 |
764 | public static let ln10 = Function(name: "ln10", evaluator: { state throws -> Double in
| |- warning: static property 'ln10' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ln10' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
765 | guard state.arguments.count == 0 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
766 | return M_LN10
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:771:23: warning: static property 'l_and' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
769 | // MARK: - Logical Functions
770 |
771 | public static let l_and = Function(name: "l_and", evaluator: { state throws -> Double in
| |- warning: static property 'l_and' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_and' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
772 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
773 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:779:23: warning: static property 'l_or' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
777 | })
778 |
779 | public static let l_or = Function(name: "l_or", evaluator: { state throws -> Double in
| |- warning: static property 'l_or' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_or' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
780 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
781 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:787:23: warning: static property 'l_not' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
785 | })
786 |
787 | public static let l_not = Function(name: "l_not", evaluator: { state throws -> Double in
| |- warning: static property 'l_not' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_not' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
788 | guard state.arguments.count == 1 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
789 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:794:23: warning: static property 'l_eq' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
792 | })
793 |
794 | public static let l_eq = Function(name: "l_eq", evaluator: { state throws -> Double in
| |- warning: static property 'l_eq' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_eq' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
795 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
796 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:802:23: warning: static property 'l_neq' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
800 | })
801 |
802 | public static let l_neq = Function(name: "l_neq", evaluator: { state throws -> Double in
| |- warning: static property 'l_neq' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_neq' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
803 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
804 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:810:23: warning: static property 'l_lt' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
808 | })
809 |
810 | public static let l_lt = Function(name: "l_lt", evaluator: { state throws -> Double in
| |- warning: static property 'l_lt' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_lt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
811 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
812 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:818:23: warning: static property 'l_gt' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
816 | })
817 |
818 | public static let l_gt = Function(name: "l_gt", evaluator: { state throws -> Double in
| |- warning: static property 'l_gt' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_gt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
819 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
820 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:826:23: warning: static property 'l_ltoe' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
824 | })
825 |
826 | public static let l_ltoe = Function(name: "l_ltoe", evaluator: { state throws -> Double in
| |- warning: static property 'l_ltoe' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_ltoe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
827 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
828 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:834:23: warning: static property 'l_gtoe' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
832 | })
833 |
834 | public static let l_gtoe = Function(name: "l_gtoe", evaluator: { state throws -> Double in
| |- warning: static property 'l_gtoe' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_gtoe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
835 | guard state.arguments.count == 2 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
836 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Functions+Defaults.swift:842:23: warning: static property 'l_if' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
840 | })
841 |
842 | public static let l_if = Function(names: ["l_if", "if"], evaluator: { state throws -> Double in
| |- warning: static property 'l_if' is not concurrency-safe because non-'Sendable' type 'Function' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'l_if' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
843 | guard state.arguments.count == 3 else { throw MathParserError(kind: .invalidArguments, range: state.expressionRange) }
844 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Function.swift:20:15: note: consider making struct 'Function' conform to the 'Sendable' protocol
18 | public typealias FunctionEvaluator = (EvaluationState) throws -> Double
19 |
20 | public struct Function {
| `- note: consider making struct 'Function' conform to the 'Sendable' protocol
21 |
22 | public let names: Set<String>
[20/45] Compiling MathParser Character.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Relation {
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:28:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
26 | }
27 |
28 | public static let none: TokenResolverOptions = []
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:29:23: warning: static property 'allowArgumentlessFunctions' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
27 |
28 | public static let none: TokenResolverOptions = []
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
| |- warning: static property 'allowArgumentlessFunctions' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowArgumentlessFunctions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:30:23: warning: static property 'allowImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
28 | public static let none: TokenResolverOptions = []
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
| |- warning: static property 'allowImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowImplicitMultiplication' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:31:23: warning: static property 'useHighPrecedenceImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
| |- warning: static property 'useHighPrecedenceImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useHighPrecedenceImplicitMultiplication' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:33:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
[21/45] Compiling MathParser Configuration.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Relation {
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:28:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
26 | }
27 |
28 | public static let none: TokenResolverOptions = []
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:29:23: warning: static property 'allowArgumentlessFunctions' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
27 |
28 | public static let none: TokenResolverOptions = []
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
| |- warning: static property 'allowArgumentlessFunctions' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowArgumentlessFunctions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:30:23: warning: static property 'allowImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
28 | public static let none: TokenResolverOptions = []
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
| |- warning: static property 'allowImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowImplicitMultiplication' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:31:23: warning: static property 'useHighPrecedenceImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
| |- warning: static property 'useHighPrecedenceImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useHighPrecedenceImplicitMultiplication' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:33:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
[22/45] Compiling MathParser DecimalNumberExtractor.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Relation {
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:28:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
26 | }
27 |
28 | public static let none: TokenResolverOptions = []
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:29:23: warning: static property 'allowArgumentlessFunctions' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
27 |
28 | public static let none: TokenResolverOptions = []
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
| |- warning: static property 'allowArgumentlessFunctions' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowArgumentlessFunctions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:30:23: warning: static property 'allowImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
28 | public static let none: TokenResolverOptions = []
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
| |- warning: static property 'allowImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowImplicitMultiplication' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:31:23: warning: static property 'useHighPrecedenceImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
| |- warning: static property 'useHighPrecedenceImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useHighPrecedenceImplicitMultiplication' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:33:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
[23/45] Compiling MathParser Deprecations.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Relation {
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:28:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
26 | }
27 |
28 | public static let none: TokenResolverOptions = []
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:29:23: warning: static property 'allowArgumentlessFunctions' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
27 |
28 | public static let none: TokenResolverOptions = []
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
| |- warning: static property 'allowArgumentlessFunctions' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowArgumentlessFunctions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:30:23: warning: static property 'allowImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
28 | public static let none: TokenResolverOptions = []
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
| |- warning: static property 'allowImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowImplicitMultiplication' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:31:23: warning: static property 'useHighPrecedenceImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
| |- warning: static property 'useHighPrecedenceImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useHighPrecedenceImplicitMultiplication' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:33:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
[24/45] Compiling MathParser Double.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/OperatorSet.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public final class OperatorSet {
| `- note: class 'OperatorSet' does not conform to the 'Sendable' protocol
12 | public static let `default` = OperatorSet()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'OperatorSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Relation {
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:28:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
26 | }
27 |
28 | public static let none: TokenResolverOptions = []
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:29:23: warning: static property 'allowArgumentlessFunctions' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
27 |
28 | public static let none: TokenResolverOptions = []
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
| |- warning: static property 'allowArgumentlessFunctions' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowArgumentlessFunctions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:30:23: warning: static property 'allowImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
28 | public static let none: TokenResolverOptions = []
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
| |- warning: static property 'allowImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowImplicitMultiplication' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:31:23: warning: static property 'useHighPrecedenceImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
29 | public static let allowArgumentlessFunctions = TokenResolverOptions(rawValue: 1 << 0)
30 | public static let allowImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 1)
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
| |- warning: static property 'useHighPrecedenceImplicitMultiplication' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useHighPrecedenceImplicitMultiplication' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Deprecations.swift:33:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | @available(*, deprecated, message: "Use Configuration instead.")
21 | public struct TokenResolverOptions: OptionSet {
| `- note: consider making struct 'TokenResolverOptions' conform to the 'Sendable' protocol
22 | public let rawValue: UInt
23 |
:
31 | public static let useHighPrecedenceImplicitMultiplication = TokenResolverOptions(rawValue: 1 << 2)
32 |
33 | public static let `default`: TokenResolverOptions = [.allowArgumentlessFunctions, .allowImplicitMultiplication, .useHighPrecedenceImplicitMultiplication]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TokenResolverOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
[25/45] Compiling MathParser DynamicResolution.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private let functionSet: FunctionSet
25 |
[26/45] Compiling MathParser Either.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private let functionSet: FunctionSet
25 |
[27/45] Compiling MathParser Evaluator.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private let functionSet: FunctionSet
25 |
[28/45] Compiling MathParser ExponentExtractor.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private let functionSet: FunctionSet
25 |
[29/45] Compiling MathParser Expression+Matching.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private let functionSet: FunctionSet
25 |
[30/45] Compiling MathParser Expression.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/ExpressionRewriter.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ExpressionRewriter {
| `- note: consider making struct 'ExpressionRewriter' conform to the 'Sendable' protocol
12 | private let maxIterationCount: UInt
13 | private var rules: Array<RewriteRule>
14 |
15 | public static let `default` = ExpressionRewriter(rules: RewriteRule.defaultRules)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(rules: Array<RewriteRule>, maxIterationCount: UInt = 256) {
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private let functionSet: FunctionSet
25 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
[31/45] Compiling MathParser ExpressionRewriter.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/ExpressionRewriter.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ExpressionRewriter {
| `- note: consider making struct 'ExpressionRewriter' conform to the 'Sendable' protocol
12 | private let maxIterationCount: UInt
13 | private var rules: Array<RewriteRule>
14 |
15 | public static let `default` = ExpressionRewriter(rules: RewriteRule.defaultRules)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(rules: Array<RewriteRule>, maxIterationCount: UInt = 256) {
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private let functionSet: FunctionSet
25 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
[32/45] Compiling MathParser Expressionizer.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/ExpressionRewriter.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ExpressionRewriter {
| `- note: consider making struct 'ExpressionRewriter' conform to the 'Sendable' protocol
12 | private let maxIterationCount: UInt
13 | private var rules: Array<RewriteRule>
14 |
15 | public static let `default` = ExpressionRewriter(rules: RewriteRule.defaultRules)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(rules: Array<RewriteRule>, maxIterationCount: UInt = 256) {
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private let functionSet: FunctionSet
25 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
[33/45] Compiling MathParser FractionNumberExtractor.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/ExpressionRewriter.swift:15:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct ExpressionRewriter {
| `- note: consider making struct 'ExpressionRewriter' conform to the 'Sendable' protocol
12 | private let maxIterationCount: UInt
13 | private var rules: Array<RewriteRule>
14 |
15 | public static let `default` = ExpressionRewriter(rules: RewriteRule.defaultRules)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ExpressionRewriter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public init(rules: Array<RewriteRule>, maxIterationCount: UInt = 256) {
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private let functionSet: FunctionSet
25 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
[34/45] Compiling MathParser RawToken.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
[35/45] Compiling MathParser ResolvedToken.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
[36/45] Compiling MathParser RewriteRule+Defaults.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
[37/45] Compiling MathParser RewriteRule.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule+Defaults.swift:14:23: warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension RewriteRule {
13 |
14 | public static let defaultRules: Array<RewriteRule> = [
| |- warning: static property 'defaultRules' is not concurrency-safe because non-'Sendable' type 'Array<RewriteRule>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRules' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | try! RewriteRule(predicate: "0 + __exp1", template: "__exp1"),
16 | try! RewriteRule(predicate: "__exp1 + 0", template: "__exp1"),
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/RewriteRule.swift:18:15: note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct RewriteRule {
| `- note: consider making struct 'RewriteRule' conform to the 'Sendable' protocol
19 |
20 | public let predicate: Expression
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
[38/45] Compiling MathParser String.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private let functionSet: FunctionSet
25 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
[39/45] Compiling MathParser SubstitutionExtensions.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private let functionSet: FunctionSet
25 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
[40/45] Compiling MathParser TokenCharacterBuffer.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private let functionSet: FunctionSet
25 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
[41/45] Compiling MathParser TokenExtractor.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Evaluator.swift:23:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Evaluator {
| `- note: consider making struct 'Evaluator' conform to the 'Sendable' protocol
17 |
18 | public enum AngleMode {
:
21 | }
22 |
23 | public static let `default` = Evaluator()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Evaluator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | private let functionSet: FunctionSet
25 |
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Configuration.swift:12:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
11 |
12 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public var operatorSet: OperatorSet
[42/45] Compiling MathParser OctalNumberExtractor.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:49:23: warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
47 | extension Operator {
48 |
49 | public static let defaultPowerAssociativity: Associativity = {
| |- warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultPowerAssociativity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | //determine what associativity NSPredicate/NSExpression is using
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator.swift:25:17: note: consider making enum 'Associativity' conform to the 'Sendable' protocol
23 | }
24 |
25 | public enum Associativity {
| `- note: consider making enum 'Associativity' conform to the 'Sendable' protocol
26 | case left
27 | case right
[43/45] Compiling MathParser Operator+Defaults.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:49:23: warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
47 | extension Operator {
48 |
49 | public static let defaultPowerAssociativity: Associativity = {
| |- warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultPowerAssociativity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | //determine what associativity NSPredicate/NSExpression is using
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator.swift:25:17: note: consider making enum 'Associativity' conform to the 'Sendable' protocol
23 | }
24 |
25 | public enum Associativity {
| `- note: consider making enum 'Associativity' conform to the 'Sendable' protocol
26 | case left
27 | case right
[44/45] Compiling MathParser Operator.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:49:23: warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
47 | extension Operator {
48 |
49 | public static let defaultPowerAssociativity: Associativity = {
| |- warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultPowerAssociativity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | //determine what associativity NSPredicate/NSExpression is using
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator.swift:25:17: note: consider making enum 'Associativity' conform to the 'Sendable' protocol
23 | }
24 |
25 | public enum Associativity {
| `- note: consider making enum 'Associativity' conform to the 'Sendable' protocol
26 | case left
27 | case right
[45/45] Compiling MathParser OperatorExtractor.swift
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator+Defaults.swift:49:23: warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
47 | extension Operator {
48 |
49 | public static let defaultPowerAssociativity: Associativity = {
| |- warning: static property 'defaultPowerAssociativity' is not concurrency-safe because non-'Sendable' type 'Operator.Associativity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultPowerAssociativity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | //determine what associativity NSPredicate/NSExpression is using
/Users/admin/builder/spi-builder-workspace/MathParser/Sources/MathParser/Operator.swift:25:17: note: consider making enum 'Associativity' conform to the 'Sendable' protocol
23 | }
24 |
25 | public enum Associativity {
| `- note: consider making enum 'Associativity' conform to the 'Sendable' protocol
26 | case left
27 | case right
Build complete! (18.27s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "MathParser",
"name" : "MathParser",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MathParser",
"targets" : [
"MathParser"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MathParserTests",
"module_type" : "SwiftTarget",
"name" : "MathParserTests",
"path" : "MathParser/Tests/MathParserTests",
"sources" : [
"EvaluatorTests.swift",
"ExpressionTests.swift",
"GithubIssues.swift",
"GroupingTests.swift",
"ResolverTests.swift",
"RewriterTests.swift",
"TestHelpers.swift",
"TokenizerTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"MathParser"
],
"type" : "test"
},
{
"c99name" : "MathParser",
"module_type" : "SwiftTarget",
"name" : "MathParser",
"path" : "MathParser/Sources/MathParser",
"product_memberships" : [
"MathParser"
],
"sources" : [
"Character.swift",
"Configuration.swift",
"DecimalNumberExtractor.swift",
"Deprecations.swift",
"Double.swift",
"DynamicResolution.swift",
"Either.swift",
"Evaluator.swift",
"ExponentExtractor.swift",
"Expression+Matching.swift",
"Expression.swift",
"ExpressionRewriter.swift",
"Expressionizer.swift",
"FractionNumberExtractor.swift",
"Function.swift",
"FunctionSet.swift",
"Functions+Defaults.swift",
"GroupedToken.swift",
"HexNumberExtractor.swift",
"IdentifierExtractor.swift",
"LocalizedNumberExtractor.swift",
"MathParserErrors.swift",
"OctalNumberExtractor.swift",
"Operator+Defaults.swift",
"Operator.swift",
"OperatorExtractor.swift",
"OperatorSet.swift",
"OperatorTokenSet.swift",
"PeekingIterator.swift",
"QuotedVariableExtractor.swift",
"RawToken.swift",
"ResolvedToken.swift",
"RewriteRule+Defaults.swift",
"RewriteRule.swift",
"String.swift",
"SubstitutionExtensions.swift",
"TokenCharacterBuffer.swift",
"TokenExtractor.swift",
"TokenGrouper.swift",
"TokenResolver.swift",
"Tokenizer.swift",
"VariableExtractor.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.