Build Information
Successful build of SwiftGraphics, reference main (4b6e89), with Swift 6.1 for macOS (SPM) on 24 Dec 2025 20:11:58 UTC.
Swift 6 data race errors: 7
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/emorydunn/SwiftGraphics.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/emorydunn/SwiftGraphics
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4b6e89d Use correct line weight
Cloned https://github.com/emorydunn/SwiftGraphics.git
Revision (git rev-parse @):
4b6e89d02ae7cd5dec90aea754631d38245b20ef
SUCCESS checkout https://github.com/emorydunn/SwiftGraphics.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/emorydunn/SwiftGraphics.git
https://github.com/emorydunn/SwiftGraphics.git
{
"dependencies" : [
],
"manifest_display_name" : "SwiftGraphics",
"name" : "SwiftGraphics",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftGraphics",
"targets" : [
"SwiftGraphics"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftGraphicsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftGraphicsTests",
"path" : "Tests/SwiftGraphicsTests",
"sources" : [
"ColorTests.swift",
"RayTracing Tests/RayTraceSketch.swift",
"RayTracing Tests/RayTraceTimingTests.swift",
"SVGTests/SVGContextTests.swift",
"SVGTests/SVGDrawableTests.swift",
"Shape tests/CircleTests.swift",
"Shape tests/IntersectableTests.swift",
"Shape tests/LineTests.swift",
"Shape tests/PathTests.swift",
"Shape tests/RectangleTests.swift",
"SwiftGraphicsTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftGraphics"
],
"type" : "test"
},
{
"c99name" : "SwiftGraphics",
"module_type" : "SwiftTarget",
"name" : "SwiftGraphics",
"path" : "Sources/SwiftGraphics",
"product_memberships" : [
"SwiftGraphics"
],
"sources" : [
"Base Protocols/Intersectable/DefaultIntersections.swift",
"Base Protocols/Intersectable/Intersectable.swift",
"Base Protocols/Intersectable/RayTracable.swift",
"Base Protocols/Polygon.swift",
"Base Protocols/Shape.swift",
"Base Protocols/Sketch Protcols.swift",
"Base Protocols/Sketch.swift",
"Base Protocols/SketchView.swift",
"Drawing/Bitmap Drawing/CGDrawable.swift",
"Drawing/Bitmap Drawing/SketchBitmapDrawing.swift",
"Drawing/BlendMode.swift",
"Drawing/Color.swift",
"Drawing/DrawingContext.swift",
"Drawing/LineCap.swift",
"Drawing/SVG Drawing/SVGContext.swift",
"Drawing/SVG Drawing/SVGDrawable.swift",
"Drawing/SVG Drawing/SketchSVGDrawing.swift",
"Extensions/Angles.swift",
"Extensions/Array.swift",
"Extensions/Clamped.swift",
"Extensions/Double.swift",
"Extensions/String.swift",
"Extensions/XMLElement.swift",
"Math/Perlin.swift",
"Math/PointInPolygon.swift",
"Ray Tracing/CircleEmitter.swift",
"Ray Tracing/DirectionalEmitter.swift",
"Ray Tracing/Emitter.swift",
"Ray Tracing/Fresnel.swift",
"Ray Tracing/LinearEmitter.swift",
"Shapes/BezierPath.swift",
"Shapes/BoundingBox.swift",
"Shapes/Circle/Circle+Drawable.swift",
"Shapes/Circle/Circle+RayTracable.swift",
"Shapes/Circle/Circle.swift",
"Shapes/Hatching/HatchFill.swift",
"Shapes/Hatching/OverflowHatch.swift",
"Shapes/Line.swift",
"Shapes/Path.swift",
"Shapes/Rectangle.swift",
"Shapes/Size.swift",
"Shapes/Vector.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/41] Emitting module SwiftGraphics
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:15:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Returns the current `DrawingContext`, if any
15 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Color of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:18:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Color of the outline of the shape
18 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'strokeColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:21:23: warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// Color of the fill of the shape
21 | public static var fillColor: Color = .clear
| |- warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fillColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fillColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Weight of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:24:23: warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Weight of the outline of the shape
24 | public static var strokeWeight: Double = 1
| |- warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeWeight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'strokeWeight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | /// Color blending mode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:27:23: warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// Color blending mode
27 | public static var blendMode: BlendMode = .normal
| |- warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'blendMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'blendMode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static var lineCap: LineCap = .butt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:29:20: warning: static property 'lineCap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | public static var blendMode: BlendMode = .normal
28 |
29 | public static var lineCap: LineCap = .butt
| |- warning: static property 'lineCap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lineCap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lineCap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Math/Perlin.swift:18:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PerlinGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
13 | ///
14 | /// Implemented from p5.js
15 | public class PerlinGenerator {
| `- note: class 'PerlinGenerator' does not conform to the 'Sendable' protocol
16 |
17 | /// A shared generator
18 | public static let shared = PerlinGenerator()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PerlinGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | let yWrapB = 4
[4/45] Compiling SwiftGraphics XMLElement.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Math/Perlin.swift:18:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PerlinGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
13 | ///
14 | /// Implemented from p5.js
15 | public class PerlinGenerator {
| `- note: class 'PerlinGenerator' does not conform to the 'Sendable' protocol
16 |
17 | /// A shared generator
18 | public static let shared = PerlinGenerator()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PerlinGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | let yWrapB = 4
[5/45] Compiling SwiftGraphics Perlin.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Math/Perlin.swift:18:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PerlinGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
13 | ///
14 | /// Implemented from p5.js
15 | public class PerlinGenerator {
| `- note: class 'PerlinGenerator' does not conform to the 'Sendable' protocol
16 |
17 | /// A shared generator
18 | public static let shared = PerlinGenerator()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PerlinGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | let yWrapB = 4
[6/45] Compiling SwiftGraphics PointInPolygon.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Math/Perlin.swift:18:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PerlinGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
13 | ///
14 | /// Implemented from p5.js
15 | public class PerlinGenerator {
| `- note: class 'PerlinGenerator' does not conform to the 'Sendable' protocol
16 |
17 | /// A shared generator
18 | public static let shared = PerlinGenerator()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PerlinGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | let yWrapB = 4
[7/45] Compiling SwiftGraphics CircleEmitter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Math/Perlin.swift:18:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PerlinGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
13 | ///
14 | /// Implemented from p5.js
15 | public class PerlinGenerator {
| `- note: class 'PerlinGenerator' does not conform to the 'Sendable' protocol
16 |
17 | /// A shared generator
18 | public static let shared = PerlinGenerator()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PerlinGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | let yWrapB = 4
[8/45] Compiling SwiftGraphics DirectionalEmitter.swift
[9/45] Compiling SwiftGraphics Emitter.swift
[10/45] Compiling SwiftGraphics Fresnel.swift
[11/45] Compiling SwiftGraphics LinearEmitter.swift
[12/45] Compiling SwiftGraphics Circle.swift
[13/45] Compiling SwiftGraphics HatchFill.swift
[14/45] Compiling SwiftGraphics OverflowHatch.swift
[15/45] Compiling SwiftGraphics Line.swift
[16/45] Compiling SwiftGraphics Path.swift
[17/45] Compiling SwiftGraphics Rectangle.swift
[18/45] Compiling SwiftGraphics Size.swift
[19/45] Compiling SwiftGraphics Vector.swift
[20/45] Compiling SwiftGraphics Array.swift
[21/45] Compiling SwiftGraphics Clamped.swift
[22/45] Compiling SwiftGraphics Double.swift
[23/45] Compiling SwiftGraphics String.swift
[24/45] Compiling SwiftGraphics SVGContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/SVG Drawing/SVGContext.swift:48:31: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 | public convenience init(sketch: SketchView) {
47 | self.init(
48 | width: Int(sketch.bounds.width),
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 | height: Int(sketch.bounds.height)
50 | )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/SVG Drawing/SVGContext.swift:49:32: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 | self.init(
48 | width: Int(sketch.bounds.width),
49 | height: Int(sketch.bounds.height)
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 | )
51 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
[25/45] Compiling SwiftGraphics SVGDrawable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/SVG Drawing/SVGContext.swift:48:31: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 | public convenience init(sketch: SketchView) {
47 | self.init(
48 | width: Int(sketch.bounds.width),
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 | height: Int(sketch.bounds.height)
50 | )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/SVG Drawing/SVGContext.swift:49:32: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 | self.init(
48 | width: Int(sketch.bounds.width),
49 | height: Int(sketch.bounds.height)
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 | )
51 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
[26/45] Compiling SwiftGraphics SketchSVGDrawing.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/SVG Drawing/SVGContext.swift:48:31: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 | public convenience init(sketch: SketchView) {
47 | self.init(
48 | width: Int(sketch.bounds.width),
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 | height: Int(sketch.bounds.height)
50 | )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/SVG Drawing/SVGContext.swift:49:32: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 | self.init(
48 | width: Int(sketch.bounds.width),
49 | height: Int(sketch.bounds.height)
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 | )
51 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
[27/45] Compiling SwiftGraphics Angles.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/SVG Drawing/SVGContext.swift:48:31: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 | public convenience init(sketch: SketchView) {
47 | self.init(
48 | width: Int(sketch.bounds.width),
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 | height: Int(sketch.bounds.height)
50 | )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/SVG Drawing/SVGContext.swift:49:32: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 | self.init(
48 | width: Int(sketch.bounds.width),
49 | height: Int(sketch.bounds.height)
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 | )
51 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
[28/45] Compiling SwiftGraphics BezierPath.swift
[29/45] Compiling SwiftGraphics BoundingBox.swift
[30/45] Compiling SwiftGraphics Circle+Drawable.swift
[31/45] Compiling SwiftGraphics Circle+RayTracable.swift
[32/45] Compiling SwiftGraphics BlendMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:15:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Returns the current `DrawingContext`, if any
15 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Color of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:18:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Color of the outline of the shape
18 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'strokeColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:21:23: warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// Color of the fill of the shape
21 | public static var fillColor: Color = .clear
| |- warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fillColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fillColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Weight of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:24:23: warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Weight of the outline of the shape
24 | public static var strokeWeight: Double = 1
| |- warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeWeight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'strokeWeight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | /// Color blending mode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:27:23: warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// Color blending mode
27 | public static var blendMode: BlendMode = .normal
| |- warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'blendMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'blendMode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static var lineCap: LineCap = .butt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:29:20: warning: static property 'lineCap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | public static var blendMode: BlendMode = .normal
28 |
29 | public static var lineCap: LineCap = .butt
| |- warning: static property 'lineCap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lineCap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lineCap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | }
[33/45] Compiling SwiftGraphics Color.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:15:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Returns the current `DrawingContext`, if any
15 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Color of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:18:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Color of the outline of the shape
18 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'strokeColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:21:23: warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// Color of the fill of the shape
21 | public static var fillColor: Color = .clear
| |- warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fillColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fillColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Weight of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:24:23: warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Weight of the outline of the shape
24 | public static var strokeWeight: Double = 1
| |- warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeWeight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'strokeWeight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | /// Color blending mode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:27:23: warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// Color blending mode
27 | public static var blendMode: BlendMode = .normal
| |- warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'blendMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'blendMode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static var lineCap: LineCap = .butt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:29:20: warning: static property 'lineCap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | public static var blendMode: BlendMode = .normal
28 |
29 | public static var lineCap: LineCap = .butt
| |- warning: static property 'lineCap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lineCap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lineCap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | }
[34/45] Compiling SwiftGraphics DrawingContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:15:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Returns the current `DrawingContext`, if any
15 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Color of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:18:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Color of the outline of the shape
18 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'strokeColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:21:23: warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// Color of the fill of the shape
21 | public static var fillColor: Color = .clear
| |- warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fillColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fillColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Weight of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:24:23: warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Weight of the outline of the shape
24 | public static var strokeWeight: Double = 1
| |- warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeWeight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'strokeWeight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | /// Color blending mode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:27:23: warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// Color blending mode
27 | public static var blendMode: BlendMode = .normal
| |- warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'blendMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'blendMode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static var lineCap: LineCap = .butt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:29:20: warning: static property 'lineCap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | public static var blendMode: BlendMode = .normal
28 |
29 | public static var lineCap: LineCap = .butt
| |- warning: static property 'lineCap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lineCap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lineCap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | }
[35/45] Compiling SwiftGraphics LineCap.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:15:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Returns the current `DrawingContext`, if any
15 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Color of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:18:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Color of the outline of the shape
18 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'strokeColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:21:23: warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | /// Color of the fill of the shape
21 | public static var fillColor: Color = .clear
| |- warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fillColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fillColor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Weight of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:24:23: warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | /// Weight of the outline of the shape
24 | public static var strokeWeight: Double = 1
| |- warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeWeight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'strokeWeight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | /// Color blending mode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:27:23: warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// Color blending mode
27 | public static var blendMode: BlendMode = .normal
| |- warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'blendMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'blendMode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static var lineCap: LineCap = .butt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:29:20: warning: static property 'lineCap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | public static var blendMode: BlendMode = .normal
28 |
29 | public static var lineCap: LineCap = .butt
| |- warning: static property 'lineCap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lineCap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lineCap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | }
[36/45] Compiling SwiftGraphics Sketch Protcols.swift
[37/45] Compiling SwiftGraphics Sketch.swift
[38/45] Compiling SwiftGraphics SketchView.swift
[39/45] Compiling SwiftGraphics CGDrawable.swift
[40/45] Compiling SwiftGraphics SketchBitmapDrawing.swift
[41/45] Compiling SwiftGraphics DefaultIntersections.swift
[42/45] Compiling SwiftGraphics Intersectable.swift
[43/45] Compiling SwiftGraphics RayTracable.swift
[44/45] Compiling SwiftGraphics Polygon.swift
[45/45] Compiling SwiftGraphics Shape.swift
Build complete! (7.54s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftGraphics",
"name" : "SwiftGraphics",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftGraphics",
"targets" : [
"SwiftGraphics"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftGraphicsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftGraphicsTests",
"path" : "Tests/SwiftGraphicsTests",
"sources" : [
"ColorTests.swift",
"RayTracing Tests/RayTraceSketch.swift",
"RayTracing Tests/RayTraceTimingTests.swift",
"SVGTests/SVGContextTests.swift",
"SVGTests/SVGDrawableTests.swift",
"Shape tests/CircleTests.swift",
"Shape tests/IntersectableTests.swift",
"Shape tests/LineTests.swift",
"Shape tests/PathTests.swift",
"Shape tests/RectangleTests.swift",
"SwiftGraphicsTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftGraphics"
],
"type" : "test"
},
{
"c99name" : "SwiftGraphics",
"module_type" : "SwiftTarget",
"name" : "SwiftGraphics",
"path" : "Sources/SwiftGraphics",
"product_memberships" : [
"SwiftGraphics"
],
"sources" : [
"Base Protocols/Intersectable/DefaultIntersections.swift",
"Base Protocols/Intersectable/Intersectable.swift",
"Base Protocols/Intersectable/RayTracable.swift",
"Base Protocols/Polygon.swift",
"Base Protocols/Shape.swift",
"Base Protocols/Sketch Protcols.swift",
"Base Protocols/Sketch.swift",
"Base Protocols/SketchView.swift",
"Drawing/Bitmap Drawing/CGDrawable.swift",
"Drawing/Bitmap Drawing/SketchBitmapDrawing.swift",
"Drawing/BlendMode.swift",
"Drawing/Color.swift",
"Drawing/DrawingContext.swift",
"Drawing/LineCap.swift",
"Drawing/SVG Drawing/SVGContext.swift",
"Drawing/SVG Drawing/SVGDrawable.swift",
"Drawing/SVG Drawing/SketchSVGDrawing.swift",
"Extensions/Angles.swift",
"Extensions/Array.swift",
"Extensions/Clamped.swift",
"Extensions/Double.swift",
"Extensions/String.swift",
"Extensions/XMLElement.swift",
"Math/Perlin.swift",
"Math/PointInPolygon.swift",
"Ray Tracing/CircleEmitter.swift",
"Ray Tracing/DirectionalEmitter.swift",
"Ray Tracing/Emitter.swift",
"Ray Tracing/Fresnel.swift",
"Ray Tracing/LinearEmitter.swift",
"Shapes/BezierPath.swift",
"Shapes/BoundingBox.swift",
"Shapes/Circle/Circle+Drawable.swift",
"Shapes/Circle/Circle+RayTracable.swift",
"Shapes/Circle/Circle.swift",
"Shapes/Hatching/HatchFill.swift",
"Shapes/Hatching/OverflowHatch.swift",
"Shapes/Line.swift",
"Shapes/Path.swift",
"Shapes/Rectangle.swift",
"Shapes/Size.swift",
"Shapes/Vector.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.