Build Information
Successful build of MiniP5Printer, reference 0.0.2 (5be180
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 01:39:01 UTC.
Swift 6 data race errors: 20
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 InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LuizZak/MiniP5Printer.git
Reference: 0.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/LuizZak/MiniP5Printer
* tag 0.0.2 -> FETCH_HEAD
HEAD is now at 5be1800 Removing trimmingPrefix usage
Cloned https://github.com/LuizZak/MiniP5Printer.git
Revision (git rev-parse @):
5be1800c72cc4129496abb4d53b316cadfe8431e
SUCCESS checkout https://github.com/LuizZak/MiniP5Printer.git at 0.0.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "minip5printer",
"name": "MiniP5Printer",
"url": "https://github.com/LuizZak/MiniP5Printer.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MiniP5Printer",
"dependencies": [
]
}
]
}
Fetching https://github.com/LuizZak/MiniP5Printer.git
[1/50] Fetching minip5printer
Fetched https://github.com/LuizZak/MiniP5Printer.git from cache (0.56s)
Creating working copy for https://github.com/LuizZak/MiniP5Printer.git
Working copy of https://github.com/LuizZak/MiniP5Printer.git resolved at 0.0.2 (5be1800)
warning: '.resolve-product-dependencies': dependency 'minip5printer' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/LuizZak/MiniP5Printer.git
https://github.com/LuizZak/MiniP5Printer.git
{
"dependencies" : [
],
"manifest_display_name" : "MiniP5Printer",
"name" : "MiniP5Printer",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MiniP5Printer",
"targets" : [
"MiniP5Printer"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MiniP5PrinterTests",
"module_type" : "SwiftTarget",
"name" : "MiniP5PrinterTests",
"path" : "Tests/MiniP5PrinterTests",
"sources" : [
"BaseP5PrinterTests.swift"
],
"target_dependencies" : [
"MiniP5Printer"
],
"type" : "test"
},
{
"c99name" : "MiniP5Printer",
"module_type" : "SwiftTarget",
"name" : "MiniP5Printer",
"path" : "Sources/MiniP5Printer",
"product_memberships" : [
"MiniP5Printer"
],
"sources" : [
"BaseP5Printer.swift",
"Geometry/PMatrix3x3.swift",
"Geometry/PVector2.swift",
"Geometry/PVector2i.swift",
"Geometry/PVector3.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
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/8] Compiling MiniP5Printer PVector3.swift
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/Geometry/PVector3.swift:2:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'PVector3' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct PVector3: Hashable, Codable {
| `- note: consider making struct 'PVector3' conform to the 'Sendable' protocol
2 | public static let zero = Self(0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'PVector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | public static let unitX = Self(x: 1, y: 0, z: 0)
4 | public static let unitY = Self(x: 0, y: 1, z: 0)
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/Geometry/PVector3.swift:3:23: warning: static property 'unitX' is not concurrency-safe because non-'Sendable' type 'PVector3' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct PVector3: Hashable, Codable {
| `- note: consider making struct 'PVector3' conform to the 'Sendable' protocol
2 | public static let zero = Self(0)
3 | public static let unitX = Self(x: 1, y: 0, z: 0)
| |- warning: static property 'unitX' is not concurrency-safe because non-'Sendable' type 'PVector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unitX' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | public static let unitY = Self(x: 0, y: 1, z: 0)
5 | public static let unitZ = Self(x: 0, y: 0, z: 1)
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/Geometry/PVector3.swift:4:23: warning: static property 'unitY' is not concurrency-safe because non-'Sendable' type 'PVector3' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct PVector3: Hashable, Codable {
| `- note: consider making struct 'PVector3' conform to the 'Sendable' protocol
2 | public static let zero = Self(0)
3 | public static let unitX = Self(x: 1, y: 0, z: 0)
4 | public static let unitY = Self(x: 0, y: 1, z: 0)
| |- warning: static property 'unitY' is not concurrency-safe because non-'Sendable' type 'PVector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unitY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static let unitZ = Self(x: 0, y: 0, z: 1)
6 |
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/Geometry/PVector3.swift:5:23: warning: static property 'unitZ' is not concurrency-safe because non-'Sendable' type 'PVector3' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct PVector3: Hashable, Codable {
| `- note: consider making struct 'PVector3' conform to the 'Sendable' protocol
2 | public static let zero = Self(0)
3 | public static let unitX = Self(x: 1, y: 0, z: 0)
4 | public static let unitY = Self(x: 0, y: 1, z: 0)
5 | public static let unitZ = Self(x: 0, y: 0, z: 1)
| |- warning: static property 'unitZ' is not concurrency-safe because non-'Sendable' type 'PVector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unitZ' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | public typealias Scalar = Double
[4/8] Compiling MiniP5Printer PVector2i.swift
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/Geometry/PVector2i.swift:2:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'PVector2i' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct PVector2i: Hashable, Codable {
| `- note: consider making struct 'PVector2i' conform to the 'Sendable' protocol
2 | public static let zero = Self(0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'PVector2i' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | public static let unitX = Self(x: 1, y: 0)
4 | public static let unitY = Self(x: 0, y: 1)
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/Geometry/PVector2i.swift:3:23: warning: static property 'unitX' is not concurrency-safe because non-'Sendable' type 'PVector2i' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct PVector2i: Hashable, Codable {
| `- note: consider making struct 'PVector2i' conform to the 'Sendable' protocol
2 | public static let zero = Self(0)
3 | public static let unitX = Self(x: 1, y: 0)
| |- warning: static property 'unitX' is not concurrency-safe because non-'Sendable' type 'PVector2i' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unitX' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | public static let unitY = Self(x: 0, y: 1)
5 |
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/Geometry/PVector2i.swift:4:23: warning: static property 'unitY' is not concurrency-safe because non-'Sendable' type 'PVector2i' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct PVector2i: Hashable, Codable {
| `- note: consider making struct 'PVector2i' conform to the 'Sendable' protocol
2 | public static let zero = Self(0)
3 | public static let unitX = Self(x: 1, y: 0)
4 | public static let unitY = Self(x: 0, y: 1)
| |- warning: static property 'unitY' is not concurrency-safe because non-'Sendable' type 'PVector2i' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unitY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public typealias Scalar = Int
[5/8] Compiling MiniP5Printer PVector2.swift
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/Geometry/PVector2.swift:2:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'PVector2' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct PVector2: Hashable, Codable {
| `- note: consider making struct 'PVector2' conform to the 'Sendable' protocol
2 | public static let zero = Self(0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'PVector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | public static let unitX = Self(x: 1, y: 0)
4 | public static let unitY = Self(x: 0, y: 1)
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/Geometry/PVector2.swift:3:23: warning: static property 'unitX' is not concurrency-safe because non-'Sendable' type 'PVector2' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct PVector2: Hashable, Codable {
| `- note: consider making struct 'PVector2' conform to the 'Sendable' protocol
2 | public static let zero = Self(0)
3 | public static let unitX = Self(x: 1, y: 0)
| |- warning: static property 'unitX' is not concurrency-safe because non-'Sendable' type 'PVector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unitX' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | public static let unitY = Self(x: 0, y: 1)
5 |
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/Geometry/PVector2.swift:4:23: warning: static property 'unitY' is not concurrency-safe because non-'Sendable' type 'PVector2' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct PVector2: Hashable, Codable {
| `- note: consider making struct 'PVector2' conform to the 'Sendable' protocol
2 | public static let zero = Self(0)
3 | public static let unitX = Self(x: 1, y: 0)
4 | public static let unitY = Self(x: 0, y: 1)
| |- warning: static property 'unitY' is not concurrency-safe because non-'Sendable' type 'PVector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unitY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public typealias Scalar = Double
[6/8] Compiling MiniP5Printer PMatrix3x3.swift
[7/8] Emitting module MiniP5Printer
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/BaseP5Printer.swift:726:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Style' may have shared mutable state; this is an error in the Swift 6 language mode
723 |
724 | /// Style for a draw operation
725 | public struct Style {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
726 | public static let `default` = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
727 | strokeColor: .black,
728 | fillColor: nil,
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/BaseP5Printer.swift:795:16: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
746 |
747 | /// RGBA color with components between 0-255.
748 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
749 | public var alpha: Int
750 | public var red: Int
:
793 |
794 | public extension BaseP5Printer.Color {
795 | static let black = Self(red: 0, green: 0, blue: 0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'black' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
796 | static let grey = Self(red: 127, green: 127, blue: 127)
797 | static let white = Self(red: 255, green: 255, blue: 255)
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/BaseP5Printer.swift:796:16: warning: static property 'grey' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
746 |
747 | /// RGBA color with components between 0-255.
748 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
749 | public var alpha: Int
750 | public var red: Int
:
794 | public extension BaseP5Printer.Color {
795 | static let black = Self(red: 0, green: 0, blue: 0)
796 | static let grey = Self(red: 127, green: 127, blue: 127)
| |- warning: static property 'grey' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'grey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
797 | static let white = Self(red: 255, green: 255, blue: 255)
798 |
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/BaseP5Printer.swift:797:16: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
746 |
747 | /// RGBA color with components between 0-255.
748 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
749 | public var alpha: Int
750 | public var red: Int
:
795 | static let black = Self(red: 0, green: 0, blue: 0)
796 | static let grey = Self(red: 127, green: 127, blue: 127)
797 | static let white = Self(red: 255, green: 255, blue: 255)
| |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'white' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
798 |
799 | // Primary colors
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/BaseP5Printer.swift:800:16: warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
746 |
747 | /// RGBA color with components between 0-255.
748 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
749 | public var alpha: Int
750 | public var red: Int
:
798 |
799 | // Primary colors
800 | static let red = Self(red: 255, green: 0, blue: 0)
| |- warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'red' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
801 | static let green = Self(red: 0, green: 255, blue: 0)
802 | static let blue = Self(red: 0, green: 0, blue: 255)
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/BaseP5Printer.swift:801:16: warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
746 |
747 | /// RGBA color with components between 0-255.
748 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
749 | public var alpha: Int
750 | public var red: Int
:
799 | // Primary colors
800 | static let red = Self(red: 255, green: 0, blue: 0)
801 | static let green = Self(red: 0, green: 255, blue: 0)
| |- warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'green' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
802 | static let blue = Self(red: 0, green: 0, blue: 255)
803 |
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/BaseP5Printer.swift:802:16: warning: static property 'blue' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
746 |
747 | /// RGBA color with components between 0-255.
748 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
749 | public var alpha: Int
750 | public var red: Int
:
800 | static let red = Self(red: 255, green: 0, blue: 0)
801 | static let green = Self(red: 0, green: 255, blue: 0)
802 | static let blue = Self(red: 0, green: 0, blue: 255)
| |- warning: static property 'blue' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
803 |
804 | // Secondary colors
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/BaseP5Printer.swift:805:16: warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
746 |
747 | /// RGBA color with components between 0-255.
748 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
749 | public var alpha: Int
750 | public var red: Int
:
803 |
804 | // Secondary colors
805 | static let yellow = Self(red: 255, green: 255, blue: 0)
| |- warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'yellow' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
806 | static let cyan = Self(red: 0, green: 255, blue: 255)
807 | static let purple = Self(red: 255, green: 0, blue: 255)
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/BaseP5Printer.swift:806:16: warning: static property 'cyan' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
746 |
747 | /// RGBA color with components between 0-255.
748 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
749 | public var alpha: Int
750 | public var red: Int
:
804 | // Secondary colors
805 | static let yellow = Self(red: 255, green: 255, blue: 0)
806 | static let cyan = Self(red: 0, green: 255, blue: 255)
| |- warning: static property 'cyan' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cyan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
807 | static let purple = Self(red: 255, green: 0, blue: 255)
808 | }
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/BaseP5Printer.swift:807:16: warning: static property 'purple' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
746 |
747 | /// RGBA color with components between 0-255.
748 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
749 | public var alpha: Int
750 | public var red: Int
:
805 | static let yellow = Self(red: 255, green: 255, blue: 0)
806 | static let cyan = Self(red: 0, green: 255, blue: 255)
807 | static let purple = Self(red: 255, green: 0, blue: 255)
| |- warning: static property 'purple' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'purple' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
808 | }
809 |
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/Geometry/PVector2.swift:2:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'PVector2' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct PVector2: Hashable, Codable {
| `- note: consider making struct 'PVector2' conform to the 'Sendable' protocol
2 | public static let zero = Self(0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'PVector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | public static let unitX = Self(x: 1, y: 0)
4 | public static let unitY = Self(x: 0, y: 1)
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/Geometry/PVector2.swift:3:23: warning: static property 'unitX' is not concurrency-safe because non-'Sendable' type 'PVector2' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct PVector2: Hashable, Codable {
| `- note: consider making struct 'PVector2' conform to the 'Sendable' protocol
2 | public static let zero = Self(0)
3 | public static let unitX = Self(x: 1, y: 0)
| |- warning: static property 'unitX' is not concurrency-safe because non-'Sendable' type 'PVector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unitX' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | public static let unitY = Self(x: 0, y: 1)
5 |
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/Geometry/PVector2.swift:4:23: warning: static property 'unitY' is not concurrency-safe because non-'Sendable' type 'PVector2' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct PVector2: Hashable, Codable {
| `- note: consider making struct 'PVector2' conform to the 'Sendable' protocol
2 | public static let zero = Self(0)
3 | public static let unitX = Self(x: 1, y: 0)
4 | public static let unitY = Self(x: 0, y: 1)
| |- warning: static property 'unitY' is not concurrency-safe because non-'Sendable' type 'PVector2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unitY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public typealias Scalar = Double
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/Geometry/PVector2i.swift:2:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'PVector2i' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct PVector2i: Hashable, Codable {
| `- note: consider making struct 'PVector2i' conform to the 'Sendable' protocol
2 | public static let zero = Self(0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'PVector2i' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | public static let unitX = Self(x: 1, y: 0)
4 | public static let unitY = Self(x: 0, y: 1)
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/Geometry/PVector2i.swift:3:23: warning: static property 'unitX' is not concurrency-safe because non-'Sendable' type 'PVector2i' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct PVector2i: Hashable, Codable {
| `- note: consider making struct 'PVector2i' conform to the 'Sendable' protocol
2 | public static let zero = Self(0)
3 | public static let unitX = Self(x: 1, y: 0)
| |- warning: static property 'unitX' is not concurrency-safe because non-'Sendable' type 'PVector2i' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unitX' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | public static let unitY = Self(x: 0, y: 1)
5 |
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/Geometry/PVector2i.swift:4:23: warning: static property 'unitY' is not concurrency-safe because non-'Sendable' type 'PVector2i' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct PVector2i: Hashable, Codable {
| `- note: consider making struct 'PVector2i' conform to the 'Sendable' protocol
2 | public static let zero = Self(0)
3 | public static let unitX = Self(x: 1, y: 0)
4 | public static let unitY = Self(x: 0, y: 1)
| |- warning: static property 'unitY' is not concurrency-safe because non-'Sendable' type 'PVector2i' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unitY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public typealias Scalar = Int
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/Geometry/PVector3.swift:2:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'PVector3' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct PVector3: Hashable, Codable {
| `- note: consider making struct 'PVector3' conform to the 'Sendable' protocol
2 | public static let zero = Self(0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'PVector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | public static let unitX = Self(x: 1, y: 0, z: 0)
4 | public static let unitY = Self(x: 0, y: 1, z: 0)
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/Geometry/PVector3.swift:3:23: warning: static property 'unitX' is not concurrency-safe because non-'Sendable' type 'PVector3' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct PVector3: Hashable, Codable {
| `- note: consider making struct 'PVector3' conform to the 'Sendable' protocol
2 | public static let zero = Self(0)
3 | public static let unitX = Self(x: 1, y: 0, z: 0)
| |- warning: static property 'unitX' is not concurrency-safe because non-'Sendable' type 'PVector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unitX' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | public static let unitY = Self(x: 0, y: 1, z: 0)
5 | public static let unitZ = Self(x: 0, y: 0, z: 1)
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/Geometry/PVector3.swift:4:23: warning: static property 'unitY' is not concurrency-safe because non-'Sendable' type 'PVector3' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct PVector3: Hashable, Codable {
| `- note: consider making struct 'PVector3' conform to the 'Sendable' protocol
2 | public static let zero = Self(0)
3 | public static let unitX = Self(x: 1, y: 0, z: 0)
4 | public static let unitY = Self(x: 0, y: 1, z: 0)
| |- warning: static property 'unitY' is not concurrency-safe because non-'Sendable' type 'PVector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unitY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static let unitZ = Self(x: 0, y: 0, z: 1)
6 |
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/Geometry/PVector3.swift:5:23: warning: static property 'unitZ' is not concurrency-safe because non-'Sendable' type 'PVector3' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct PVector3: Hashable, Codable {
| `- note: consider making struct 'PVector3' conform to the 'Sendable' protocol
2 | public static let zero = Self(0)
3 | public static let unitX = Self(x: 1, y: 0, z: 0)
4 | public static let unitY = Self(x: 0, y: 1, z: 0)
5 | public static let unitZ = Self(x: 0, y: 0, z: 1)
| |- warning: static property 'unitZ' is not concurrency-safe because non-'Sendable' type 'PVector3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unitZ' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | public typealias Scalar = Double
[8/8] Compiling MiniP5Printer BaseP5Printer.swift
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/BaseP5Printer.swift:726:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Style' may have shared mutable state; this is an error in the Swift 6 language mode
723 |
724 | /// Style for a draw operation
725 | public struct Style {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
726 | public static let `default` = Self(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
727 | strokeColor: .black,
728 | fillColor: nil,
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/BaseP5Printer.swift:795:16: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
746 |
747 | /// RGBA color with components between 0-255.
748 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
749 | public var alpha: Int
750 | public var red: Int
:
793 |
794 | public extension BaseP5Printer.Color {
795 | static let black = Self(red: 0, green: 0, blue: 0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'black' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
796 | static let grey = Self(red: 127, green: 127, blue: 127)
797 | static let white = Self(red: 255, green: 255, blue: 255)
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/BaseP5Printer.swift:796:16: warning: static property 'grey' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
746 |
747 | /// RGBA color with components between 0-255.
748 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
749 | public var alpha: Int
750 | public var red: Int
:
794 | public extension BaseP5Printer.Color {
795 | static let black = Self(red: 0, green: 0, blue: 0)
796 | static let grey = Self(red: 127, green: 127, blue: 127)
| |- warning: static property 'grey' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'grey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
797 | static let white = Self(red: 255, green: 255, blue: 255)
798 |
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/BaseP5Printer.swift:797:16: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
746 |
747 | /// RGBA color with components between 0-255.
748 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
749 | public var alpha: Int
750 | public var red: Int
:
795 | static let black = Self(red: 0, green: 0, blue: 0)
796 | static let grey = Self(red: 127, green: 127, blue: 127)
797 | static let white = Self(red: 255, green: 255, blue: 255)
| |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'white' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
798 |
799 | // Primary colors
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/BaseP5Printer.swift:800:16: warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
746 |
747 | /// RGBA color with components between 0-255.
748 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
749 | public var alpha: Int
750 | public var red: Int
:
798 |
799 | // Primary colors
800 | static let red = Self(red: 255, green: 0, blue: 0)
| |- warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'red' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
801 | static let green = Self(red: 0, green: 255, blue: 0)
802 | static let blue = Self(red: 0, green: 0, blue: 255)
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/BaseP5Printer.swift:801:16: warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
746 |
747 | /// RGBA color with components between 0-255.
748 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
749 | public var alpha: Int
750 | public var red: Int
:
799 | // Primary colors
800 | static let red = Self(red: 255, green: 0, blue: 0)
801 | static let green = Self(red: 0, green: 255, blue: 0)
| |- warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'green' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
802 | static let blue = Self(red: 0, green: 0, blue: 255)
803 |
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/BaseP5Printer.swift:802:16: warning: static property 'blue' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
746 |
747 | /// RGBA color with components between 0-255.
748 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
749 | public var alpha: Int
750 | public var red: Int
:
800 | static let red = Self(red: 255, green: 0, blue: 0)
801 | static let green = Self(red: 0, green: 255, blue: 0)
802 | static let blue = Self(red: 0, green: 0, blue: 255)
| |- warning: static property 'blue' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'blue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
803 |
804 | // Secondary colors
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/BaseP5Printer.swift:805:16: warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
746 |
747 | /// RGBA color with components between 0-255.
748 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
749 | public var alpha: Int
750 | public var red: Int
:
803 |
804 | // Secondary colors
805 | static let yellow = Self(red: 255, green: 255, blue: 0)
| |- warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'yellow' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
806 | static let cyan = Self(red: 0, green: 255, blue: 255)
807 | static let purple = Self(red: 255, green: 0, blue: 255)
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/BaseP5Printer.swift:806:16: warning: static property 'cyan' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
746 |
747 | /// RGBA color with components between 0-255.
748 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
749 | public var alpha: Int
750 | public var red: Int
:
804 | // Secondary colors
805 | static let yellow = Self(red: 255, green: 255, blue: 0)
806 | static let cyan = Self(red: 0, green: 255, blue: 255)
| |- warning: static property 'cyan' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cyan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
807 | static let purple = Self(red: 255, green: 0, blue: 255)
808 | }
/Users/admin/builder/spi-builder-workspace/Sources/MiniP5Printer/BaseP5Printer.swift:807:16: warning: static property 'purple' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
746 |
747 | /// RGBA color with components between 0-255.
748 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
749 | public var alpha: Int
750 | public var red: Int
:
805 | static let yellow = Self(red: 255, green: 255, blue: 0)
806 | static let cyan = Self(red: 0, green: 255, blue: 255)
807 | static let purple = Self(red: 255, green: 0, blue: 255)
| |- warning: static property 'purple' is not concurrency-safe because non-'Sendable' type 'BaseP5Printer.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'purple' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
808 | }
809 |
Build complete! (5.02s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "MiniP5Printer",
"name" : "MiniP5Printer",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MiniP5Printer",
"targets" : [
"MiniP5Printer"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MiniP5PrinterTests",
"module_type" : "SwiftTarget",
"name" : "MiniP5PrinterTests",
"path" : "Tests/MiniP5PrinterTests",
"sources" : [
"BaseP5PrinterTests.swift"
],
"target_dependencies" : [
"MiniP5Printer"
],
"type" : "test"
},
{
"c99name" : "MiniP5Printer",
"module_type" : "SwiftTarget",
"name" : "MiniP5Printer",
"path" : "Sources/MiniP5Printer",
"product_memberships" : [
"MiniP5Printer"
],
"sources" : [
"BaseP5Printer.swift",
"Geometry/PMatrix3x3.swift",
"Geometry/PVector2.swift",
"Geometry/PVector2i.swift",
"Geometry/PVector3.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.