Build Information
Successful build of MiniP5Printer, reference main (5be180
), with Swift 6.0 for Linux on 5 Nov 2024 09:30:15 UTC.
Swift 6 data race errors: 20
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LuizZak/MiniP5Printer.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/LuizZak/MiniP5Printer
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/LuizZak/MiniP5Printer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling MiniP5Printer PVector3.swift
/host/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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | public static let unitX = Self(x: 1, y: 0, z: 0)
4 | public static let unitY = Self(x: 0, y: 1, z: 0)
/host/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: annotate 'unitX' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | public static let unitY = Self(x: 0, y: 1, z: 0)
5 | public static let unitZ = Self(x: 0, y: 0, z: 1)
/host/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: annotate 'unitY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static let unitZ = Self(x: 0, y: 0, z: 1)
6 |
/host/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: annotate 'unitZ' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | public typealias Scalar = Double
[4/8] Compiling MiniP5Printer PVector2i.swift
/host/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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | public static let unitX = Self(x: 1, y: 0)
4 | public static let unitY = Self(x: 0, y: 1)
/host/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: annotate 'unitX' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | public static let unitY = Self(x: 0, y: 1)
5 |
/host/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: annotate 'unitY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public typealias Scalar = Int
[5/8] Compiling MiniP5Printer PVector2.swift
/host/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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | public static let unitX = Self(x: 1, y: 0)
4 | public static let unitY = Self(x: 0, y: 1)
/host/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: annotate 'unitX' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | public static let unitY = Self(x: 0, y: 1)
5 |
/host/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: annotate 'unitY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public typealias Scalar = Double
[6/8] Emitting module MiniP5Printer
/host/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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | public static let unitX = Self(x: 1, y: 0, z: 0)
4 | public static let unitY = Self(x: 0, y: 1, z: 0)
/host/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: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
796 | static let grey = Self(red: 127, green: 127, blue: 127)
797 | static let white = Self(red: 255, green: 255, blue: 255)
/host/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: annotate 'red' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
801 | static let green = Self(red: 0, green: 255, blue: 0)
802 | static let blue = Self(red: 0, green: 0, blue: 255)
/host/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: annotate 'purple' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
808 | }
809 |
/host/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
727 | strokeColor: .black,
728 | fillColor: nil,
/host/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: annotate 'grey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
797 | static let white = Self(red: 255, green: 255, blue: 255)
798 |
/host/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: annotate 'white' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
798 |
799 | // Primary colors
/host/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: annotate 'green' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
802 | static let blue = Self(red: 0, green: 0, blue: 255)
803 |
/host/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: annotate 'blue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
803 |
804 | // Secondary colors
/host/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: annotate 'yellow' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
806 | static let cyan = Self(red: 0, green: 255, blue: 255)
807 | static let purple = Self(red: 255, green: 0, blue: 255)
/host/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: annotate 'cyan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
807 | static let purple = Self(red: 255, green: 0, blue: 255)
808 | }
/host/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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | public static let unitX = Self(x: 1, y: 0)
4 | public static let unitY = Self(x: 0, y: 1)
/host/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: annotate 'unitX' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | public static let unitY = Self(x: 0, y: 1)
5 |
/host/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: annotate 'unitY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public typealias Scalar = Double
/host/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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | public static let unitX = Self(x: 1, y: 0)
4 | public static let unitY = Self(x: 0, y: 1)
/host/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: annotate 'unitX' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | public static let unitY = Self(x: 0, y: 1)
5 |
/host/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: annotate 'unitY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public typealias Scalar = Int
/host/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: annotate 'unitX' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | public static let unitY = Self(x: 0, y: 1, z: 0)
5 | public static let unitZ = Self(x: 0, y: 0, z: 1)
/host/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: annotate 'unitY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static let unitZ = Self(x: 0, y: 0, z: 1)
6 |
/host/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: annotate 'unitZ' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | public typealias Scalar = Double
[7/8] Compiling MiniP5Printer BaseP5Printer.swift
/host/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: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | public static let unitX = Self(x: 1, y: 0, z: 0)
4 | public static let unitY = Self(x: 0, y: 1, z: 0)
/host/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: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
796 | static let grey = Self(red: 127, green: 127, blue: 127)
797 | static let white = Self(red: 255, green: 255, blue: 255)
/host/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: annotate 'red' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
801 | static let green = Self(red: 0, green: 255, blue: 0)
802 | static let blue = Self(red: 0, green: 0, blue: 255)
/host/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: annotate 'purple' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
808 | }
809 |
/host/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
727 | strokeColor: .black,
728 | fillColor: nil,
/host/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: annotate 'grey' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
797 | static let white = Self(red: 255, green: 255, blue: 255)
798 |
/host/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: annotate 'white' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
798 |
799 | // Primary colors
/host/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: annotate 'green' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
802 | static let blue = Self(red: 0, green: 0, blue: 255)
803 |
/host/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: annotate 'blue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
803 |
804 | // Secondary colors
/host/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: annotate 'yellow' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
806 | static let cyan = Self(red: 0, green: 255, blue: 255)
807 | static let purple = Self(red: 255, green: 0, blue: 255)
/host/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: annotate 'cyan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
807 | static let purple = Self(red: 255, green: 0, blue: 255)
808 | }
/host/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: annotate 'unitX' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 | public static let unitY = Self(x: 0, y: 1, z: 0)
5 | public static let unitZ = Self(x: 0, y: 0, z: 1)
/host/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: annotate 'unitY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | public static let unitZ = Self(x: 0, y: 0, z: 1)
6 |
/host/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: annotate 'unitZ' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | public typealias Scalar = Double
[8/8] Compiling MiniP5Printer PMatrix3x3.swift
Build complete! (9.64s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "MiniP5Printer",
"name" : "MiniP5Printer",
"path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.