Build Information
Successful build of SwiftyTM1637, reference develop (846db6
), with Swift 6.1 for Linux on 25 Apr 2025 09:48:11 UTC.
Swift 6 data race errors: 12
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftyLinkerKit/SwiftyTM1637.git
Reference: develop
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/SwiftyLinkerKit/SwiftyTM1637
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 846db67 Add description to 7-segment
Cloned https://github.com/SwiftyLinkerKit/SwiftyTM1637.git
Revision (git rev-parse @):
846db6704179a4b3f2fa25bc4a8bf4de69a8237b
SUCCESS checkout https://github.com/SwiftyLinkerKit/SwiftyTM1637.git at develop
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/SwiftyLinkerKit/SwiftyTM1637.git
https://github.com/SwiftyLinkerKit/SwiftyTM1637.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swiftygpio",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/uraimo/SwiftyGPIO.git"
}
],
"manifest_display_name" : "SwiftyTM1637",
"name" : "SwiftyTM1637",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftyTM1637",
"targets" : [
"SwiftyTM1637"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Clock",
"targets" : [
"Clock"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftyTM1637Tests",
"module_type" : "SwiftTarget",
"name" : "SwiftyTM1637Tests",
"path" : "Tests/SwiftyTM1637Tests",
"sources" : [
"SwiftyTM1637Tests.swift"
],
"target_dependencies" : [
"SwiftyTM1637"
],
"type" : "test"
},
{
"c99name" : "SwiftyTM1637",
"module_type" : "SwiftTarget",
"name" : "SwiftyTM1637",
"path" : "Sources/SwiftyTM1637",
"product_dependencies" : [
"SwiftyGPIO"
],
"product_memberships" : [
"SwiftyTM1637",
"Clock"
],
"sources" : [
"SevenSegment.swift",
"SevenSegmentHexDigits.swift",
"SevenSegmentLetters.swift",
"SevenSegmentRepresentable.swift",
"SwiftyTM1637.swift"
],
"type" : "library"
},
{
"c99name" : "Clock",
"module_type" : "SwiftTarget",
"name" : "Clock",
"path" : "Sources/Clock",
"product_dependencies" : [
"SwiftyGPIO"
],
"product_memberships" : [
"Clock"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftyTM1637"
],
"type" : "executable"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/uraimo/SwiftyGPIO.git
[1/2388] Fetching swiftygpio
Fetched https://github.com/uraimo/SwiftyGPIO.git from cache (0.33s)
Computing version for https://github.com/uraimo/SwiftyGPIO.git
Computed https://github.com/uraimo/SwiftyGPIO.git at 1.4.4 (2.88s)
Creating working copy for https://github.com/uraimo/SwiftyGPIO.git
Working copy of https://github.com/uraimo/SwiftyGPIO.git resolved at 1.4.4
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/19] Compiling SwiftyGPIO SunXi.swift
[6/19] Compiling SwiftyGPIO Presets.swift
[7/19] Compiling SwiftyGPIO SwiftyGPIO.swift
[8/19] Compiling SwiftyGPIO SPI.swift
[9/20] Compiling SwiftyGPIO I2C.swift
[10/20] Compiling SwiftyGPIO Mailbox.swift
[11/20] Compiling SwiftyGPIO PWM.swift
[12/20] Emitting module SwiftyGPIO
[13/20] Compiling SwiftyGPIO 1Wire.swift
[14/20] Compiling SwiftyGPIO ADC.swift
[15/20] Compiling SwiftyGPIO UART.swift
[16/21] Wrapping AST for SwiftyGPIO for debugging
[18/27] Compiling SwiftyTM1637 SevenSegmentHexDigits.swift
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegmentHexDigits.swift:13:21: warning: static property 'hexDigits' is not concurrency-safe because non-'Sendable' type '[SevenSegment]' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension SevenSegment {
12 |
13 | public static let hexDigits : [ SevenSegment ] = [
| |- warning: static property 'hexDigits' is not concurrency-safe because non-'Sendable' type '[SevenSegment]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hexDigits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | [ .upperDash, .upperLeft, .upperRight, // 0
15 | .lowerLeft, .lowerRight, .lowerDash ],
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:9:15: note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegmentHexDigits.swift:13:3: warning: 'public' modifier is redundant for static property declared in a public extension
11 | public extension SevenSegment {
12 |
13 | public static let hexDigits : [ SevenSegment ] = [
| `- warning: 'public' modifier is redundant for static property declared in a public extension
14 | [ .upperDash, .upperLeft, .upperRight, // 0
15 | .lowerLeft, .lowerRight, .lowerDash ],
[19/27] Compiling SwiftyTM1637 SevenSegmentLetters.swift
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegmentLetters.swift:12:21: warning: static property 'dash' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public extension SevenSegment {
11 |
12 | public static let dash : SevenSegment = [ .middleDash ] // -
| |- warning: static property 'dash' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public static let letters : [ Character : SevenSegment ] = [
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:9:15: note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegmentLetters.swift:12:3: warning: 'public' modifier is redundant for static property declared in a public extension
10 | public extension SevenSegment {
11 |
12 | public static let dash : SevenSegment = [ .middleDash ] // -
| `- warning: 'public' modifier is redundant for static property declared in a public extension
13 |
14 | public static let letters : [ Character : SevenSegment ] = [
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegmentLetters.swift:14:21: warning: static property 'letters' is not concurrency-safe because non-'Sendable' type '[Character : SevenSegment]' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public static let dash : SevenSegment = [ .middleDash ] // -
13 |
14 | public static let letters : [ Character : SevenSegment ] = [
| |- warning: static property 'letters' is not concurrency-safe because non-'Sendable' type '[Character : SevenSegment]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | "A": SevenSegment(hexDigit: 0xA),
16 | "B": SevenSegment(hexDigit: 0xB),
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:9:15: note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegmentLetters.swift:14:3: warning: 'public' modifier is redundant for static property declared in a public extension
12 | public static let dash : SevenSegment = [ .middleDash ] // -
13 |
14 | public static let letters : [ Character : SevenSegment ] = [
| `- warning: 'public' modifier is redundant for static property declared in a public extension
15 | "A": SevenSegment(hexDigit: 0xA),
16 | "B": SevenSegment(hexDigit: 0xB),
[20/27] Compiling SwiftyTM1637 SevenSegmentRepresentable.swift
[21/27] Compiling SwiftyTM1637 SwiftyTM1637.swift
[22/27] Emitting module SwiftyTM1637
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:13:21: warning: static property 'upperDash' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
12 |
13 | public static let upperDash = SevenSegment(rawValue: 1 << 0)
| |- warning: static property 'upperDash' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'upperDash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let upperRight = SevenSegment(rawValue: 1 << 1)
15 | public static let lowerRight = SevenSegment(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:14:21: warning: static property 'upperRight' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
12 |
13 | public static let upperDash = SevenSegment(rawValue: 1 << 0)
14 | public static let upperRight = SevenSegment(rawValue: 1 << 1)
| |- warning: static property 'upperRight' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'upperRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let lowerRight = SevenSegment(rawValue: 1 << 2)
16 | public static let lowerDash = SevenSegment(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:15:21: warning: static property 'lowerRight' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
:
13 | public static let upperDash = SevenSegment(rawValue: 1 << 0)
14 | public static let upperRight = SevenSegment(rawValue: 1 << 1)
15 | public static let lowerRight = SevenSegment(rawValue: 1 << 2)
| |- warning: static property 'lowerRight' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lowerRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let lowerDash = SevenSegment(rawValue: 1 << 3)
17 | public static let lowerLeft = SevenSegment(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:16:21: warning: static property 'lowerDash' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
:
14 | public static let upperRight = SevenSegment(rawValue: 1 << 1)
15 | public static let lowerRight = SevenSegment(rawValue: 1 << 2)
16 | public static let lowerDash = SevenSegment(rawValue: 1 << 3)
| |- warning: static property 'lowerDash' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lowerDash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let lowerLeft = SevenSegment(rawValue: 1 << 4)
18 | public static let upperLeft = SevenSegment(rawValue: 1 << 5)
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:17:21: warning: static property 'lowerLeft' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
:
15 | public static let lowerRight = SevenSegment(rawValue: 1 << 2)
16 | public static let lowerDash = SevenSegment(rawValue: 1 << 3)
17 | public static let lowerLeft = SevenSegment(rawValue: 1 << 4)
| |- warning: static property 'lowerLeft' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lowerLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let upperLeft = SevenSegment(rawValue: 1 << 5)
19 | public static let middleDash = SevenSegment(rawValue: 1 << 6)
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:18:21: warning: static property 'upperLeft' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
:
16 | public static let lowerDash = SevenSegment(rawValue: 1 << 3)
17 | public static let lowerLeft = SevenSegment(rawValue: 1 << 4)
18 | public static let upperLeft = SevenSegment(rawValue: 1 << 5)
| |- warning: static property 'upperLeft' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'upperLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let middleDash = SevenSegment(rawValue: 1 << 6)
20 |
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:19:21: warning: static property 'middleDash' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
:
17 | public static let lowerLeft = SevenSegment(rawValue: 1 << 4)
18 | public static let upperLeft = SevenSegment(rawValue: 1 << 5)
19 | public static let middleDash = SevenSegment(rawValue: 1 << 6)
| |- warning: static property 'middleDash' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'middleDash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | public static let dot = SevenSegment(rawValue: 1 << 7)
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:21:21: warning: static property 'dot' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
:
19 | public static let middleDash = SevenSegment(rawValue: 1 << 6)
20 |
21 | public static let dot = SevenSegment(rawValue: 1 << 7)
| |- warning: static property 'dot' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dot' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let off = SevenSegment(rawValue: 0)
23 |
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:22:21: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
:
20 |
21 | public static let dot = SevenSegment(rawValue: 1 << 7)
22 | public static let off = SevenSegment(rawValue: 0)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'off' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init(rawValue: UInt8) {
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:22:21: warning: static property 'off' produces an empty option set
20 |
21 | public static let dot = SevenSegment(rawValue: 1 << 7)
22 | public static let off = SevenSegment(rawValue: 0)
| |- warning: static property 'off' produces an empty option set
| `- note: use [] to silence this warning
23 |
24 | public init(rawValue: UInt8) {
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegmentHexDigits.swift:13:21: warning: static property 'hexDigits' is not concurrency-safe because non-'Sendable' type '[SevenSegment]' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public extension SevenSegment {
12 |
13 | public static let hexDigits : [ SevenSegment ] = [
| |- warning: static property 'hexDigits' is not concurrency-safe because non-'Sendable' type '[SevenSegment]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hexDigits' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | [ .upperDash, .upperLeft, .upperRight, // 0
15 | .lowerLeft, .lowerRight, .lowerDash ],
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:9:15: note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegmentHexDigits.swift:13:3: warning: 'public' modifier is redundant for static property declared in a public extension
11 | public extension SevenSegment {
12 |
13 | public static let hexDigits : [ SevenSegment ] = [
| `- warning: 'public' modifier is redundant for static property declared in a public extension
14 | [ .upperDash, .upperLeft, .upperRight, // 0
15 | .lowerLeft, .lowerRight, .lowerDash ],
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegmentLetters.swift:12:21: warning: static property 'dash' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public extension SevenSegment {
11 |
12 | public static let dash : SevenSegment = [ .middleDash ] // -
| |- warning: static property 'dash' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public static let letters : [ Character : SevenSegment ] = [
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:9:15: note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegmentLetters.swift:12:3: warning: 'public' modifier is redundant for static property declared in a public extension
10 | public extension SevenSegment {
11 |
12 | public static let dash : SevenSegment = [ .middleDash ] // -
| `- warning: 'public' modifier is redundant for static property declared in a public extension
13 |
14 | public static let letters : [ Character : SevenSegment ] = [
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegmentLetters.swift:14:21: warning: static property 'letters' is not concurrency-safe because non-'Sendable' type '[Character : SevenSegment]' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public static let dash : SevenSegment = [ .middleDash ] // -
13 |
14 | public static let letters : [ Character : SevenSegment ] = [
| |- warning: static property 'letters' is not concurrency-safe because non-'Sendable' type '[Character : SevenSegment]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'letters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | "A": SevenSegment(hexDigit: 0xA),
16 | "B": SevenSegment(hexDigit: 0xB),
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:9:15: note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegmentLetters.swift:14:3: warning: 'public' modifier is redundant for static property declared in a public extension
12 | public static let dash : SevenSegment = [ .middleDash ] // -
13 |
14 | public static let letters : [ Character : SevenSegment ] = [
| `- warning: 'public' modifier is redundant for static property declared in a public extension
15 | "A": SevenSegment(hexDigit: 0xA),
16 | "B": SevenSegment(hexDigit: 0xB),
[23/27] Compiling SwiftyTM1637 SevenSegment.swift
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:13:21: warning: static property 'upperDash' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
12 |
13 | public static let upperDash = SevenSegment(rawValue: 1 << 0)
| |- warning: static property 'upperDash' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'upperDash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let upperRight = SevenSegment(rawValue: 1 << 1)
15 | public static let lowerRight = SevenSegment(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:14:21: warning: static property 'upperRight' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
12 |
13 | public static let upperDash = SevenSegment(rawValue: 1 << 0)
14 | public static let upperRight = SevenSegment(rawValue: 1 << 1)
| |- warning: static property 'upperRight' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'upperRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let lowerRight = SevenSegment(rawValue: 1 << 2)
16 | public static let lowerDash = SevenSegment(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:15:21: warning: static property 'lowerRight' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
:
13 | public static let upperDash = SevenSegment(rawValue: 1 << 0)
14 | public static let upperRight = SevenSegment(rawValue: 1 << 1)
15 | public static let lowerRight = SevenSegment(rawValue: 1 << 2)
| |- warning: static property 'lowerRight' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lowerRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let lowerDash = SevenSegment(rawValue: 1 << 3)
17 | public static let lowerLeft = SevenSegment(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:16:21: warning: static property 'lowerDash' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
:
14 | public static let upperRight = SevenSegment(rawValue: 1 << 1)
15 | public static let lowerRight = SevenSegment(rawValue: 1 << 2)
16 | public static let lowerDash = SevenSegment(rawValue: 1 << 3)
| |- warning: static property 'lowerDash' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lowerDash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let lowerLeft = SevenSegment(rawValue: 1 << 4)
18 | public static let upperLeft = SevenSegment(rawValue: 1 << 5)
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:17:21: warning: static property 'lowerLeft' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
:
15 | public static let lowerRight = SevenSegment(rawValue: 1 << 2)
16 | public static let lowerDash = SevenSegment(rawValue: 1 << 3)
17 | public static let lowerLeft = SevenSegment(rawValue: 1 << 4)
| |- warning: static property 'lowerLeft' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lowerLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let upperLeft = SevenSegment(rawValue: 1 << 5)
19 | public static let middleDash = SevenSegment(rawValue: 1 << 6)
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:18:21: warning: static property 'upperLeft' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
:
16 | public static let lowerDash = SevenSegment(rawValue: 1 << 3)
17 | public static let lowerLeft = SevenSegment(rawValue: 1 << 4)
18 | public static let upperLeft = SevenSegment(rawValue: 1 << 5)
| |- warning: static property 'upperLeft' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'upperLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let middleDash = SevenSegment(rawValue: 1 << 6)
20 |
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:19:21: warning: static property 'middleDash' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
:
17 | public static let lowerLeft = SevenSegment(rawValue: 1 << 4)
18 | public static let upperLeft = SevenSegment(rawValue: 1 << 5)
19 | public static let middleDash = SevenSegment(rawValue: 1 << 6)
| |- warning: static property 'middleDash' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'middleDash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | public static let dot = SevenSegment(rawValue: 1 << 7)
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:21:21: warning: static property 'dot' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
:
19 | public static let middleDash = SevenSegment(rawValue: 1 << 6)
20 |
21 | public static let dot = SevenSegment(rawValue: 1 << 7)
| |- warning: static property 'dot' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dot' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let off = SevenSegment(rawValue: 0)
23 |
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:22:21: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct SevenSegment : OptionSet, CustomStringConvertible {
| `- note: consider making struct 'SevenSegment' conform to the 'Sendable' protocol
10 |
11 | public let rawValue : UInt8
:
20 |
21 | public static let dot = SevenSegment(rawValue: 1 << 7)
22 | public static let off = SevenSegment(rawValue: 0)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'SevenSegment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'off' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init(rawValue: UInt8) {
/host/spi-builder-workspace/Sources/SwiftyTM1637/SevenSegment.swift:22:21: warning: static property 'off' produces an empty option set
20 |
21 | public static let dot = SevenSegment(rawValue: 1 << 7)
22 | public static let off = SevenSegment(rawValue: 0)
| |- warning: static property 'off' produces an empty option set
| `- note: use [] to silence this warning
23 |
24 | public init(rawValue: UInt8) {
[24/28] Wrapping AST for SwiftyTM1637 for debugging
[26/30] Emitting module Clock
[27/30] Compiling Clock main.swift
[28/31] Wrapping AST for Clock for debugging
[29/31] Write Objects.LinkFileList
[30/31] Linking Clock
Build complete! (23.01s)
Build complete.
{
"dependencies" : [
{
"identity" : "swiftygpio",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/uraimo/SwiftyGPIO.git"
}
],
"manifest_display_name" : "SwiftyTM1637",
"name" : "SwiftyTM1637",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftyTM1637",
"targets" : [
"SwiftyTM1637"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Clock",
"targets" : [
"Clock"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftyTM1637Tests",
"module_type" : "SwiftTarget",
"name" : "SwiftyTM1637Tests",
"path" : "Tests/SwiftyTM1637Tests",
"sources" : [
"SwiftyTM1637Tests.swift"
],
"target_dependencies" : [
"SwiftyTM1637"
],
"type" : "test"
},
{
"c99name" : "SwiftyTM1637",
"module_type" : "SwiftTarget",
"name" : "SwiftyTM1637",
"path" : "Sources/SwiftyTM1637",
"product_dependencies" : [
"SwiftyGPIO"
],
"product_memberships" : [
"SwiftyTM1637",
"Clock"
],
"sources" : [
"SevenSegment.swift",
"SevenSegmentHexDigits.swift",
"SevenSegmentLetters.swift",
"SevenSegmentRepresentable.swift",
"SwiftyTM1637.swift"
],
"type" : "library"
},
{
"c99name" : "Clock",
"module_type" : "SwiftTarget",
"name" : "Clock",
"path" : "Sources/Clock",
"product_dependencies" : [
"SwiftyGPIO"
],
"product_memberships" : [
"Clock"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftyTM1637"
],
"type" : "executable"
}
],
"tools_version" : "4.0"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.