Build Information
Successful build of SKTiled, reference master (69e520
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 05:39:31 UTC.
Swift 6 data race errors: 82
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
Build Log
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Debug.swift:71:23: warning: static property 'drawObjectBounds' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | */
61 | public struct DebugDrawOptions: OptionSet {
| `- note: consider making struct 'DebugDrawOptions' conform to the 'Sendable' protocol
62 | public let rawValue: Int
63 |
:
69 | static public let drawBounds = DebugDrawOptions(rawValue: 1 << 1) // 2
70 | static public let drawGraph = DebugDrawOptions(rawValue: 1 << 2) // 4
71 | static public let drawObjectBounds = DebugDrawOptions(rawValue: 1 << 3) // 8
| |- warning: static property 'drawObjectBounds' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'drawObjectBounds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | static public let drawTileBounds = DebugDrawOptions(rawValue: 1 << 4) // 16
73 | static public let drawMouseOverObject = DebugDrawOptions(rawValue: 1 << 5) // 32
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Debug.swift:72:23: warning: static property 'drawTileBounds' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | */
61 | public struct DebugDrawOptions: OptionSet {
| `- note: consider making struct 'DebugDrawOptions' conform to the 'Sendable' protocol
62 | public let rawValue: Int
63 |
:
70 | static public let drawGraph = DebugDrawOptions(rawValue: 1 << 2) // 4
71 | static public let drawObjectBounds = DebugDrawOptions(rawValue: 1 << 3) // 8
72 | static public let drawTileBounds = DebugDrawOptions(rawValue: 1 << 4) // 16
| |- warning: static property 'drawTileBounds' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'drawTileBounds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | static public let drawMouseOverObject = DebugDrawOptions(rawValue: 1 << 5) // 32
74 | static public let drawBackground = DebugDrawOptions(rawValue: 1 << 6) // 64
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Debug.swift:73:23: warning: static property 'drawMouseOverObject' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | */
61 | public struct DebugDrawOptions: OptionSet {
| `- note: consider making struct 'DebugDrawOptions' conform to the 'Sendable' protocol
62 | public let rawValue: Int
63 |
:
71 | static public let drawObjectBounds = DebugDrawOptions(rawValue: 1 << 3) // 8
72 | static public let drawTileBounds = DebugDrawOptions(rawValue: 1 << 4) // 16
73 | static public let drawMouseOverObject = DebugDrawOptions(rawValue: 1 << 5) // 32
| |- warning: static property 'drawMouseOverObject' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'drawMouseOverObject' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | static public let drawBackground = DebugDrawOptions(rawValue: 1 << 6) // 64
75 | static public let drawAnchor = DebugDrawOptions(rawValue: 1 << 7) // 128
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Debug.swift:74:23: warning: static property 'drawBackground' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | */
61 | public struct DebugDrawOptions: OptionSet {
| `- note: consider making struct 'DebugDrawOptions' conform to the 'Sendable' protocol
62 | public let rawValue: Int
63 |
:
72 | static public let drawTileBounds = DebugDrawOptions(rawValue: 1 << 4) // 16
73 | static public let drawMouseOverObject = DebugDrawOptions(rawValue: 1 << 5) // 32
74 | static public let drawBackground = DebugDrawOptions(rawValue: 1 << 6) // 64
| |- warning: static property 'drawBackground' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'drawBackground' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | static public let drawAnchor = DebugDrawOptions(rawValue: 1 << 7) // 128
76 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Debug.swift:75:23: warning: static property 'drawAnchor' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | */
61 | public struct DebugDrawOptions: OptionSet {
| `- note: consider making struct 'DebugDrawOptions' conform to the 'Sendable' protocol
62 | public let rawValue: Int
63 |
:
73 | static public let drawMouseOverObject = DebugDrawOptions(rawValue: 1 << 5) // 32
74 | static public let drawBackground = DebugDrawOptions(rawValue: 1 << 6) // 64
75 | static public let drawAnchor = DebugDrawOptions(rawValue: 1 << 7) // 128
| |- warning: static property 'drawAnchor' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'drawAnchor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | static public let all: DebugDrawOptions = [.drawGrid, .drawBounds, .drawGraph, .drawObjectBounds,
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Debug.swift:77:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | */
61 | public struct DebugDrawOptions: OptionSet {
| `- note: consider making struct 'DebugDrawOptions' conform to the 'Sendable' protocol
62 | public let rawValue: Int
63 |
:
75 | static public let drawAnchor = DebugDrawOptions(rawValue: 1 << 7) // 128
76 |
77 | static public let all: DebugDrawOptions = [.drawGrid, .drawBounds, .drawGraph, .drawObjectBounds,
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | .drawObjectBounds, .drawMouseOverObject,
79 | .drawBackground, .drawAnchor]
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:530:1: warning: extension declares a conformance of imported type 'CGPoint' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
528 |
529 |
530 | extension CGPoint: Hashable {
| |- warning: extension declares a conformance of imported type 'CGPoint' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
531 |
532 | public func hash(into hasher: inout Hasher) {
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:2465:23: warning: static property 'noCompression' is not concurrency-safe because non-'Sendable' type 'CompressionLevel' may have shared mutable state; this is an error in the Swift 6 language mode
2458 |
2459 | /// Compression level whose rawValue is based on the zlib's constants.
2460 | public struct CompressionLevel: RawRepresentable {
| `- note: consider making struct 'CompressionLevel' conform to the 'Sendable' protocol
2461 |
2462 | /// Compression level in the range of `0` (no compression) to `9` (maximum compression).
2463 | public let rawValue: Int32
2464 |
2465 | public static let noCompression = CompressionLevel(Z_NO_COMPRESSION)
| |- warning: static property 'noCompression' is not concurrency-safe because non-'Sendable' type 'CompressionLevel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noCompression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2466 | public static let bestSpeed = CompressionLevel(Z_BEST_SPEED)
2467 | public static let bestCompression = CompressionLevel(Z_BEST_COMPRESSION)
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:2466:23: warning: static property 'bestSpeed' is not concurrency-safe because non-'Sendable' type 'CompressionLevel' may have shared mutable state; this is an error in the Swift 6 language mode
2458 |
2459 | /// Compression level whose rawValue is based on the zlib's constants.
2460 | public struct CompressionLevel: RawRepresentable {
| `- note: consider making struct 'CompressionLevel' conform to the 'Sendable' protocol
2461 |
2462 | /// Compression level in the range of `0` (no compression) to `9` (maximum compression).
:
2464 |
2465 | public static let noCompression = CompressionLevel(Z_NO_COMPRESSION)
2466 | public static let bestSpeed = CompressionLevel(Z_BEST_SPEED)
| |- warning: static property 'bestSpeed' is not concurrency-safe because non-'Sendable' type 'CompressionLevel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bestSpeed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2467 | public static let bestCompression = CompressionLevel(Z_BEST_COMPRESSION)
2468 | public static let defaultCompression = CompressionLevel(Z_DEFAULT_COMPRESSION)
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:2467:23: warning: static property 'bestCompression' is not concurrency-safe because non-'Sendable' type 'CompressionLevel' may have shared mutable state; this is an error in the Swift 6 language mode
2458 |
2459 | /// Compression level whose rawValue is based on the zlib's constants.
2460 | public struct CompressionLevel: RawRepresentable {
| `- note: consider making struct 'CompressionLevel' conform to the 'Sendable' protocol
2461 |
2462 | /// Compression level in the range of `0` (no compression) to `9` (maximum compression).
:
2465 | public static let noCompression = CompressionLevel(Z_NO_COMPRESSION)
2466 | public static let bestSpeed = CompressionLevel(Z_BEST_SPEED)
2467 | public static let bestCompression = CompressionLevel(Z_BEST_COMPRESSION)
| |- warning: static property 'bestCompression' is not concurrency-safe because non-'Sendable' type 'CompressionLevel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bestCompression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2468 | public static let defaultCompression = CompressionLevel(Z_DEFAULT_COMPRESSION)
2469 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:2468:23: warning: static property 'defaultCompression' is not concurrency-safe because non-'Sendable' type 'CompressionLevel' may have shared mutable state; this is an error in the Swift 6 language mode
2458 |
2459 | /// Compression level whose rawValue is based on the zlib's constants.
2460 | public struct CompressionLevel: RawRepresentable {
| `- note: consider making struct 'CompressionLevel' conform to the 'Sendable' protocol
2461 |
2462 | /// Compression level in the range of `0` (no compression) to `9` (maximum compression).
:
2466 | public static let bestSpeed = CompressionLevel(Z_BEST_SPEED)
2467 | public static let bestCompression = CompressionLevel(Z_BEST_COMPRESSION)
2468 | public static let defaultCompression = CompressionLevel(Z_DEFAULT_COMPRESSION)
| |- warning: static property 'defaultCompression' is not concurrency-safe because non-'Sendable' type 'CompressionLevel' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultCompression' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2469 |
2470 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:2520:16: warning: stored property 'kind' of 'Sendable'-conforming struct 'GzipError' has non-sendable type 'GzipError.Kind'; this is an error in the Swift 6 language mode
2484 | // cf. http://www.zlib.net/manual.html
2485 |
2486 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
2487 | /// The stream structure was inconsistent.
2488 | ///
:
2518 |
2519 | /// Error kind.
2520 | public let kind: Kind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'GzipError' has non-sendable type 'GzipError.Kind'; this is an error in the Swift 6 language mode
2521 |
2522 | /// Returned message by zlib.
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:168:20: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
166 | var tinfo = [integer_t](repeating: 0, count: Int(task_info_count))
167 |
168 | kr = task_info(mach_task_self_, task_flavor_t(TASK_BASIC_INFO), &tinfo, &task_info_count)
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
169 | if kr != KERN_SUCCESS {
170 | return -1
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:177:27: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
175 | defer {
176 | if let thread_list = thread_list {
177 | vm_deallocate(mach_task_self_, vm_address_t(UnsafePointer(thread_list).pointee), vm_size_t(thread_count))
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
178 | }
179 | }
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:181:23: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
179 | }
180 |
181 | kr = task_threads(mach_task_self_, &thread_list, &thread_count)
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
182 |
183 | if (kr != KERN_SUCCESS) {
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1327:43: warning: main actor-isolated property 'strokeColor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1325 | if let shape = node as? SKShapeNode {
1326 |
1327 | let currentStroke = shape.strokeColor
| `- warning: main actor-isolated property 'strokeColor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1328 | let currentFill = shape.fillColor
1329 |
SpriteKit.SKShapeNode:70:25: note: property declared here
68 | open class func shapeNodeWithSplinePoints(_ points: UnsafeMutablePointer<CGPoint>, count numPoints: Int) -> Self
69 | @MainActor open var path: CGPath? { get set }
70 | @MainActor open var strokeColor: NSColor { get set }
| `- note: property declared here
71 | @MainActor open var fillColor: NSColor { get set }
72 | open var blendMode: SKBlendMode { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1328:41: warning: main actor-isolated property 'fillColor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1326 |
1327 | let currentStroke = shape.strokeColor
1328 | let currentFill = shape.fillColor
| `- warning: main actor-isolated property 'fillColor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1329 |
1330 | // Calculate the changing color during the elapsed time.
SpriteKit.SKShapeNode:71:25: note: property declared here
69 | @MainActor open var path: CGPath? { get set }
70 | @MainActor open var strokeColor: NSColor { get set }
71 | @MainActor open var fillColor: NSColor { get set }
| `- note: property declared here
72 | open var blendMode: SKBlendMode { get set }
73 | @MainActor open var isAntialiased: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1351:23: warning: main actor-isolated property 'strokeColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
1349 | let newFillColor = SKColor(red: fred, green: fgreen, blue: fblue, alpha: falpha)
1350 |
1351 | shape.strokeColor = newStokeColor
| `- warning: main actor-isolated property 'strokeColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
1352 | shape.fillColor = newFillColor
1353 | }
SpriteKit.SKShapeNode:70:25: note: mutation of this property is only permitted within the actor
68 | open class func shapeNodeWithSplinePoints(_ points: UnsafeMutablePointer<CGPoint>, count numPoints: Int) -> Self
69 | @MainActor open var path: CGPath? { get set }
70 | @MainActor open var strokeColor: NSColor { get set }
| `- note: mutation of this property is only permitted within the actor
71 | @MainActor open var fillColor: NSColor { get set }
72 | open var blendMode: SKBlendMode { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1352:23: warning: main actor-isolated property 'fillColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
1350 |
1351 | shape.strokeColor = newStokeColor
1352 | shape.fillColor = newFillColor
| `- warning: main actor-isolated property 'fillColor' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
1353 | }
1354 | }
SpriteKit.SKShapeNode:71:25: note: mutation of this property is only permitted within the actor
69 | @MainActor open var path: CGPath? { get set }
70 | @MainActor open var strokeColor: NSColor { get set }
71 | @MainActor open var fillColor: NSColor { get set }
| `- note: mutation of this property is only permitted within the actor
72 | open var blendMode: SKBlendMode { get set }
73 | @MainActor open var isAntialiased: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1749:22: warning: main actor-isolated property 'size' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1739 | - returns: `CGImage` visual grid texture.
1740 | */
1741 | internal func drawLayerGrid(_ layer: SKTiledLayerObject,
| `- note: add '@MainActor' to make global function 'drawLayerGrid(_:imageScale:lineScale:)' part of global actor 'MainActor'
1742 | imageScale: CGFloat = 8,
1743 | lineScale: CGFloat = 1) -> CGImage? {
:
1747 | let uiScale: CGFloat = TiledGlobals.default.contentScale
1748 |
1749 | let size = layer.size
| `- warning: main actor-isolated property 'size' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1750 | let tileWidth = layer.tileWidth * imageScale
1751 | let tileHeight = layer.tileHeight * imageScale
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:221:16: note: property declared here
219 |
220 | /// Layer size (in tiles).
221 | public var size: CGSize {
| `- note: property declared here
222 | return tilemap.size
223 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1750:27: warning: main actor-isolated property 'tileWidth' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1739 | - returns: `CGImage` visual grid texture.
1740 | */
1741 | internal func drawLayerGrid(_ layer: SKTiledLayerObject,
| `- note: add '@MainActor' to make global function 'drawLayerGrid(_:imageScale:lineScale:)' part of global actor 'MainActor'
1742 | imageScale: CGFloat = 8,
1743 | lineScale: CGFloat = 1) -> CGImage? {
:
1748 |
1749 | let size = layer.size
1750 | let tileWidth = layer.tileWidth * imageScale
| `- warning: main actor-isolated property 'tileWidth' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1751 | let tileHeight = layer.tileHeight * imageScale
1752 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:723:16: note: property declared here
721 | public var width: CGFloat { return tilemap.width }
722 | public var height: CGFloat { return tilemap.height }
723 | public var tileWidth: CGFloat { return tilemap.tileWidth }
| `- note: property declared here
724 | public var tileHeight: CGFloat { return tilemap.tileHeight }
725 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1751:28: warning: main actor-isolated property 'tileHeight' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1739 | - returns: `CGImage` visual grid texture.
1740 | */
1741 | internal func drawLayerGrid(_ layer: SKTiledLayerObject,
| `- note: add '@MainActor' to make global function 'drawLayerGrid(_:imageScale:lineScale:)' part of global actor 'MainActor'
1742 | imageScale: CGFloat = 8,
1743 | lineScale: CGFloat = 1) -> CGImage? {
:
1749 | let size = layer.size
1750 | let tileWidth = layer.tileWidth * imageScale
1751 | let tileHeight = layer.tileHeight * imageScale
| `- warning: main actor-isolated property 'tileHeight' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1752 |
1753 | let tileWidthHalf = tileWidth / 2
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:724:16: note: property declared here
722 | public var height: CGFloat { return tilemap.height }
723 | public var tileWidth: CGFloat { return tilemap.tileWidth }
724 | public var tileHeight: CGFloat { return tilemap.tileHeight }
| `- note: property declared here
725 |
726 | public var sizeHalved: CGSize { return tilemap.sizeHalved }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1757:31: warning: main actor-isolated property 'sizeInPoints' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1739 | - returns: `CGImage` visual grid texture.
1740 | */
1741 | internal func drawLayerGrid(_ layer: SKTiledLayerObject,
| `- note: add '@MainActor' to make global function 'drawLayerGrid(_:imageScale:lineScale:)' part of global actor 'MainActor'
1742 | imageScale: CGFloat = 8,
1743 | lineScale: CGFloat = 1) -> CGImage? {
:
1755 |
1756 | // image size is the rendered size
1757 | let sizeInPoints = (layer.sizeInPoints * imageScale)
| `- warning: main actor-isolated property 'sizeInPoints' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1758 | let defaultLineWidth: CGFloat = (imageScale / uiScale) * lineScale
1759 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:729:16: note: property declared here
727 | public var tileWidthHalf: CGFloat { return tilemap.tileWidthHalf }
728 | public var tileHeightHalf: CGFloat { return tilemap.tileHeightHalf }
729 | public var sizeInPoints: CGSize { return tilemap.sizeInPoints }
| `- note: property declared here
730 |
731 | /// Layer transparency.
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1770:32: warning: main actor-isolated property 'gridColor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1768 | var shapePath: CGPath?
1769 |
1770 | let innerColor = layer.gridColor
| `- warning: main actor-isolated property 'gridColor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1771 | // line width should be at least 1 for larger tile sizes
1772 | let lineWidth: CGFloat = defaultLineWidth
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:203:16: note: property declared here
201 |
202 | /// Grid visualization color.
203 | public var gridColor: SKColor = TiledGlobals.default.debug.gridColor
| `- note: property declared here
204 |
205 | /// Bounding box color.
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1783:44: warning: call to main actor-isolated instance method 'tileToScreenCoords' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1781 | context.setFillColor(SKColor.clear.cgColor)
1782 |
1783 | let screenPosition = layer.tileToScreenCoords(CGPoint(x: col, y: row))
| `- warning: call to main actor-isolated instance method 'tileToScreenCoords' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1784 |
1785 | var xpos: CGFloat = screenPosition.x * imageScale
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:808:19: note: calls to instance method 'tileToScreenCoords' from outside of its actor context are implicitly asynchronous
806 | - returns: `CGPoint` point in screen space.
807 | */
808 | internal func tileToScreenCoords(_ coord: CGPoint) -> CGPoint {
| `- note: calls to instance method 'tileToScreenCoords' from outside of its actor context are implicitly asynchronous
809 | switch orientation {
810 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1788:30: warning: main actor-isolated property 'orientation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1786 | var ypos: CGFloat = screenPosition.y * imageScale
1787 |
1788 | switch layer.orientation {
| `- warning: main actor-isolated property 'orientation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1789 | case .orthogonal:
1790 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:231:18: note: property declared here
229 |
230 | /// Tile map orientation.
231 | internal var orientation: SKTilemap.TilemapOrientation {
| `- note: property declared here
232 | return tilemap.orientation
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1810:50: warning: main actor-isolated property 'staggerX' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1808 |
1809 | case .hexagonal, .staggered:
1810 | let staggerX = layer.tilemap.staggerX
| `- warning: main actor-isolated property 'staggerX' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1811 |
1812 | // mirrored in pointForCoordinate
/Users/admin/builder/spi-builder-workspace/Sources/SKTilemap.swift:2452:16: note: property declared here
2450 |
2451 | // hexagonal/staggered
2452 | public var staggerX: Bool { return (staggeraxis == .x) }
| `- note: property declared here
2453 | public var staggerEven: Bool { return staggerindex == .even }
2454 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1810:42: warning: main actor-isolated property 'tilemap' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1808 |
1809 | case .hexagonal, .staggered:
1810 | let staggerX = layer.tilemap.staggerX
| `- warning: main actor-isolated property 'tilemap' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1811 |
1812 | // mirrored in pointForCoordinate
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:114:16: note: property declared here
112 |
113 | /// Reference to the parent tilemap.
114 | public var tilemap: SKTilemap
| `- note: property declared here
115 |
116 | /// Unique layer id.
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1815:30: warning: main actor-isolated property 'orientation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1813 | xpos += tileWidthHalf
1814 |
1815 | if layer.orientation == .hexagonal {
| `- warning: main actor-isolated property 'orientation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1816 |
1817 | ypos += tileHeightHalf
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:231:18: note: property declared here
229 |
230 | /// Tile map orientation.
231 | internal var orientation: SKTilemap.TilemapOrientation {
| `- note: property declared here
232 | return tilemap.orientation
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1826:62: warning: main actor-isolated property 'sideLengthX' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1824 | // flat - currently not working
1825 | if (staggerX == true) {
1826 | let sizeLengthX = (layer.tilemap.sideLengthX * imageScale)
| `- warning: main actor-isolated property 'sideLengthX' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1827 | r = (tileWidth - sizeLengthX) / 2
1828 | h = tileHeight / 2
/Users/admin/builder/spi-builder-workspace/Sources/SKTilemap.swift:2455:16: note: property declared here
2453 | public var staggerEven: Bool { return staggerindex == .even }
2454 |
2455 | public var sideLengthX: CGFloat { return (staggeraxis == .x) ? CGFloat(hexsidelength) : 0 }
| `- note: property declared here
2456 | public var sideLengthY: CGFloat { return (staggeraxis == .y) ? CGFloat(hexsidelength) : 0 }
2457 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1826:54: warning: main actor-isolated property 'tilemap' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1824 | // flat - currently not working
1825 | if (staggerX == true) {
1826 | let sizeLengthX = (layer.tilemap.sideLengthX * imageScale)
| `- warning: main actor-isolated property 'tilemap' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1827 | r = (tileWidth - sizeLengthX) / 2
1828 | h = tileHeight / 2
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:114:16: note: property declared here
112 |
113 | /// Reference to the parent tilemap.
114 | public var tilemap: SKTilemap
| `- note: property declared here
115 |
116 | /// Unique layer id.
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1840:62: warning: main actor-isolated property 'sideLengthY' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1838 | } else {
1839 | r = tileWidth / 2
1840 | let sizeLengthY = (layer.tilemap.sideLengthY * imageScale)
| `- warning: main actor-isolated property 'sideLengthY' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1841 | h = (tileHeight - sizeLengthY) / 2
1842 | variableSize = tileHeight - (h * 2)
/Users/admin/builder/spi-builder-workspace/Sources/SKTilemap.swift:2456:16: note: property declared here
2454 |
2455 | public var sideLengthX: CGFloat { return (staggeraxis == .x) ? CGFloat(hexsidelength) : 0 }
2456 | public var sideLengthY: CGFloat { return (staggeraxis == .y) ? CGFloat(hexsidelength) : 0 }
| `- note: property declared here
2457 |
2458 | public var sideOffsetX: CGFloat { return (tileWidth - sideLengthX) / 2 }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1840:54: warning: main actor-isolated property 'tilemap' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1838 | } else {
1839 | r = tileWidth / 2
1840 | let sizeLengthY = (layer.tilemap.sideLengthY * imageScale)
| `- warning: main actor-isolated property 'tilemap' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1841 | h = (tileHeight - sizeLengthY) / 2
1842 | variableSize = tileHeight - (h * 2)
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:114:16: note: property declared here
112 |
113 | /// Reference to the parent tilemap.
114 | public var tilemap: SKTilemap
| `- note: property declared here
115 |
116 | /// Unique layer id.
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1854:30: warning: main actor-isolated property 'orientation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1852 | }
1853 |
1854 | if layer.orientation == .staggered {
| `- warning: main actor-isolated property 'orientation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1855 |
1856 | let points: [CGPoint] = [
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:231:18: note: property declared here
229 |
230 | /// Tile map orientation.
231 | internal var orientation: SKTilemap.TilemapOrientation {
| `- note: property declared here
232 | return tilemap.orientation
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1893:22: warning: main actor-isolated property 'size' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1883 | - returns: `CGImage` visual graph texture.
1884 | */
1885 | internal func drawLayerGraph(_ layer: SKTiledLayerObject,
| `- note: add '@MainActor' to make global function 'drawLayerGraph(_:imageScale:lineScale:)' part of global actor 'MainActor'
1886 | imageScale: CGFloat = 8,
1887 | lineScale: CGFloat = 1) -> CGImage? {
:
1891 | let uiScale: CGFloat = TiledGlobals.default.contentScale
1892 |
1893 | let size = layer.size
| `- warning: main actor-isolated property 'size' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1894 | let tileWidth = layer.tileWidth * imageScale
1895 | let tileHeight = layer.tileHeight * imageScale
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:221:16: note: property declared here
219 |
220 | /// Layer size (in tiles).
221 | public var size: CGSize {
| `- note: property declared here
222 | return tilemap.size
223 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1894:27: warning: main actor-isolated property 'tileWidth' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1883 | - returns: `CGImage` visual graph texture.
1884 | */
1885 | internal func drawLayerGraph(_ layer: SKTiledLayerObject,
| `- note: add '@MainActor' to make global function 'drawLayerGraph(_:imageScale:lineScale:)' part of global actor 'MainActor'
1886 | imageScale: CGFloat = 8,
1887 | lineScale: CGFloat = 1) -> CGImage? {
:
1892 |
1893 | let size = layer.size
1894 | let tileWidth = layer.tileWidth * imageScale
| `- warning: main actor-isolated property 'tileWidth' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1895 | let tileHeight = layer.tileHeight * imageScale
1896 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:723:16: note: property declared here
721 | public var width: CGFloat { return tilemap.width }
722 | public var height: CGFloat { return tilemap.height }
723 | public var tileWidth: CGFloat { return tilemap.tileWidth }
| `- note: property declared here
724 | public var tileHeight: CGFloat { return tilemap.tileHeight }
725 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1895:28: warning: main actor-isolated property 'tileHeight' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1883 | - returns: `CGImage` visual graph texture.
1884 | */
1885 | internal func drawLayerGraph(_ layer: SKTiledLayerObject,
| `- note: add '@MainActor' to make global function 'drawLayerGraph(_:imageScale:lineScale:)' part of global actor 'MainActor'
1886 | imageScale: CGFloat = 8,
1887 | lineScale: CGFloat = 1) -> CGImage? {
:
1893 | let size = layer.size
1894 | let tileWidth = layer.tileWidth * imageScale
1895 | let tileHeight = layer.tileHeight * imageScale
| `- warning: main actor-isolated property 'tileHeight' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1896 |
1897 | let tileWidthHalf = tileWidth / 2
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:724:16: note: property declared here
722 | public var height: CGFloat { return tilemap.height }
723 | public var tileWidth: CGFloat { return tilemap.tileWidth }
724 | public var tileHeight: CGFloat { return tilemap.tileHeight }
| `- note: property declared here
725 |
726 | public var sizeHalved: CGSize { return tilemap.sizeHalved }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1900:31: warning: main actor-isolated property 'sizeInPoints' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1883 | - returns: `CGImage` visual graph texture.
1884 | */
1885 | internal func drawLayerGraph(_ layer: SKTiledLayerObject,
| `- note: add '@MainActor' to make global function 'drawLayerGraph(_:imageScale:lineScale:)' part of global actor 'MainActor'
1886 | imageScale: CGFloat = 8,
1887 | lineScale: CGFloat = 1) -> CGImage? {
:
1898 | let tileHeightHalf = tileHeight / 2
1899 |
1900 | let sizeInPoints = (layer.sizeInPoints * imageScale)
| `- warning: main actor-isolated property 'sizeInPoints' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1901 | let defaultLineWidth: CGFloat = (imageScale / uiScale) * lineScale
1902 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:729:16: note: property declared here
727 | public var tileWidthHalf: CGFloat { return tilemap.tileWidthHalf }
728 | public var tileHeightHalf: CGFloat { return tilemap.tileHeightHalf }
729 | public var sizeInPoints: CGSize { return tilemap.sizeInPoints }
| `- note: property declared here
730 |
731 | /// Layer transparency.
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1906:33: warning: main actor-isolated property 'graph' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1904 | return imageOfSize(sizeInPoints, scale: uiScale) { context, bounds, scale in
1905 |
1906 | guard let graph = layer.graph else { return }
| `- warning: main actor-isolated property 'graph' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1907 |
1908 | // line width should be at least 1 for larger tile sizes
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:244:16: note: property declared here
242 |
243 | /// Pathfinding graph.
244 | public var graph: GKGridGraph<GKGridGraphNode>!
| `- note: property declared here
245 |
246 | // debug visualizations
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1940:48: warning: call to main actor-isolated instance method 'tileToScreenCoords' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1938 |
1939 |
1940 | let screenPosition = layer.tileToScreenCoords(CGPoint(x: col, y: row))
| `- warning: call to main actor-isolated instance method 'tileToScreenCoords' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1941 |
1942 | var xpos: CGFloat = screenPosition.x * imageScale
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:808:19: note: calls to instance method 'tileToScreenCoords' from outside of its actor context are implicitly asynchronous
806 | - returns: `CGPoint` point in screen space.
807 | */
808 | internal func tileToScreenCoords(_ coord: CGPoint) -> CGPoint {
| `- note: calls to instance method 'tileToScreenCoords' from outside of its actor context are implicitly asynchronous
809 | switch orientation {
810 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1949:34: warning: main actor-isolated property 'orientation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1947 | var points: [CGPoint] = []
1948 |
1949 | switch layer.orientation {
| `- warning: main actor-isolated property 'orientation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1950 | case .orthogonal:
1951 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:231:18: note: property declared here
229 |
230 | /// Tile map orientation.
231 | internal var orientation: SKTilemap.TilemapOrientation {
| `- note: property declared here
232 | return tilemap.orientation
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1967:54: warning: main actor-isolated property 'staggerX' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1965 |
1966 | case .hexagonal, .staggered:
1967 | let staggerX = layer.tilemap.staggerX
| `- warning: main actor-isolated property 'staggerX' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1968 |
1969 | xpos += tileWidthHalf
/Users/admin/builder/spi-builder-workspace/Sources/SKTilemap.swift:2452:16: note: property declared here
2450 |
2451 | // hexagonal/staggered
2452 | public var staggerX: Bool { return (staggeraxis == .x) }
| `- note: property declared here
2453 | public var staggerEven: Bool { return staggerindex == .even }
2454 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1967:46: warning: main actor-isolated property 'tilemap' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1965 |
1966 | case .hexagonal, .staggered:
1967 | let staggerX = layer.tilemap.staggerX
| `- warning: main actor-isolated property 'tilemap' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1968 |
1969 | xpos += tileWidthHalf
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:114:16: note: property declared here
112 |
113 | /// Reference to the parent tilemap.
114 | public var tilemap: SKTilemap
| `- note: property declared here
115 |
116 | /// Unique layer id.
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1971:34: warning: main actor-isolated property 'orientation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1969 | xpos += tileWidthHalf
1970 |
1971 | if layer.orientation == .hexagonal {
| `- warning: main actor-isolated property 'orientation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1972 |
1973 | ypos += tileHeightHalf
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:231:18: note: property declared here
229 |
230 | /// Tile map orientation.
231 | internal var orientation: SKTilemap.TilemapOrientation {
| `- note: property declared here
232 | return tilemap.orientation
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1982:66: warning: main actor-isolated property 'sideLengthX' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1980 | // flat - currently not working
1981 | if (staggerX == true) {
1982 | let sizeLengthX = (layer.tilemap.sideLengthX * imageScale)
| `- warning: main actor-isolated property 'sideLengthX' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1983 | r = (tileWidth - sizeLengthX) / 2
1984 | h = tileHeight / 2
/Users/admin/builder/spi-builder-workspace/Sources/SKTilemap.swift:2455:16: note: property declared here
2453 | public var staggerEven: Bool { return staggerindex == .even }
2454 |
2455 | public var sideLengthX: CGFloat { return (staggeraxis == .x) ? CGFloat(hexsidelength) : 0 }
| `- note: property declared here
2456 | public var sideLengthY: CGFloat { return (staggeraxis == .y) ? CGFloat(hexsidelength) : 0 }
2457 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1982:58: warning: main actor-isolated property 'tilemap' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1980 | // flat - currently not working
1981 | if (staggerX == true) {
1982 | let sizeLengthX = (layer.tilemap.sideLengthX * imageScale)
| `- warning: main actor-isolated property 'tilemap' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1983 | r = (tileWidth - sizeLengthX) / 2
1984 | h = tileHeight / 2
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:114:16: note: property declared here
112 |
113 | /// Reference to the parent tilemap.
114 | public var tilemap: SKTilemap
| `- note: property declared here
115 |
116 | /// Unique layer id.
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1996:66: warning: main actor-isolated property 'sideLengthY' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1994 | } else {
1995 | r = tileWidth / 2
1996 | let sizeLengthY = (layer.tilemap.sideLengthY * imageScale)
| `- warning: main actor-isolated property 'sideLengthY' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1997 | h = (tileHeight - sizeLengthY) / 2
1998 | variableSize = tileHeight - (h * 2)
/Users/admin/builder/spi-builder-workspace/Sources/SKTilemap.swift:2456:16: note: property declared here
2454 |
2455 | public var sideLengthX: CGFloat { return (staggeraxis == .x) ? CGFloat(hexsidelength) : 0 }
2456 | public var sideLengthY: CGFloat { return (staggeraxis == .y) ? CGFloat(hexsidelength) : 0 }
| `- note: property declared here
2457 |
2458 | public var sideOffsetX: CGFloat { return (tileWidth - sideLengthX) / 2 }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:1996:58: warning: main actor-isolated property 'tilemap' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1994 | } else {
1995 | r = tileWidth / 2
1996 | let sizeLengthY = (layer.tilemap.sideLengthY * imageScale)
| `- warning: main actor-isolated property 'tilemap' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1997 | h = (tileHeight - sizeLengthY) / 2
1998 | variableSize = tileHeight - (h * 2)
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:114:16: note: property declared here
112 |
113 | /// Reference to the parent tilemap.
114 | public var tilemap: SKTilemap
| `- note: property declared here
115 |
116 | /// Unique layer id.
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:2010:34: warning: main actor-isolated property 'orientation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
2008 | }
2009 |
2010 | if layer.orientation == .staggered {
| `- warning: main actor-isolated property 'orientation' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
2011 |
2012 | points = [
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:231:18: note: property declared here
229 |
230 | /// Tile map orientation.
231 | internal var orientation: SKTilemap.TilemapOrientation {
| `- note: property declared here
232 | return tilemap.orientation
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/Logging.swift:80:25: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Simple logging class.
65 | internal class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
66 |
67 | public enum DateFormat {
:
78 |
79 | /// Default singleton instance.
80 | internal static let `default` = Logger()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' 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
81 |
82 | /// Default logging level.
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:2093:36: warning: call to main actor-isolated instance method 'removeFromParent()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
2081 |
2082 |
2083 | internal func drawAnchor(_ node: SKNode,
| `- note: add '@MainActor' to make global function 'drawAnchor(_:withKey:withLabel:labelSize:labelOffsetX:labelOffsetY:radius:anchorColor:zoomScale:)' part of global actor 'MainActor'
2084 | withKey key: String = "ANCHOR",
2085 | withLabel: String? = nil,
:
2091 | zoomScale: CGFloat = 0) -> AnchorNode {
2092 |
2093 | node.childNode(withName: key)?.removeFromParent()
| `- warning: call to main actor-isolated instance method 'removeFromParent()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
2094 | let anchor = AnchorNode(radius: radius, color: anchorColor, label: withLabel, offsetX: labelOffsetX, offsetY: labelOffsetY, zoom: zoomScale)
2095 | anchor.labelSize = labelSize
SpriteKit.SKNode:63:26: note: calls to instance method 'removeFromParent()' from outside of its actor context are implicitly asynchronous
61 | open func removeChildrenInArray(_ nodes: [SKNode])
62 | open func removeAllChildren()
63 | @MainActor open func removeFromParent()
| `- note: calls to instance method 'removeFromParent()' from outside of its actor context are implicitly asynchronous
64 | @available(macOS 10.11, *)
65 | open func move(toParent parent: SKNode)
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:2093:10: warning: call to main actor-isolated instance method 'childNode(withName:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
2081 |
2082 |
2083 | internal func drawAnchor(_ node: SKNode,
| `- note: add '@MainActor' to make global function 'drawAnchor(_:withKey:withLabel:labelSize:labelOffsetX:labelOffsetY:radius:anchorColor:zoomScale:)' part of global actor 'MainActor'
2084 | withKey key: String = "ANCHOR",
2085 | withLabel: String? = nil,
:
2091 | zoomScale: CGFloat = 0) -> AnchorNode {
2092 |
2093 | node.childNode(withName: key)?.removeFromParent()
| `- warning: call to main actor-isolated instance method 'childNode(withName:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
2094 | let anchor = AnchorNode(radius: radius, color: anchorColor, label: withLabel, offsetX: labelOffsetX, offsetY: labelOffsetY, zoom: zoomScale)
2095 | anchor.labelSize = labelSize
SpriteKit.SKNode:69:26: note: calls to instance method 'childNode(withName:)' from outside of its actor context are implicitly asynchronous
67 | @available(swift, obsoleted: 3, renamed: "move(toParent:)")
68 | open func moveToParent(_ parent: SKNode)
69 | @MainActor open func childNode(withName name: String) -> SKNode?
| `- note: calls to instance method 'childNode(withName:)' from outside of its actor context are implicitly asynchronous
70 | @available(swift, obsoleted: 3, renamed: "childNode(withName:)")
71 | open func childNodeWithName(_ name: String) -> SKNode?
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:2094:18: warning: call to main actor-isolated initializer 'init(radius:color:label:offsetX:offsetY:zoom:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
2081 |
2082 |
2083 | internal func drawAnchor(_ node: SKNode,
| `- note: add '@MainActor' to make global function 'drawAnchor(_:withKey:withLabel:labelSize:labelOffsetX:labelOffsetY:radius:anchorColor:zoomScale:)' part of global actor 'MainActor'
2084 | withKey key: String = "ANCHOR",
2085 | withLabel: String? = nil,
:
2092 |
2093 | node.childNode(withName: key)?.removeFromParent()
2094 | let anchor = AnchorNode(radius: radius, color: anchorColor, label: withLabel, offsetX: labelOffsetX, offsetY: labelOffsetY, zoom: zoomScale)
| `- warning: call to main actor-isolated initializer 'init(radius:color:label:offsetX:offsetY:zoom:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
2095 | anchor.labelSize = labelSize
2096 | node.addChild(anchor)
/Users/admin/builder/spi-builder-workspace/Sources/AnchorNode.swift:57:5: note: calls to initializer 'init(radius:color:label:offsetX:offsetY:zoom:)' from outside of its actor context are implicitly asynchronous
55 | }
56 |
57 | init(radius: CGFloat, color shapeColor: SKColor, label text: String? = nil, offsetX: CGFloat = 0, offsetY: CGFloat = 0, zoom: CGFloat = 1) {
| `- note: calls to initializer 'init(radius:color:label:offsetX:offsetY:zoom:)' from outside of its actor context are implicitly asynchronous
58 | self.radius = radius
59 | self.color = shapeColor
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:2095:12: warning: main actor-isolated property 'labelSize' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
2081 |
2082 |
2083 | internal func drawAnchor(_ node: SKNode,
| `- note: add '@MainActor' to make global function 'drawAnchor(_:withKey:withLabel:labelSize:labelOffsetX:labelOffsetY:radius:anchorColor:zoomScale:)' part of global actor 'MainActor'
2084 | withKey key: String = "ANCHOR",
2085 | withLabel: String? = nil,
:
2093 | node.childNode(withName: key)?.removeFromParent()
2094 | let anchor = AnchorNode(radius: radius, color: anchorColor, label: withLabel, offsetX: labelOffsetX, offsetY: labelOffsetY, zoom: zoomScale)
2095 | anchor.labelSize = labelSize
| `- warning: main actor-isolated property 'labelSize' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
2096 | node.addChild(anchor)
2097 | anchor.position = CGPoint(x: 0, y: 0)
/Users/admin/builder/spi-builder-workspace/Sources/AnchorNode.swift:37:9: note: mutation of this property is only permitted within the actor
35 | var color: SKColor = SKColor.clear
36 | var labelText = "Anchor"
37 | var labelSize: CGFloat = 18.0
| `- note: mutation of this property is only permitted within the actor
38 | var renderQuality: CGFloat = TiledGlobals.default.renderQuality.default
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:2096:10: warning: call to main actor-isolated instance method 'addChild' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
2081 |
2082 |
2083 | internal func drawAnchor(_ node: SKNode,
| `- note: add '@MainActor' to make global function 'drawAnchor(_:withKey:withLabel:labelSize:labelOffsetX:labelOffsetY:radius:anchorColor:zoomScale:)' part of global actor 'MainActor'
2084 | withKey key: String = "ANCHOR",
2085 | withLabel: String? = nil,
:
2094 | let anchor = AnchorNode(radius: radius, color: anchorColor, label: withLabel, offsetX: labelOffsetX, offsetY: labelOffsetY, zoom: zoomScale)
2095 | anchor.labelSize = labelSize
2096 | node.addChild(anchor)
| `- warning: call to main actor-isolated instance method 'addChild' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
2097 | anchor.position = CGPoint(x: 0, y: 0)
2098 | anchor.zPosition = node.zPosition * 10
SpriteKit.SKNode:55:26: note: calls to instance method 'addChild' from outside of its actor context are implicitly asynchronous
53 | open func setValue(_ value: SKAttributeValue, forAttributeNamed key: String)
54 | @MainActor open func setScale(_ scale: CGFloat)
55 | @MainActor open func addChild(_ node: SKNode)
| `- note: calls to instance method 'addChild' from outside of its actor context are implicitly asynchronous
56 | open func insertChild(_ node: SKNode, at index: Int)
57 | @available(swift, obsoleted: 3, renamed: "insertChild(_:at:)")
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:2097:12: warning: main actor-isolated property 'position' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
2081 |
2082 |
2083 | internal func drawAnchor(_ node: SKNode,
| `- note: add '@MainActor' to make global function 'drawAnchor(_:withKey:withLabel:labelSize:labelOffsetX:labelOffsetY:radius:anchorColor:zoomScale:)' part of global actor 'MainActor'
2084 | withKey key: String = "ANCHOR",
2085 | withLabel: String? = nil,
:
2095 | anchor.labelSize = labelSize
2096 | node.addChild(anchor)
2097 | anchor.position = CGPoint(x: 0, y: 0)
| `- warning: main actor-isolated property 'position' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
2098 | anchor.zPosition = node.zPosition * 10
2099 | return anchor
SpriteKit.SKNode:16:25: note: mutation of this property is only permitted within the actor
14 | open var frame: CGRect { get }
15 | open func calculateAccumulatedFrame() -> CGRect
16 | @MainActor open var position: CGPoint { get set }
| `- note: mutation of this property is only permitted within the actor
17 | @MainActor open var zPosition: CGFloat { get set }
18 | @MainActor open var zRotation: CGFloat { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:2098:12: warning: main actor-isolated property 'zPosition' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
2081 |
2082 |
2083 | internal func drawAnchor(_ node: SKNode,
| `- note: add '@MainActor' to make global function 'drawAnchor(_:withKey:withLabel:labelSize:labelOffsetX:labelOffsetY:radius:anchorColor:zoomScale:)' part of global actor 'MainActor'
2084 | withKey key: String = "ANCHOR",
2085 | withLabel: String? = nil,
:
2096 | node.addChild(anchor)
2097 | anchor.position = CGPoint(x: 0, y: 0)
2098 | anchor.zPosition = node.zPosition * 10
| `- warning: main actor-isolated property 'zPosition' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
2099 | return anchor
2100 | }
SpriteKit.SKNode:17:25: note: mutation of this property is only permitted within the actor
15 | open func calculateAccumulatedFrame() -> CGRect
16 | @MainActor open var position: CGPoint { get set }
17 | @MainActor open var zPosition: CGFloat { get set }
| `- note: mutation of this property is only permitted within the actor
18 | @MainActor open var zRotation: CGFloat { get set }
19 | @MainActor open var xScale: CGFloat { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:2098:29: warning: main actor-isolated property 'zPosition' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
2081 |
2082 |
2083 | internal func drawAnchor(_ node: SKNode,
| `- note: add '@MainActor' to make global function 'drawAnchor(_:withKey:withLabel:labelSize:labelOffsetX:labelOffsetY:radius:anchorColor:zoomScale:)' part of global actor 'MainActor'
2084 | withKey key: String = "ANCHOR",
2085 | withLabel: String? = nil,
:
2096 | node.addChild(anchor)
2097 | anchor.position = CGPoint(x: 0, y: 0)
2098 | anchor.zPosition = node.zPosition * 10
| `- warning: main actor-isolated property 'zPosition' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
2099 | return anchor
2100 | }
SpriteKit.SKNode:17:25: note: property declared here
15 | open func calculateAccumulatedFrame() -> CGRect
16 | @MainActor open var position: CGPoint { get set }
17 | @MainActor open var zPosition: CGFloat { get set }
| `- note: property declared here
18 | @MainActor open var zRotation: CGFloat { get set }
19 | @MainActor open var xScale: CGFloat { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:2376:10: warning: main actor-isolated property 'position' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
2373 | - parameter scale: `CGFloat` device scale.
2374 | */
2375 | public func clampNodePosition(node: SKNode, scale: CGFloat) {
| `- note: add '@MainActor' to make global function 'clampNodePosition(node:scale:)' part of global actor 'MainActor'
2376 | node.position = clampedPosition(point: node.position, scale: scale)
| `- warning: main actor-isolated property 'position' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
2377 | if let parentNode = node.parent {
2378 | // check that the parent is not the scene
SpriteKit.SKNode:16:25: note: mutation of this property is only permitted within the actor
14 | open var frame: CGRect { get }
15 | open func calculateAccumulatedFrame() -> CGRect
16 | @MainActor open var position: CGPoint { get set }
| `- note: mutation of this property is only permitted within the actor
17 | @MainActor open var zPosition: CGFloat { get set }
18 | @MainActor open var zRotation: CGFloat { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:2376:49: warning: main actor-isolated property 'position' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
2373 | - parameter scale: `CGFloat` device scale.
2374 | */
2375 | public func clampNodePosition(node: SKNode, scale: CGFloat) {
| `- note: add '@MainActor' to make global function 'clampNodePosition(node:scale:)' part of global actor 'MainActor'
2376 | node.position = clampedPosition(point: node.position, scale: scale)
| `- warning: main actor-isolated property 'position' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
2377 | if let parentNode = node.parent {
2378 | // check that the parent is not the scene
SpriteKit.SKNode:16:25: note: property declared here
14 | open var frame: CGRect { get }
15 | open func calculateAccumulatedFrame() -> CGRect
16 | @MainActor open var position: CGPoint { get set }
| `- note: property declared here
17 | @MainActor open var zPosition: CGFloat { get set }
18 | @MainActor open var zRotation: CGFloat { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:2377:30: warning: main actor-isolated property 'parent' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
2373 | - parameter scale: `CGFloat` device scale.
2374 | */
2375 | public func clampNodePosition(node: SKNode, scale: CGFloat) {
| `- note: add '@MainActor' to make global function 'clampNodePosition(node:scale:)' part of global actor 'MainActor'
2376 | node.position = clampedPosition(point: node.position, scale: scale)
2377 | if let parentNode = node.parent {
| `- warning: main actor-isolated property 'parent' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
2378 | // check that the parent is not the scene
2379 | if parentNode != node.scene {
SpriteKit.SKNode:34:14: note: property declared here
32 | @available(macOS, unavailable)
33 | open var focusBehavior: SKNodeFocusBehavior { get set }
34 | open var parent: SKNode? { get }
| `- note: property declared here
35 | open var children: [SKNode] { get }
36 | @MainActor open var name: String? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Extensions.swift:2379:31: warning: main actor-isolated property 'scene' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
2373 | - parameter scale: `CGFloat` device scale.
2374 | */
2375 | public func clampNodePosition(node: SKNode, scale: CGFloat) {
| `- note: add '@MainActor' to make global function 'clampNodePosition(node:scale:)' part of global actor 'MainActor'
2376 | node.position = clampedPosition(point: node.position, scale: scale)
2377 | if let parentNode = node.parent {
2378 | // check that the parent is not the scene
2379 | if parentNode != node.scene {
| `- warning: main actor-isolated property 'scene' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
2380 | clampNodePosition(node: parentNode, scale: scale)
2381 | }
SpriteKit.SKNode:37:14: note: property declared here
35 | open var children: [SKNode] { get }
36 | @MainActor open var name: String? { get set }
37 | open var scene: SKScene? { get }
| `- note: property declared here
38 | @MainActor open var physicsBody: SKPhysicsBody? { get set }
39 | open var userData: NSMutableDictionary? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+GameplayKit.swift:302:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
300 | - returns: `GKGridGraphNode.Type` dictionary insertion was successfull.
301 | */
302 | open func objectForGraphType(named: String?) -> GKGridGraphNode.Type { return SKTiledGraphNode.self }
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
303 |
304 | /**
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+GameplayKit.swift:312:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
310 | - returns: `Bool` dictionary insertion was successfull.
311 | */
312 | open func addGraph(named: String, graph: GKGridGraph<GKGridGraphNode>) -> Bool {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
313 | if (graphs[named] != nil) {
314 | return false
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+GameplayKit.swift:328:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
326 | - returns: `GKGridGraph?` removed graph instance.
327 | */
328 | open func removeGraph(named: String) -> GKGridGraph<GKGridGraphNode>? {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
329 | log("removing graph \"\(named)\" to scene.", level: .debug)
330 | return graphs.removeValue(forKey: named)
[30/37] Compiling SKTiled AnchorNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/TiledGlobals.swift:89:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TiledGlobals' may have shared mutable state; this is an error in the Swift 6 language mode
84 | ```
85 | */
86 | public class TiledGlobals {
| `- note: class 'TiledGlobals' does not conform to the 'Sendable' protocol
87 |
88 | /// Default singleton instance.
89 | static public let `default` = TiledGlobals()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TiledGlobals' 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
90 |
91 | /// Current SpriteKit renderer.
/Users/admin/builder/spi-builder-workspace/Sources/AnchorNode.swift:43:9: warning: main actor-isolated property 'receiveCameraUpdates' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
41 | var labelOffsetY: CGFloat = 0
42 |
43 | var receiveCameraUpdates: Bool = true
| `- warning: main actor-isolated property 'receiveCameraUpdates' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
44 |
45 | private var shapeKey = "ANCHOR_SHAPE"
:
119 |
120 |
121 | extension AnchorNode: SKTiledSceneCameraDelegate {
| `- note: add '@preconcurrency' to the 'SKTiledSceneCameraDelegate' conformance to defer isolation checking to run time
122 |
123 | func cameraZoomChanged(newZoom: CGFloat) {
/Users/admin/builder/spi-builder-workspace/Sources/TiledSceneCameraDelegate.swift:69:15: note: 'receiveCameraUpdates' declared here
67 | Allow delegate to receive updates from camera.
68 | */
69 | @objc var receiveCameraUpdates: Bool { get set }
| `- note: 'receiveCameraUpdates' declared here
70 |
71 | /**
/Users/admin/builder/spi-builder-workspace/Sources/AnchorNode.swift:123:10: warning: main actor-isolated instance method 'cameraZoomChanged(newZoom:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
121 | extension AnchorNode: SKTiledSceneCameraDelegate {
122 |
123 | func cameraZoomChanged(newZoom: CGFloat) {
| |- warning: main actor-isolated instance method 'cameraZoomChanged(newZoom:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'cameraZoomChanged(newZoom:)' to make this instance method not isolated to the actor
124 | if (newZoom != sceneScale) {
125 | sceneScale = newZoom
/Users/admin/builder/spi-builder-workspace/Sources/TiledSceneCameraDelegate.swift:90:25: note: mark the protocol requirement 'cameraZoomChanged(newZoom:)' 'async' to allow actor-isolated conformances
88 | - parameter newZoom: `CGFloat` camera zoom amount.
89 | */
90 | @objc optional func cameraZoomChanged(newZoom: CGFloat)
| `- note: mark the protocol requirement 'cameraZoomChanged(newZoom:)' 'async' to allow actor-isolated conformances
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Array2D.swift:66:19: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 |
30 | // Two-dimensional array structure.
31 | struct Array2D<T> {
| `- note: 'T' previously declared here
32 |
33 | /// Vertical count.
:
64 | }
65 |
66 | func contains<T : Equatable>(_ obj: T) -> Bool {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
67 | let filtered = self.items.filter {$0 as? T == obj}
68 | return filtered.isEmpty == false
/Users/admin/builder/spi-builder-workspace/Sources/Array2D.swift:128:40: warning: main actor-isolated property 'tileData' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
126 | if let tile = value as? SKTile {
127 |
128 | let gid = tile.tileData.globalID // was `id`
| `- warning: main actor-isolated property 'tileData' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
129 | let gidString = "\(gid)".zfill(length: colSize, pattern: " ", padLeft: false)
130 | rowResult += "\(gidString)\(comma)"
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:95:14: note: property declared here
93 |
94 | /// Tileset tile data.
95 | open var tileData: SKTilesetData
| `- note: property declared here
96 |
97 | /// Weak reference to the parent layer.
/Users/admin/builder/spi-builder-workspace/Sources/Logging.swift:80:25: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Simple logging class.
65 | internal class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
66 |
67 | public enum DateFormat {
:
78 |
79 | /// Default singleton instance.
80 | internal static let `default` = Logger()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' 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
81 |
82 | /// Default logging level.
/Users/admin/builder/spi-builder-workspace/Sources/Logging.swift:237:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LoggingLevel]' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// :nodoc: Logging level.
50 | public enum LoggingLevel: Int {
| `- note: consider making enum 'LoggingLevel' conform to the 'Sendable' protocol
51 | case none
52 | case fatal
:
235 |
236 | /// Array of all options.
237 | public static let all: [LoggingLevel] = [.none, .fatal, .error, .warning, .success, .info, .debug, .custom]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LoggingLevel]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
238 | }
239 |
/Users/admin/builder/spi-builder-workspace/Sources/Logging.swift:178:43: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
172 | - parameter action: `() -> Void` closure function.
173 | */
174 | internal func performInMain(_ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
175 | if (Thread.isMainThread == true) {
176 | action()
177 | } else {
178 | DispatchQueue.main.async(execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
179 | }
180 | }
[31/37] Compiling SKTiled Array2D.swift
/Users/admin/builder/spi-builder-workspace/Sources/TiledGlobals.swift:89:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TiledGlobals' may have shared mutable state; this is an error in the Swift 6 language mode
84 | ```
85 | */
86 | public class TiledGlobals {
| `- note: class 'TiledGlobals' does not conform to the 'Sendable' protocol
87 |
88 | /// Default singleton instance.
89 | static public let `default` = TiledGlobals()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TiledGlobals' 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
90 |
91 | /// Current SpriteKit renderer.
/Users/admin/builder/spi-builder-workspace/Sources/AnchorNode.swift:43:9: warning: main actor-isolated property 'receiveCameraUpdates' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
41 | var labelOffsetY: CGFloat = 0
42 |
43 | var receiveCameraUpdates: Bool = true
| `- warning: main actor-isolated property 'receiveCameraUpdates' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
44 |
45 | private var shapeKey = "ANCHOR_SHAPE"
:
119 |
120 |
121 | extension AnchorNode: SKTiledSceneCameraDelegate {
| `- note: add '@preconcurrency' to the 'SKTiledSceneCameraDelegate' conformance to defer isolation checking to run time
122 |
123 | func cameraZoomChanged(newZoom: CGFloat) {
/Users/admin/builder/spi-builder-workspace/Sources/TiledSceneCameraDelegate.swift:69:15: note: 'receiveCameraUpdates' declared here
67 | Allow delegate to receive updates from camera.
68 | */
69 | @objc var receiveCameraUpdates: Bool { get set }
| `- note: 'receiveCameraUpdates' declared here
70 |
71 | /**
/Users/admin/builder/spi-builder-workspace/Sources/AnchorNode.swift:123:10: warning: main actor-isolated instance method 'cameraZoomChanged(newZoom:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
121 | extension AnchorNode: SKTiledSceneCameraDelegate {
122 |
123 | func cameraZoomChanged(newZoom: CGFloat) {
| |- warning: main actor-isolated instance method 'cameraZoomChanged(newZoom:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'cameraZoomChanged(newZoom:)' to make this instance method not isolated to the actor
124 | if (newZoom != sceneScale) {
125 | sceneScale = newZoom
/Users/admin/builder/spi-builder-workspace/Sources/TiledSceneCameraDelegate.swift:90:25: note: mark the protocol requirement 'cameraZoomChanged(newZoom:)' 'async' to allow actor-isolated conformances
88 | - parameter newZoom: `CGFloat` camera zoom amount.
89 | */
90 | @objc optional func cameraZoomChanged(newZoom: CGFloat)
| `- note: mark the protocol requirement 'cameraZoomChanged(newZoom:)' 'async' to allow actor-isolated conformances
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Array2D.swift:66:19: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 |
30 | // Two-dimensional array structure.
31 | struct Array2D<T> {
| `- note: 'T' previously declared here
32 |
33 | /// Vertical count.
:
64 | }
65 |
66 | func contains<T : Equatable>(_ obj: T) -> Bool {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
67 | let filtered = self.items.filter {$0 as? T == obj}
68 | return filtered.isEmpty == false
/Users/admin/builder/spi-builder-workspace/Sources/Array2D.swift:128:40: warning: main actor-isolated property 'tileData' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
126 | if let tile = value as? SKTile {
127 |
128 | let gid = tile.tileData.globalID // was `id`
| `- warning: main actor-isolated property 'tileData' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
129 | let gidString = "\(gid)".zfill(length: colSize, pattern: " ", padLeft: false)
130 | rowResult += "\(gidString)\(comma)"
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:95:14: note: property declared here
93 |
94 | /// Tileset tile data.
95 | open var tileData: SKTilesetData
| `- note: property declared here
96 |
97 | /// Weak reference to the parent layer.
/Users/admin/builder/spi-builder-workspace/Sources/Logging.swift:80:25: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Simple logging class.
65 | internal class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
66 |
67 | public enum DateFormat {
:
78 |
79 | /// Default singleton instance.
80 | internal static let `default` = Logger()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' 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
81 |
82 | /// Default logging level.
/Users/admin/builder/spi-builder-workspace/Sources/Logging.swift:237:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LoggingLevel]' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// :nodoc: Logging level.
50 | public enum LoggingLevel: Int {
| `- note: consider making enum 'LoggingLevel' conform to the 'Sendable' protocol
51 | case none
52 | case fatal
:
235 |
236 | /// Array of all options.
237 | public static let all: [LoggingLevel] = [.none, .fatal, .error, .warning, .success, .info, .debug, .custom]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LoggingLevel]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
238 | }
239 |
/Users/admin/builder/spi-builder-workspace/Sources/Logging.swift:178:43: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
172 | - parameter action: `() -> Void` closure function.
173 | */
174 | internal func performInMain(_ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
175 | if (Thread.isMainThread == true) {
176 | action()
177 | } else {
178 | DispatchQueue.main.async(execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
179 | }
180 | }
[32/37] Compiling SKTiled Logging.swift
/Users/admin/builder/spi-builder-workspace/Sources/TiledGlobals.swift:89:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TiledGlobals' may have shared mutable state; this is an error in the Swift 6 language mode
84 | ```
85 | */
86 | public class TiledGlobals {
| `- note: class 'TiledGlobals' does not conform to the 'Sendable' protocol
87 |
88 | /// Default singleton instance.
89 | static public let `default` = TiledGlobals()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TiledGlobals' 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
90 |
91 | /// Current SpriteKit renderer.
/Users/admin/builder/spi-builder-workspace/Sources/AnchorNode.swift:43:9: warning: main actor-isolated property 'receiveCameraUpdates' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
41 | var labelOffsetY: CGFloat = 0
42 |
43 | var receiveCameraUpdates: Bool = true
| `- warning: main actor-isolated property 'receiveCameraUpdates' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
44 |
45 | private var shapeKey = "ANCHOR_SHAPE"
:
119 |
120 |
121 | extension AnchorNode: SKTiledSceneCameraDelegate {
| `- note: add '@preconcurrency' to the 'SKTiledSceneCameraDelegate' conformance to defer isolation checking to run time
122 |
123 | func cameraZoomChanged(newZoom: CGFloat) {
/Users/admin/builder/spi-builder-workspace/Sources/TiledSceneCameraDelegate.swift:69:15: note: 'receiveCameraUpdates' declared here
67 | Allow delegate to receive updates from camera.
68 | */
69 | @objc var receiveCameraUpdates: Bool { get set }
| `- note: 'receiveCameraUpdates' declared here
70 |
71 | /**
/Users/admin/builder/spi-builder-workspace/Sources/AnchorNode.swift:123:10: warning: main actor-isolated instance method 'cameraZoomChanged(newZoom:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
121 | extension AnchorNode: SKTiledSceneCameraDelegate {
122 |
123 | func cameraZoomChanged(newZoom: CGFloat) {
| |- warning: main actor-isolated instance method 'cameraZoomChanged(newZoom:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'cameraZoomChanged(newZoom:)' to make this instance method not isolated to the actor
124 | if (newZoom != sceneScale) {
125 | sceneScale = newZoom
/Users/admin/builder/spi-builder-workspace/Sources/TiledSceneCameraDelegate.swift:90:25: note: mark the protocol requirement 'cameraZoomChanged(newZoom:)' 'async' to allow actor-isolated conformances
88 | - parameter newZoom: `CGFloat` camera zoom amount.
89 | */
90 | @objc optional func cameraZoomChanged(newZoom: CGFloat)
| `- note: mark the protocol requirement 'cameraZoomChanged(newZoom:)' 'async' to allow actor-isolated conformances
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Array2D.swift:66:19: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 |
30 | // Two-dimensional array structure.
31 | struct Array2D<T> {
| `- note: 'T' previously declared here
32 |
33 | /// Vertical count.
:
64 | }
65 |
66 | func contains<T : Equatable>(_ obj: T) -> Bool {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
67 | let filtered = self.items.filter {$0 as? T == obj}
68 | return filtered.isEmpty == false
/Users/admin/builder/spi-builder-workspace/Sources/Array2D.swift:128:40: warning: main actor-isolated property 'tileData' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
126 | if let tile = value as? SKTile {
127 |
128 | let gid = tile.tileData.globalID // was `id`
| `- warning: main actor-isolated property 'tileData' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
129 | let gidString = "\(gid)".zfill(length: colSize, pattern: " ", padLeft: false)
130 | rowResult += "\(gidString)\(comma)"
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:95:14: note: property declared here
93 |
94 | /// Tileset tile data.
95 | open var tileData: SKTilesetData
| `- note: property declared here
96 |
97 | /// Weak reference to the parent layer.
/Users/admin/builder/spi-builder-workspace/Sources/Logging.swift:80:25: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Simple logging class.
65 | internal class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
66 |
67 | public enum DateFormat {
:
78 |
79 | /// Default singleton instance.
80 | internal static let `default` = Logger()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' 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
81 |
82 | /// Default logging level.
/Users/admin/builder/spi-builder-workspace/Sources/Logging.swift:237:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LoggingLevel]' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// :nodoc: Logging level.
50 | public enum LoggingLevel: Int {
| `- note: consider making enum 'LoggingLevel' conform to the 'Sendable' protocol
51 | case none
52 | case fatal
:
235 |
236 | /// Array of all options.
237 | public static let all: [LoggingLevel] = [.none, .fatal, .error, .warning, .success, .info, .debug, .custom]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LoggingLevel]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
238 | }
239 |
/Users/admin/builder/spi-builder-workspace/Sources/Logging.swift:178:43: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
172 | - parameter action: `() -> Void` closure function.
173 | */
174 | internal func performInMain(_ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
175 | if (Thread.isMainThread == true) {
176 | action()
177 | } else {
178 | DispatchQueue.main.async(execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
179 | }
180 | }
[33/37] Compiling SKTiled SKGroupLayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/TiledGlobals.swift:89:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TiledGlobals' may have shared mutable state; this is an error in the Swift 6 language mode
84 | ```
85 | */
86 | public class TiledGlobals {
| `- note: class 'TiledGlobals' does not conform to the 'Sendable' protocol
87 |
88 | /// Default singleton instance.
89 | static public let `default` = TiledGlobals()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TiledGlobals' 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
90 |
91 | /// Current SpriteKit renderer.
/Users/admin/builder/spi-builder-workspace/Sources/AnchorNode.swift:43:9: warning: main actor-isolated property 'receiveCameraUpdates' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
41 | var labelOffsetY: CGFloat = 0
42 |
43 | var receiveCameraUpdates: Bool = true
| `- warning: main actor-isolated property 'receiveCameraUpdates' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
44 |
45 | private var shapeKey = "ANCHOR_SHAPE"
:
119 |
120 |
121 | extension AnchorNode: SKTiledSceneCameraDelegate {
| `- note: add '@preconcurrency' to the 'SKTiledSceneCameraDelegate' conformance to defer isolation checking to run time
122 |
123 | func cameraZoomChanged(newZoom: CGFloat) {
/Users/admin/builder/spi-builder-workspace/Sources/TiledSceneCameraDelegate.swift:69:15: note: 'receiveCameraUpdates' declared here
67 | Allow delegate to receive updates from camera.
68 | */
69 | @objc var receiveCameraUpdates: Bool { get set }
| `- note: 'receiveCameraUpdates' declared here
70 |
71 | /**
/Users/admin/builder/spi-builder-workspace/Sources/AnchorNode.swift:123:10: warning: main actor-isolated instance method 'cameraZoomChanged(newZoom:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
121 | extension AnchorNode: SKTiledSceneCameraDelegate {
122 |
123 | func cameraZoomChanged(newZoom: CGFloat) {
| |- warning: main actor-isolated instance method 'cameraZoomChanged(newZoom:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'cameraZoomChanged(newZoom:)' to make this instance method not isolated to the actor
124 | if (newZoom != sceneScale) {
125 | sceneScale = newZoom
/Users/admin/builder/spi-builder-workspace/Sources/TiledSceneCameraDelegate.swift:90:25: note: mark the protocol requirement 'cameraZoomChanged(newZoom:)' 'async' to allow actor-isolated conformances
88 | - parameter newZoom: `CGFloat` camera zoom amount.
89 | */
90 | @objc optional func cameraZoomChanged(newZoom: CGFloat)
| `- note: mark the protocol requirement 'cameraZoomChanged(newZoom:)' 'async' to allow actor-isolated conformances
91 |
92 | /**
/Users/admin/builder/spi-builder-workspace/Sources/Array2D.swift:66:19: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
29 |
30 | // Two-dimensional array structure.
31 | struct Array2D<T> {
| `- note: 'T' previously declared here
32 |
33 | /// Vertical count.
:
64 | }
65 |
66 | func contains<T : Equatable>(_ obj: T) -> Bool {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
67 | let filtered = self.items.filter {$0 as? T == obj}
68 | return filtered.isEmpty == false
/Users/admin/builder/spi-builder-workspace/Sources/Array2D.swift:128:40: warning: main actor-isolated property 'tileData' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
126 | if let tile = value as? SKTile {
127 |
128 | let gid = tile.tileData.globalID // was `id`
| `- warning: main actor-isolated property 'tileData' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
129 | let gidString = "\(gid)".zfill(length: colSize, pattern: " ", padLeft: false)
130 | rowResult += "\(gidString)\(comma)"
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:95:14: note: property declared here
93 |
94 | /// Tileset tile data.
95 | open var tileData: SKTilesetData
| `- note: property declared here
96 |
97 | /// Weak reference to the parent layer.
/Users/admin/builder/spi-builder-workspace/Sources/Logging.swift:80:25: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Simple logging class.
65 | internal class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
66 |
67 | public enum DateFormat {
:
78 |
79 | /// Default singleton instance.
80 | internal static let `default` = Logger()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' 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
81 |
82 | /// Default logging level.
/Users/admin/builder/spi-builder-workspace/Sources/Logging.swift:237:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LoggingLevel]' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// :nodoc: Logging level.
50 | public enum LoggingLevel: Int {
| `- note: consider making enum 'LoggingLevel' conform to the 'Sendable' protocol
51 | case none
52 | case fatal
:
235 |
236 | /// Array of all options.
237 | public static let all: [LoggingLevel] = [.none, .fatal, .error, .warning, .success, .info, .debug, .custom]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LoggingLevel]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
238 | }
239 |
/Users/admin/builder/spi-builder-workspace/Sources/Logging.swift:178:43: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
172 | - parameter action: `() -> Void` closure function.
173 | */
174 | internal func performInMain(_ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
175 | if (Thread.isMainThread == true) {
176 | action()
177 | } else {
178 | DispatchQueue.main.async(execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
179 | }
180 | }
[34/37] Compiling SKTiled SKImageLayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Debug.swift:71:23: warning: static property 'drawObjectBounds' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | */
61 | public struct DebugDrawOptions: OptionSet {
| `- note: consider making struct 'DebugDrawOptions' conform to the 'Sendable' protocol
62 | public let rawValue: Int
63 |
:
69 | static public let drawBounds = DebugDrawOptions(rawValue: 1 << 1) // 2
70 | static public let drawGraph = DebugDrawOptions(rawValue: 1 << 2) // 4
71 | static public let drawObjectBounds = DebugDrawOptions(rawValue: 1 << 3) // 8
| |- warning: static property 'drawObjectBounds' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'drawObjectBounds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | static public let drawTileBounds = DebugDrawOptions(rawValue: 1 << 4) // 16
73 | static public let drawMouseOverObject = DebugDrawOptions(rawValue: 1 << 5) // 32
/Users/admin/builder/spi-builder-workspace/Sources/TiledGlobals.swift:89:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TiledGlobals' may have shared mutable state; this is an error in the Swift 6 language mode
84 | ```
85 | */
86 | public class TiledGlobals {
| `- note: class 'TiledGlobals' does not conform to the 'Sendable' protocol
87 |
88 | /// Default singleton instance.
89 | static public let `default` = TiledGlobals()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TiledGlobals' 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
90 |
91 | /// Current SpriteKit renderer.
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:936:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
934 |
935 | /// Opacity value of the tile.
936 | open var opacity: CGFloat {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
937 | get {
938 | return self.alpha
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:946:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
944 |
945 | /// Tile visibility.
946 | open var visible: Bool {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
947 | get {
948 | return !self.isHidden
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:956:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
954 |
955 | /// Show/hide the tile's bounding shape.
956 | open var showBounds: Bool {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
957 | get {
958 | return (childNode(withName: boundsKey) != nil) ? childNode(withName: boundsKey)!.isHidden == false : false
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:989:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
987 | override open var debugDescription: String { return "<\(description)>" }
988 |
989 | open var shortDescription: String {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
990 | var result = "Tile id: \(self.tileData.id)"
991 | result += (self.tileData.type != nil) ? ", type: \"\(self.tileData.type!)\"" : ""
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:1041:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
1039 | /// Pauses tile animation
1040 | @available(*, deprecated, message: "Use the default `SKNode.isPaused` to pause animation.")
1041 | open var pauseAnimation: Bool {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
1042 | get {
1043 | return self.isPaused
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:101:14: warning: main actor-isolated property 'visibleToCamera' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
99 |
100 | /// Object is visible in camera.
101 | open var visibleToCamera: Bool = true
| `- warning: main actor-isolated property 'visibleToCamera' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
102 |
103 | /// Don't send updates.
:
1087 |
1088 |
1089 | extension SKTile: SKTiledGeometry {}
| `- note: add '@preconcurrency' to the 'SKTiledGeometry' conformance to defer isolation checking to run time
1090 | extension SKTile: Loggable {}
1091 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTileObject.swift:33:9: note: 'visibleToCamera' declared here
31 | /// Generic protocol for renderable Tiled objects.
32 | protocol SKTiledGeometry {
33 | var visibleToCamera: Bool { get set }
| `- note: 'visibleToCamera' declared here
34 | func draw(debug: Bool)
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:298:15: warning: main actor-isolated instance method 'draw(debug:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
296 | - parameter debug: `Bool` debug draw.
297 | */
298 | open func draw(debug: Bool = false) {
| |- warning: main actor-isolated instance method 'draw(debug:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'draw(debug:)' to make this instance method not isolated to the actor
299 | removeAllActions()
300 | texture = tileData.texture
/Users/admin/builder/spi-builder-workspace/Sources/SKTileObject.swift:34:10: note: mark the protocol requirement 'draw(debug:)' 'async' to allow actor-isolated conformances
32 | protocol SKTiledGeometry {
33 | var visibleToCamera: Bool { get set }
34 | func draw(debug: Bool)
| `- note: mark the protocol requirement 'draw(debug:)' 'async' to allow actor-isolated conformances
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:982:33: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
96 |
97 | /// Weak reference to the parent layer.
98 | weak open var layer: SKTileLayer!
| `- note: property declared here
99 |
100 | /// Object is visible in camera.
:
980 | /// Tile description.
981 | override open var description: String {
982 | let layerDescription = (layer != nil) ? ", Layer: \"\(layer.layerName)\"" : ""
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
983 | return "\(tileData.description)\(layerDescription) \(renderMode.debugDescription)"
984 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:982:69: warning: main actor-isolated property 'layerName' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
980 | /// Tile description.
981 | override open var description: String {
982 | let layerDescription = (layer != nil) ? ", Layer: \"\(layer.layerName)\"" : ""
| `- warning: main actor-isolated property 'layerName' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
983 | return "\(tileData.description)\(layerDescription) \(renderMode.debugDescription)"
984 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:892:16: note: property declared here
890 |
891 | /// String representing the layer name (null if not set).
892 | public var layerName: String {
| `- note: property declared here
893 | return self.name ?? "null"
894 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:982:63: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
96 |
97 | /// Weak reference to the parent layer.
98 | weak open var layer: SKTileLayer!
| `- note: property declared here
99 |
100 | /// Object is visible in camera.
:
980 | /// Tile description.
981 | override open var description: String {
982 | let layerDescription = (layer != nil) ? ", Layer: \"\(layer.layerName)\"" : ""
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
983 | return "\(tileData.description)\(layerDescription) \(renderMode.debugDescription)"
984 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:983:19: warning: main actor-isolated property 'tileData' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
93 |
94 | /// Tileset tile data.
95 | open var tileData: SKTilesetData
| `- note: property declared here
96 |
97 | /// Weak reference to the parent layer.
:
981 | override open var description: String {
982 | let layerDescription = (layer != nil) ? ", Layer: \"\(layer.layerName)\"" : ""
983 | return "\(tileData.description)\(layerDescription) \(renderMode.debugDescription)"
| `- warning: main actor-isolated property 'tileData' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
984 | }
985 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:983:62: warning: main actor-isolated property 'renderMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
105 |
106 | /// Render mode for this instance.
107 | open var renderMode: TileRenderMode = TileRenderMode.default {
| `- note: property declared here
108 | didSet {
109 | guard (oldValue != renderMode) else { return }
:
981 | override open var description: String {
982 | let layerDescription = (layer != nil) ? ", Layer: \"\(layer.layerName)\"" : ""
983 | return "\(tileData.description)\(layerDescription) \(renderMode.debugDescription)"
| `- warning: main actor-isolated property 'renderMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
984 | }
985 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Debug.swift:72:23: warning: static property 'drawTileBounds' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | */
61 | public struct DebugDrawOptions: OptionSet {
| `- note: consider making struct 'DebugDrawOptions' conform to the 'Sendable' protocol
62 | public let rawValue: Int
63 |
:
70 | static public let drawGraph = DebugDrawOptions(rawValue: 1 << 2) // 4
71 | static public let drawObjectBounds = DebugDrawOptions(rawValue: 1 << 3) // 8
72 | static public let drawTileBounds = DebugDrawOptions(rawValue: 1 << 4) // 16
| |- warning: static property 'drawTileBounds' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'drawTileBounds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | static public let drawMouseOverObject = DebugDrawOptions(rawValue: 1 << 5) // 32
74 | static public let drawBackground = DebugDrawOptions(rawValue: 1 << 6) // 64
/Users/admin/builder/spi-builder-workspace/Sources/Logging.swift:80:25: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Simple logging class.
65 | internal class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
66 |
67 | public enum DateFormat {
:
78 |
79 | /// Default singleton instance.
80 | internal static let `default` = Logger()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' 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
81 |
82 | /// Default logging level.
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:864:31: warning: main actor-isolated property 'parents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
862 |
863 | override public var description: String {
864 | let isTopLevel = self.parents.count == 1
| `- warning: main actor-isolated property 'parents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
:
895 |
896 | /// Returns an array of parent layers, beginning with the current.
897 | public var parents: [SKNode] {
| `- note: property declared here
898 | var current = self as SKNode
899 | var result: [SKNode] = [current]
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:865:62: warning: main actor-isolated property 'index' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
863 | override public var description: String {
864 | let isTopLevel = self.parents.count == 1
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
| `- warning: main actor-isolated property 'index' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
867 | return "\(layerTypeString) Layer: \"\(self.path)\"\(indexString), zpos: \(Int(self.zPosition))"
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:123:16: note: property declared here
121 |
122 | /// Layer index. Matches the index of the layer in the source TMX file.
123 | public var index: Int = 0
| `- note: property declared here
124 |
125 | /// Logging verbosity.
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:866:32: warning: main actor-isolated property 'layerType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
864 | let isTopLevel = self.parents.count == 1
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
| `- warning: main actor-isolated property 'layerType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
867 | return "\(layerTypeString) Layer: \"\(self.path)\"\(indexString), zpos: \(Int(self.zPosition))"
868 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:197:18: note: property declared here
195 | }
196 |
197 | internal var layerType: TiledLayerType = TiledLayerType.none
| `- note: property declared here
198 |
199 | /// Layer color.
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:866:68: warning: main actor-isolated property 'layerType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
864 | let isTopLevel = self.parents.count == 1
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
| `- warning: main actor-isolated property 'layerType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
867 | return "\(layerTypeString) Layer: \"\(self.path)\"\(indexString), zpos: \(Int(self.zPosition))"
868 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:197:18: note: property declared here
195 | }
196 |
197 | internal var layerType: TiledLayerType = TiledLayerType.none
| `- note: property declared here
198 |
199 | /// Layer color.
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:867:52: warning: main actor-isolated property 'path' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
867 | return "\(layerTypeString) Layer: \"\(self.path)\"\(indexString), zpos: \(Int(self.zPosition))"
| `- warning: main actor-isolated property 'path' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
868 | }
869 |
:
931 |
932 | /// Translate the parent hierarchy to a path string
933 | public var path: String {
| `- note: property declared here
934 | let allParents: [SKNode] = self.parents.reversed()
935 | if (allParents.count == 1) { return self.layerName }
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:867:92: warning: main actor-isolated property 'zPosition' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
867 | return "\(layerTypeString) Layer: \"\(self.path)\"\(indexString), zpos: \(Int(self.zPosition))"
| `- warning: main actor-isolated property 'zPosition' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
868 | }
869 |
SpriteKit.SKNode:17:25: note: property declared here
15 | open func calculateAccumulatedFrame() -> CGRect
16 | @MainActor open var position: CGPoint { get set }
17 | @MainActor open var zPosition: CGFloat { get set }
| `- note: property declared here
18 | @MainActor open var zRotation: CGFloat { get set }
19 | @MainActor open var xScale: CGFloat { get set }
[35/37] Compiling SKTiled SKObjectGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Debug.swift:71:23: warning: static property 'drawObjectBounds' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | */
61 | public struct DebugDrawOptions: OptionSet {
| `- note: consider making struct 'DebugDrawOptions' conform to the 'Sendable' protocol
62 | public let rawValue: Int
63 |
:
69 | static public let drawBounds = DebugDrawOptions(rawValue: 1 << 1) // 2
70 | static public let drawGraph = DebugDrawOptions(rawValue: 1 << 2) // 4
71 | static public let drawObjectBounds = DebugDrawOptions(rawValue: 1 << 3) // 8
| |- warning: static property 'drawObjectBounds' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'drawObjectBounds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | static public let drawTileBounds = DebugDrawOptions(rawValue: 1 << 4) // 16
73 | static public let drawMouseOverObject = DebugDrawOptions(rawValue: 1 << 5) // 32
/Users/admin/builder/spi-builder-workspace/Sources/TiledGlobals.swift:89:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TiledGlobals' may have shared mutable state; this is an error in the Swift 6 language mode
84 | ```
85 | */
86 | public class TiledGlobals {
| `- note: class 'TiledGlobals' does not conform to the 'Sendable' protocol
87 |
88 | /// Default singleton instance.
89 | static public let `default` = TiledGlobals()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TiledGlobals' 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
90 |
91 | /// Current SpriteKit renderer.
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:936:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
934 |
935 | /// Opacity value of the tile.
936 | open var opacity: CGFloat {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
937 | get {
938 | return self.alpha
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:946:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
944 |
945 | /// Tile visibility.
946 | open var visible: Bool {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
947 | get {
948 | return !self.isHidden
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:956:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
954 |
955 | /// Show/hide the tile's bounding shape.
956 | open var showBounds: Bool {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
957 | get {
958 | return (childNode(withName: boundsKey) != nil) ? childNode(withName: boundsKey)!.isHidden == false : false
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:989:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
987 | override open var debugDescription: String { return "<\(description)>" }
988 |
989 | open var shortDescription: String {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
990 | var result = "Tile id: \(self.tileData.id)"
991 | result += (self.tileData.type != nil) ? ", type: \"\(self.tileData.type!)\"" : ""
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:1041:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
1039 | /// Pauses tile animation
1040 | @available(*, deprecated, message: "Use the default `SKNode.isPaused` to pause animation.")
1041 | open var pauseAnimation: Bool {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
1042 | get {
1043 | return self.isPaused
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:101:14: warning: main actor-isolated property 'visibleToCamera' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
99 |
100 | /// Object is visible in camera.
101 | open var visibleToCamera: Bool = true
| `- warning: main actor-isolated property 'visibleToCamera' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
102 |
103 | /// Don't send updates.
:
1087 |
1088 |
1089 | extension SKTile: SKTiledGeometry {}
| `- note: add '@preconcurrency' to the 'SKTiledGeometry' conformance to defer isolation checking to run time
1090 | extension SKTile: Loggable {}
1091 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTileObject.swift:33:9: note: 'visibleToCamera' declared here
31 | /// Generic protocol for renderable Tiled objects.
32 | protocol SKTiledGeometry {
33 | var visibleToCamera: Bool { get set }
| `- note: 'visibleToCamera' declared here
34 | func draw(debug: Bool)
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:298:15: warning: main actor-isolated instance method 'draw(debug:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
296 | - parameter debug: `Bool` debug draw.
297 | */
298 | open func draw(debug: Bool = false) {
| |- warning: main actor-isolated instance method 'draw(debug:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'draw(debug:)' to make this instance method not isolated to the actor
299 | removeAllActions()
300 | texture = tileData.texture
/Users/admin/builder/spi-builder-workspace/Sources/SKTileObject.swift:34:10: note: mark the protocol requirement 'draw(debug:)' 'async' to allow actor-isolated conformances
32 | protocol SKTiledGeometry {
33 | var visibleToCamera: Bool { get set }
34 | func draw(debug: Bool)
| `- note: mark the protocol requirement 'draw(debug:)' 'async' to allow actor-isolated conformances
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:982:33: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
96 |
97 | /// Weak reference to the parent layer.
98 | weak open var layer: SKTileLayer!
| `- note: property declared here
99 |
100 | /// Object is visible in camera.
:
980 | /// Tile description.
981 | override open var description: String {
982 | let layerDescription = (layer != nil) ? ", Layer: \"\(layer.layerName)\"" : ""
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
983 | return "\(tileData.description)\(layerDescription) \(renderMode.debugDescription)"
984 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:982:69: warning: main actor-isolated property 'layerName' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
980 | /// Tile description.
981 | override open var description: String {
982 | let layerDescription = (layer != nil) ? ", Layer: \"\(layer.layerName)\"" : ""
| `- warning: main actor-isolated property 'layerName' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
983 | return "\(tileData.description)\(layerDescription) \(renderMode.debugDescription)"
984 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:892:16: note: property declared here
890 |
891 | /// String representing the layer name (null if not set).
892 | public var layerName: String {
| `- note: property declared here
893 | return self.name ?? "null"
894 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:982:63: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
96 |
97 | /// Weak reference to the parent layer.
98 | weak open var layer: SKTileLayer!
| `- note: property declared here
99 |
100 | /// Object is visible in camera.
:
980 | /// Tile description.
981 | override open var description: String {
982 | let layerDescription = (layer != nil) ? ", Layer: \"\(layer.layerName)\"" : ""
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
983 | return "\(tileData.description)\(layerDescription) \(renderMode.debugDescription)"
984 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:983:19: warning: main actor-isolated property 'tileData' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
93 |
94 | /// Tileset tile data.
95 | open var tileData: SKTilesetData
| `- note: property declared here
96 |
97 | /// Weak reference to the parent layer.
:
981 | override open var description: String {
982 | let layerDescription = (layer != nil) ? ", Layer: \"\(layer.layerName)\"" : ""
983 | return "\(tileData.description)\(layerDescription) \(renderMode.debugDescription)"
| `- warning: main actor-isolated property 'tileData' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
984 | }
985 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:983:62: warning: main actor-isolated property 'renderMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
105 |
106 | /// Render mode for this instance.
107 | open var renderMode: TileRenderMode = TileRenderMode.default {
| `- note: property declared here
108 | didSet {
109 | guard (oldValue != renderMode) else { return }
:
981 | override open var description: String {
982 | let layerDescription = (layer != nil) ? ", Layer: \"\(layer.layerName)\"" : ""
983 | return "\(tileData.description)\(layerDescription) \(renderMode.debugDescription)"
| `- warning: main actor-isolated property 'renderMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
984 | }
985 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Debug.swift:72:23: warning: static property 'drawTileBounds' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | */
61 | public struct DebugDrawOptions: OptionSet {
| `- note: consider making struct 'DebugDrawOptions' conform to the 'Sendable' protocol
62 | public let rawValue: Int
63 |
:
70 | static public let drawGraph = DebugDrawOptions(rawValue: 1 << 2) // 4
71 | static public let drawObjectBounds = DebugDrawOptions(rawValue: 1 << 3) // 8
72 | static public let drawTileBounds = DebugDrawOptions(rawValue: 1 << 4) // 16
| |- warning: static property 'drawTileBounds' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'drawTileBounds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | static public let drawMouseOverObject = DebugDrawOptions(rawValue: 1 << 5) // 32
74 | static public let drawBackground = DebugDrawOptions(rawValue: 1 << 6) // 64
/Users/admin/builder/spi-builder-workspace/Sources/Logging.swift:80:25: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Simple logging class.
65 | internal class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
66 |
67 | public enum DateFormat {
:
78 |
79 | /// Default singleton instance.
80 | internal static let `default` = Logger()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' 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
81 |
82 | /// Default logging level.
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:864:31: warning: main actor-isolated property 'parents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
862 |
863 | override public var description: String {
864 | let isTopLevel = self.parents.count == 1
| `- warning: main actor-isolated property 'parents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
:
895 |
896 | /// Returns an array of parent layers, beginning with the current.
897 | public var parents: [SKNode] {
| `- note: property declared here
898 | var current = self as SKNode
899 | var result: [SKNode] = [current]
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:865:62: warning: main actor-isolated property 'index' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
863 | override public var description: String {
864 | let isTopLevel = self.parents.count == 1
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
| `- warning: main actor-isolated property 'index' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
867 | return "\(layerTypeString) Layer: \"\(self.path)\"\(indexString), zpos: \(Int(self.zPosition))"
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:123:16: note: property declared here
121 |
122 | /// Layer index. Matches the index of the layer in the source TMX file.
123 | public var index: Int = 0
| `- note: property declared here
124 |
125 | /// Logging verbosity.
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:866:32: warning: main actor-isolated property 'layerType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
864 | let isTopLevel = self.parents.count == 1
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
| `- warning: main actor-isolated property 'layerType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
867 | return "\(layerTypeString) Layer: \"\(self.path)\"\(indexString), zpos: \(Int(self.zPosition))"
868 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:197:18: note: property declared here
195 | }
196 |
197 | internal var layerType: TiledLayerType = TiledLayerType.none
| `- note: property declared here
198 |
199 | /// Layer color.
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:866:68: warning: main actor-isolated property 'layerType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
864 | let isTopLevel = self.parents.count == 1
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
| `- warning: main actor-isolated property 'layerType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
867 | return "\(layerTypeString) Layer: \"\(self.path)\"\(indexString), zpos: \(Int(self.zPosition))"
868 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:197:18: note: property declared here
195 | }
196 |
197 | internal var layerType: TiledLayerType = TiledLayerType.none
| `- note: property declared here
198 |
199 | /// Layer color.
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:867:52: warning: main actor-isolated property 'path' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
867 | return "\(layerTypeString) Layer: \"\(self.path)\"\(indexString), zpos: \(Int(self.zPosition))"
| `- warning: main actor-isolated property 'path' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
868 | }
869 |
:
931 |
932 | /// Translate the parent hierarchy to a path string
933 | public var path: String {
| `- note: property declared here
934 | let allParents: [SKNode] = self.parents.reversed()
935 | if (allParents.count == 1) { return self.layerName }
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:867:92: warning: main actor-isolated property 'zPosition' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
867 | return "\(layerTypeString) Layer: \"\(self.path)\"\(indexString), zpos: \(Int(self.zPosition))"
| `- warning: main actor-isolated property 'zPosition' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
868 | }
869 |
SpriteKit.SKNode:17:25: note: property declared here
15 | open func calculateAccumulatedFrame() -> CGRect
16 | @MainActor open var position: CGPoint { get set }
17 | @MainActor open var zPosition: CGFloat { get set }
| `- note: property declared here
18 | @MainActor open var zRotation: CGFloat { get set }
19 | @MainActor open var xScale: CGFloat { get set }
[36/37] Compiling SKTiled SKTile.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Debug.swift:71:23: warning: static property 'drawObjectBounds' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | */
61 | public struct DebugDrawOptions: OptionSet {
| `- note: consider making struct 'DebugDrawOptions' conform to the 'Sendable' protocol
62 | public let rawValue: Int
63 |
:
69 | static public let drawBounds = DebugDrawOptions(rawValue: 1 << 1) // 2
70 | static public let drawGraph = DebugDrawOptions(rawValue: 1 << 2) // 4
71 | static public let drawObjectBounds = DebugDrawOptions(rawValue: 1 << 3) // 8
| |- warning: static property 'drawObjectBounds' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'drawObjectBounds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | static public let drawTileBounds = DebugDrawOptions(rawValue: 1 << 4) // 16
73 | static public let drawMouseOverObject = DebugDrawOptions(rawValue: 1 << 5) // 32
/Users/admin/builder/spi-builder-workspace/Sources/TiledGlobals.swift:89:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TiledGlobals' may have shared mutable state; this is an error in the Swift 6 language mode
84 | ```
85 | */
86 | public class TiledGlobals {
| `- note: class 'TiledGlobals' does not conform to the 'Sendable' protocol
87 |
88 | /// Default singleton instance.
89 | static public let `default` = TiledGlobals()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TiledGlobals' 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
90 |
91 | /// Current SpriteKit renderer.
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:936:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
934 |
935 | /// Opacity value of the tile.
936 | open var opacity: CGFloat {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
937 | get {
938 | return self.alpha
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:946:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
944 |
945 | /// Tile visibility.
946 | open var visible: Bool {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
947 | get {
948 | return !self.isHidden
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:956:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
954 |
955 | /// Show/hide the tile's bounding shape.
956 | open var showBounds: Bool {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
957 | get {
958 | return (childNode(withName: boundsKey) != nil) ? childNode(withName: boundsKey)!.isHidden == false : false
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:989:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
987 | override open var debugDescription: String { return "<\(description)>" }
988 |
989 | open var shortDescription: String {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
990 | var result = "Tile id: \(self.tileData.id)"
991 | result += (self.tileData.type != nil) ? ", type: \"\(self.tileData.type!)\"" : ""
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:1041:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
1039 | /// Pauses tile animation
1040 | @available(*, deprecated, message: "Use the default `SKNode.isPaused` to pause animation.")
1041 | open var pauseAnimation: Bool {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
1042 | get {
1043 | return self.isPaused
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:101:14: warning: main actor-isolated property 'visibleToCamera' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
99 |
100 | /// Object is visible in camera.
101 | open var visibleToCamera: Bool = true
| `- warning: main actor-isolated property 'visibleToCamera' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
102 |
103 | /// Don't send updates.
:
1087 |
1088 |
1089 | extension SKTile: SKTiledGeometry {}
| `- note: add '@preconcurrency' to the 'SKTiledGeometry' conformance to defer isolation checking to run time
1090 | extension SKTile: Loggable {}
1091 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTileObject.swift:33:9: note: 'visibleToCamera' declared here
31 | /// Generic protocol for renderable Tiled objects.
32 | protocol SKTiledGeometry {
33 | var visibleToCamera: Bool { get set }
| `- note: 'visibleToCamera' declared here
34 | func draw(debug: Bool)
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:298:15: warning: main actor-isolated instance method 'draw(debug:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
296 | - parameter debug: `Bool` debug draw.
297 | */
298 | open func draw(debug: Bool = false) {
| |- warning: main actor-isolated instance method 'draw(debug:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'draw(debug:)' to make this instance method not isolated to the actor
299 | removeAllActions()
300 | texture = tileData.texture
/Users/admin/builder/spi-builder-workspace/Sources/SKTileObject.swift:34:10: note: mark the protocol requirement 'draw(debug:)' 'async' to allow actor-isolated conformances
32 | protocol SKTiledGeometry {
33 | var visibleToCamera: Bool { get set }
34 | func draw(debug: Bool)
| `- note: mark the protocol requirement 'draw(debug:)' 'async' to allow actor-isolated conformances
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:982:33: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
96 |
97 | /// Weak reference to the parent layer.
98 | weak open var layer: SKTileLayer!
| `- note: property declared here
99 |
100 | /// Object is visible in camera.
:
980 | /// Tile description.
981 | override open var description: String {
982 | let layerDescription = (layer != nil) ? ", Layer: \"\(layer.layerName)\"" : ""
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
983 | return "\(tileData.description)\(layerDescription) \(renderMode.debugDescription)"
984 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:982:69: warning: main actor-isolated property 'layerName' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
980 | /// Tile description.
981 | override open var description: String {
982 | let layerDescription = (layer != nil) ? ", Layer: \"\(layer.layerName)\"" : ""
| `- warning: main actor-isolated property 'layerName' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
983 | return "\(tileData.description)\(layerDescription) \(renderMode.debugDescription)"
984 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:892:16: note: property declared here
890 |
891 | /// String representing the layer name (null if not set).
892 | public var layerName: String {
| `- note: property declared here
893 | return self.name ?? "null"
894 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:982:63: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
96 |
97 | /// Weak reference to the parent layer.
98 | weak open var layer: SKTileLayer!
| `- note: property declared here
99 |
100 | /// Object is visible in camera.
:
980 | /// Tile description.
981 | override open var description: String {
982 | let layerDescription = (layer != nil) ? ", Layer: \"\(layer.layerName)\"" : ""
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
983 | return "\(tileData.description)\(layerDescription) \(renderMode.debugDescription)"
984 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:983:19: warning: main actor-isolated property 'tileData' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
93 |
94 | /// Tileset tile data.
95 | open var tileData: SKTilesetData
| `- note: property declared here
96 |
97 | /// Weak reference to the parent layer.
:
981 | override open var description: String {
982 | let layerDescription = (layer != nil) ? ", Layer: \"\(layer.layerName)\"" : ""
983 | return "\(tileData.description)\(layerDescription) \(renderMode.debugDescription)"
| `- warning: main actor-isolated property 'tileData' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
984 | }
985 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:983:62: warning: main actor-isolated property 'renderMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
105 |
106 | /// Render mode for this instance.
107 | open var renderMode: TileRenderMode = TileRenderMode.default {
| `- note: property declared here
108 | didSet {
109 | guard (oldValue != renderMode) else { return }
:
981 | override open var description: String {
982 | let layerDescription = (layer != nil) ? ", Layer: \"\(layer.layerName)\"" : ""
983 | return "\(tileData.description)\(layerDescription) \(renderMode.debugDescription)"
| `- warning: main actor-isolated property 'renderMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
984 | }
985 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Debug.swift:72:23: warning: static property 'drawTileBounds' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | */
61 | public struct DebugDrawOptions: OptionSet {
| `- note: consider making struct 'DebugDrawOptions' conform to the 'Sendable' protocol
62 | public let rawValue: Int
63 |
:
70 | static public let drawGraph = DebugDrawOptions(rawValue: 1 << 2) // 4
71 | static public let drawObjectBounds = DebugDrawOptions(rawValue: 1 << 3) // 8
72 | static public let drawTileBounds = DebugDrawOptions(rawValue: 1 << 4) // 16
| |- warning: static property 'drawTileBounds' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'drawTileBounds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | static public let drawMouseOverObject = DebugDrawOptions(rawValue: 1 << 5) // 32
74 | static public let drawBackground = DebugDrawOptions(rawValue: 1 << 6) // 64
/Users/admin/builder/spi-builder-workspace/Sources/Logging.swift:80:25: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Simple logging class.
65 | internal class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
66 |
67 | public enum DateFormat {
:
78 |
79 | /// Default singleton instance.
80 | internal static let `default` = Logger()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' 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
81 |
82 | /// Default logging level.
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:864:31: warning: main actor-isolated property 'parents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
862 |
863 | override public var description: String {
864 | let isTopLevel = self.parents.count == 1
| `- warning: main actor-isolated property 'parents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
:
895 |
896 | /// Returns an array of parent layers, beginning with the current.
897 | public var parents: [SKNode] {
| `- note: property declared here
898 | var current = self as SKNode
899 | var result: [SKNode] = [current]
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:865:62: warning: main actor-isolated property 'index' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
863 | override public var description: String {
864 | let isTopLevel = self.parents.count == 1
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
| `- warning: main actor-isolated property 'index' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
867 | return "\(layerTypeString) Layer: \"\(self.path)\"\(indexString), zpos: \(Int(self.zPosition))"
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:123:16: note: property declared here
121 |
122 | /// Layer index. Matches the index of the layer in the source TMX file.
123 | public var index: Int = 0
| `- note: property declared here
124 |
125 | /// Logging verbosity.
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:866:32: warning: main actor-isolated property 'layerType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
864 | let isTopLevel = self.parents.count == 1
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
| `- warning: main actor-isolated property 'layerType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
867 | return "\(layerTypeString) Layer: \"\(self.path)\"\(indexString), zpos: \(Int(self.zPosition))"
868 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:197:18: note: property declared here
195 | }
196 |
197 | internal var layerType: TiledLayerType = TiledLayerType.none
| `- note: property declared here
198 |
199 | /// Layer color.
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:866:68: warning: main actor-isolated property 'layerType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
864 | let isTopLevel = self.parents.count == 1
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
| `- warning: main actor-isolated property 'layerType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
867 | return "\(layerTypeString) Layer: \"\(self.path)\"\(indexString), zpos: \(Int(self.zPosition))"
868 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:197:18: note: property declared here
195 | }
196 |
197 | internal var layerType: TiledLayerType = TiledLayerType.none
| `- note: property declared here
198 |
199 | /// Layer color.
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:867:52: warning: main actor-isolated property 'path' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
867 | return "\(layerTypeString) Layer: \"\(self.path)\"\(indexString), zpos: \(Int(self.zPosition))"
| `- warning: main actor-isolated property 'path' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
868 | }
869 |
:
931 |
932 | /// Translate the parent hierarchy to a path string
933 | public var path: String {
| `- note: property declared here
934 | let allParents: [SKNode] = self.parents.reversed()
935 | if (allParents.count == 1) { return self.layerName }
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:867:92: warning: main actor-isolated property 'zPosition' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
867 | return "\(layerTypeString) Layer: \"\(self.path)\"\(indexString), zpos: \(Int(self.zPosition))"
| `- warning: main actor-isolated property 'zPosition' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
868 | }
869 |
SpriteKit.SKNode:17:25: note: property declared here
15 | open func calculateAccumulatedFrame() -> CGRect
16 | @MainActor open var position: CGPoint { get set }
17 | @MainActor open var zPosition: CGFloat { get set }
| `- note: property declared here
18 | @MainActor open var zRotation: CGFloat { get set }
19 | @MainActor open var xScale: CGFloat { get set }
[37/37] Compiling SKTiled SKTileLayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Debug.swift:71:23: warning: static property 'drawObjectBounds' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | */
61 | public struct DebugDrawOptions: OptionSet {
| `- note: consider making struct 'DebugDrawOptions' conform to the 'Sendable' protocol
62 | public let rawValue: Int
63 |
:
69 | static public let drawBounds = DebugDrawOptions(rawValue: 1 << 1) // 2
70 | static public let drawGraph = DebugDrawOptions(rawValue: 1 << 2) // 4
71 | static public let drawObjectBounds = DebugDrawOptions(rawValue: 1 << 3) // 8
| |- warning: static property 'drawObjectBounds' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'drawObjectBounds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | static public let drawTileBounds = DebugDrawOptions(rawValue: 1 << 4) // 16
73 | static public let drawMouseOverObject = DebugDrawOptions(rawValue: 1 << 5) // 32
/Users/admin/builder/spi-builder-workspace/Sources/TiledGlobals.swift:89:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TiledGlobals' may have shared mutable state; this is an error in the Swift 6 language mode
84 | ```
85 | */
86 | public class TiledGlobals {
| `- note: class 'TiledGlobals' does not conform to the 'Sendable' protocol
87 |
88 | /// Default singleton instance.
89 | static public let `default` = TiledGlobals()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TiledGlobals' 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
90 |
91 | /// Current SpriteKit renderer.
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:936:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
934 |
935 | /// Opacity value of the tile.
936 | open var opacity: CGFloat {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
937 | get {
938 | return self.alpha
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:946:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
944 |
945 | /// Tile visibility.
946 | open var visible: Bool {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
947 | get {
948 | return !self.isHidden
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:956:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
954 |
955 | /// Show/hide the tile's bounding shape.
956 | open var showBounds: Bool {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
957 | get {
958 | return (childNode(withName: boundsKey) != nil) ? childNode(withName: boundsKey)!.isHidden == false : false
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:989:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
987 | override open var debugDescription: String { return "<\(description)>" }
988 |
989 | open var shortDescription: String {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
990 | var result = "Tile id: \(self.tileData.id)"
991 | result += (self.tileData.type != nil) ? ", type: \"\(self.tileData.type!)\"" : ""
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:1041:5: warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
1039 | /// Pauses tile animation
1040 | @available(*, deprecated, message: "Use the default `SKNode.isPaused` to pause animation.")
1041 | open var pauseAnimation: Bool {
| `- warning: non-'@objc' property in extensions cannot be overridden; use 'public' instead
1042 | get {
1043 | return self.isPaused
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:101:14: warning: main actor-isolated property 'visibleToCamera' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
99 |
100 | /// Object is visible in camera.
101 | open var visibleToCamera: Bool = true
| `- warning: main actor-isolated property 'visibleToCamera' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
102 |
103 | /// Don't send updates.
:
1087 |
1088 |
1089 | extension SKTile: SKTiledGeometry {}
| `- note: add '@preconcurrency' to the 'SKTiledGeometry' conformance to defer isolation checking to run time
1090 | extension SKTile: Loggable {}
1091 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTileObject.swift:33:9: note: 'visibleToCamera' declared here
31 | /// Generic protocol for renderable Tiled objects.
32 | protocol SKTiledGeometry {
33 | var visibleToCamera: Bool { get set }
| `- note: 'visibleToCamera' declared here
34 | func draw(debug: Bool)
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:298:15: warning: main actor-isolated instance method 'draw(debug:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
296 | - parameter debug: `Bool` debug draw.
297 | */
298 | open func draw(debug: Bool = false) {
| |- warning: main actor-isolated instance method 'draw(debug:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'draw(debug:)' to make this instance method not isolated to the actor
299 | removeAllActions()
300 | texture = tileData.texture
/Users/admin/builder/spi-builder-workspace/Sources/SKTileObject.swift:34:10: note: mark the protocol requirement 'draw(debug:)' 'async' to allow actor-isolated conformances
32 | protocol SKTiledGeometry {
33 | var visibleToCamera: Bool { get set }
34 | func draw(debug: Bool)
| `- note: mark the protocol requirement 'draw(debug:)' 'async' to allow actor-isolated conformances
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:982:33: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
96 |
97 | /// Weak reference to the parent layer.
98 | weak open var layer: SKTileLayer!
| `- note: property declared here
99 |
100 | /// Object is visible in camera.
:
980 | /// Tile description.
981 | override open var description: String {
982 | let layerDescription = (layer != nil) ? ", Layer: \"\(layer.layerName)\"" : ""
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
983 | return "\(tileData.description)\(layerDescription) \(renderMode.debugDescription)"
984 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:982:69: warning: main actor-isolated property 'layerName' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
980 | /// Tile description.
981 | override open var description: String {
982 | let layerDescription = (layer != nil) ? ", Layer: \"\(layer.layerName)\"" : ""
| `- warning: main actor-isolated property 'layerName' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
983 | return "\(tileData.description)\(layerDescription) \(renderMode.debugDescription)"
984 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:892:16: note: property declared here
890 |
891 | /// String representing the layer name (null if not set).
892 | public var layerName: String {
| `- note: property declared here
893 | return self.name ?? "null"
894 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:982:63: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
96 |
97 | /// Weak reference to the parent layer.
98 | weak open var layer: SKTileLayer!
| `- note: property declared here
99 |
100 | /// Object is visible in camera.
:
980 | /// Tile description.
981 | override open var description: String {
982 | let layerDescription = (layer != nil) ? ", Layer: \"\(layer.layerName)\"" : ""
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
983 | return "\(tileData.description)\(layerDescription) \(renderMode.debugDescription)"
984 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:983:19: warning: main actor-isolated property 'tileData' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
93 |
94 | /// Tileset tile data.
95 | open var tileData: SKTilesetData
| `- note: property declared here
96 |
97 | /// Weak reference to the parent layer.
:
981 | override open var description: String {
982 | let layerDescription = (layer != nil) ? ", Layer: \"\(layer.layerName)\"" : ""
983 | return "\(tileData.description)\(layerDescription) \(renderMode.debugDescription)"
| `- warning: main actor-isolated property 'tileData' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
984 | }
985 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTile.swift:983:62: warning: main actor-isolated property 'renderMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
105 |
106 | /// Render mode for this instance.
107 | open var renderMode: TileRenderMode = TileRenderMode.default {
| `- note: property declared here
108 | didSet {
109 | guard (oldValue != renderMode) else { return }
:
981 | override open var description: String {
982 | let layerDescription = (layer != nil) ? ", Layer: \"\(layer.layerName)\"" : ""
983 | return "\(tileData.description)\(layerDescription) \(renderMode.debugDescription)"
| `- warning: main actor-isolated property 'renderMode' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
984 | }
985 |
/Users/admin/builder/spi-builder-workspace/Sources/SKTiled+Debug.swift:72:23: warning: static property 'drawTileBounds' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | */
61 | public struct DebugDrawOptions: OptionSet {
| `- note: consider making struct 'DebugDrawOptions' conform to the 'Sendable' protocol
62 | public let rawValue: Int
63 |
:
70 | static public let drawGraph = DebugDrawOptions(rawValue: 1 << 2) // 4
71 | static public let drawObjectBounds = DebugDrawOptions(rawValue: 1 << 3) // 8
72 | static public let drawTileBounds = DebugDrawOptions(rawValue: 1 << 4) // 16
| |- warning: static property 'drawTileBounds' is not concurrency-safe because non-'Sendable' type 'DebugDrawOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'drawTileBounds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | static public let drawMouseOverObject = DebugDrawOptions(rawValue: 1 << 5) // 32
74 | static public let drawBackground = DebugDrawOptions(rawValue: 1 << 6) // 64
/Users/admin/builder/spi-builder-workspace/Sources/Logging.swift:80:25: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | /// Simple logging class.
65 | internal class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
66 |
67 | public enum DateFormat {
:
78 |
79 | /// Default singleton instance.
80 | internal static let `default` = Logger()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' 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
81 |
82 | /// Default logging level.
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:864:31: warning: main actor-isolated property 'parents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
862 |
863 | override public var description: String {
864 | let isTopLevel = self.parents.count == 1
| `- warning: main actor-isolated property 'parents' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
:
895 |
896 | /// Returns an array of parent layers, beginning with the current.
897 | public var parents: [SKNode] {
| `- note: property declared here
898 | var current = self as SKNode
899 | var result: [SKNode] = [current]
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:865:62: warning: main actor-isolated property 'index' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
863 | override public var description: String {
864 | let isTopLevel = self.parents.count == 1
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
| `- warning: main actor-isolated property 'index' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
867 | return "\(layerTypeString) Layer: \"\(self.path)\"\(indexString), zpos: \(Int(self.zPosition))"
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:123:16: note: property declared here
121 |
122 | /// Layer index. Matches the index of the layer in the source TMX file.
123 | public var index: Int = 0
| `- note: property declared here
124 |
125 | /// Logging verbosity.
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:866:32: warning: main actor-isolated property 'layerType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
864 | let isTopLevel = self.parents.count == 1
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
| `- warning: main actor-isolated property 'layerType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
867 | return "\(layerTypeString) Layer: \"\(self.path)\"\(indexString), zpos: \(Int(self.zPosition))"
868 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:197:18: note: property declared here
195 | }
196 |
197 | internal var layerType: TiledLayerType = TiledLayerType.none
| `- note: property declared here
198 |
199 | /// Layer color.
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:866:68: warning: main actor-isolated property 'layerType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
864 | let isTopLevel = self.parents.count == 1
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
| `- warning: main actor-isolated property 'layerType' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
867 | return "\(layerTypeString) Layer: \"\(self.path)\"\(indexString), zpos: \(Int(self.zPosition))"
868 | }
/Users/admin/builder/spi-builder-workspace/Sources/SKTiledLayerObject.swift:197:18: note: property declared here
195 | }
196 |
197 | internal var layerType: TiledLayerType = TiledLayerType.none
| `- note: property declared here
198 |
199 | /// Layer color.
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:867:52: warning: main actor-isolated property 'path' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
867 | return "\(layerTypeString) Layer: \"\(self.path)\"\(indexString), zpos: \(Int(self.zPosition))"
| `- warning: main actor-isolated property 'path' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
868 | }
869 |
:
931 |
932 | /// Translate the parent hierarchy to a path string
933 | public var path: String {
| `- note: property declared here
934 | let allParents: [SKNode] = self.parents.reversed()
935 | if (allParents.count == 1) { return self.layerName }
/Users/admin/builder/spi-builder-workspace/Sources/SKTileLayer.swift:867:92: warning: main actor-isolated property 'zPosition' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
865 | let indexString = (isTopLevel == true) ? ", index: \(index)" : ""
866 | let layerTypeString = (layerType != TiledLayerType.none) ? layerType.stringValue.capitalized : "Background"
867 | return "\(layerTypeString) Layer: \"\(self.path)\"\(indexString), zpos: \(Int(self.zPosition))"
| `- warning: main actor-isolated property 'zPosition' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
868 | }
869 |
SpriteKit.SKNode:17:25: note: property declared here
15 | open func calculateAccumulatedFrame() -> CGRect
16 | @MainActor open var position: CGPoint { get set }
17 | @MainActor open var zPosition: CGFloat { get set }
| `- note: property declared here
18 | @MainActor open var zRotation: CGFloat { get set }
19 | @MainActor open var xScale: CGFloat { get set }
Build complete! (17.77s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SKTiled",
"name" : "SKTiled",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "tvos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SKTiled",
"targets" : [
"SKTiled"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SKTiledTests",
"module_type" : "SwiftTarget",
"name" : "SKTiledTests",
"path" : "Tests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Assets/characters-8x8.png",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Assets/characters-8x8.tsx",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Assets/environment-8x8.png",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Assets/environment-8x8.tsx",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Assets/items-8x8.png",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Assets/items-8x8.tsx",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Assets/items-alt-8x8.png",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Assets/monsters-16x16.png",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Assets/monsters-16x16.tsx",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Assets/portraits-8x8.png",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Assets/portraits-8x8.tsx",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Assets/test-tilemap.tmx",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"ColorTests.swift",
"CompressionTests.swift",
"CoordinateTests.swift",
"ParserTests.swift",
"PerformanceTests.swift",
"PropertiesTests.swift",
"QueryTests.swift",
"TemplateTests.swift",
"TestMapDelegate.swift",
"TestTilesetDelegate.swift",
"Tests+Extensions.swift",
"TilemapTests.swift",
"TilesetTests.swift"
],
"target_dependencies" : [
"SKTiled"
],
"type" : "test"
},
{
"c99name" : "SKTiled",
"module_type" : "SwiftTarget",
"name" : "SKTiled",
"path" : "Sources",
"product_memberships" : [
"SKTiled"
],
"sources" : [
"AnchorNode.swift",
"Array2D.swift",
"Logging.swift",
"SKGroupLayer.swift",
"SKImageLayer.swift",
"SKObjectGroup.swift",
"SKTile.swift",
"SKTileLayer.swift",
"SKTileObject.swift",
"SKTiled+Debug.swift",
"SKTiled+Extensions.swift",
"SKTiled+GameplayKit.swift",
"SKTiled+Properties.swift",
"SKTiledLayerObject.swift",
"SKTiledObject.swift",
"SKTiledScene.swift",
"SKTiledSceneCamera.swift",
"SKTilemap.swift",
"SKTilemapParser.swift",
"SKTileset.swift",
"SKTilesetData.swift",
"ThreadSafeArray.swift",
"TileAnimationFrame.swift",
"TileCollisionShape.swift",
"TileDataStorage.swift",
"TileObjectOverlay.swift",
"TileObjectProxy.swift",
"TiledBackgroundLayer.swift",
"TiledDebugDrawNode.swift",
"TiledGlobals.swift",
"TiledSceneCameraDelegate.swift",
"TiledSceneDelegate.swift",
"TilemapDelegate.swift",
"TilesetDataSource.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.