Build Information
Successful build of swift-colorful, reference 1.0.0 (65ad77
), with Swift 6.1 for Linux on 27 Apr 2025 02:08:37 UTC.
Swift 6 data race errors: 4
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/mojzesh/swift-colorful.git
Reference: 1.0.0
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/mojzesh/swift-colorful
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 65ad771 Initial commit
Cloned https://github.com/mojzesh/swift-colorful.git
Revision (git rev-parse @):
65ad771827e2af51be02a33a0762bca09552c89e
SUCCESS checkout https://github.com/mojzesh/swift-colorful.git at 1.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/mojzesh/swift-colorful.git
https://github.com/mojzesh/swift-colorful.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "swift-colorful",
"name" : "swift-colorful",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Colorful",
"targets" : [
"Colorful"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ColorfulTests",
"module_type" : "SwiftTarget",
"name" : "ColorfulTests",
"path" : "Tests/ColorfulTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/ColorfulTests/Resources/hsluv-snapshot-rev4.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"swift_colorfulTests.swift",
"swift_hsluvTests.swift",
"swift_sortTests.swift"
],
"target_dependencies" : [
"Colorful"
],
"type" : "test"
},
{
"c99name" : "Colorful",
"module_type" : "SwiftTarget",
"name" : "Colorful",
"path" : "Sources/Colorful",
"product_memberships" : [
"Colorful"
],
"sources" : [
"colorgens.swift",
"colors.swift",
"happy_palettegen.swift",
"hsluv.swift",
"soft_palettegen.swift",
"sort.swift",
"warm_palettegen.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling Colorful warm_palettegen.swift
[4/10] Emitting module Colorful
/host/spi-builder-workspace/Sources/Colorful/colors.swift:27:12: warning: var 'D65' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | // This is the default reference white point.
27 | public var D65: WhiteReference = WhiteReference(X: 0.95047, Y: 1.00000, Z: 1.08883)
| |- warning: var 'D65' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'D65' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'D65' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | // And another one.
/host/spi-builder-workspace/Sources/Colorful/colors.swift:30:12: warning: var 'D50' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | // And another one.
30 | public var D50: WhiteReference = WhiteReference(X: 0.96422, Y: 1.00000, Z: 0.82521)
| |- warning: var 'D50' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'D50' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'D50' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public struct Color: CustomStringConvertible, Equatable, Comparable {
/host/spi-builder-workspace/Sources/Colorful/hsluv.swift:13:12: warning: var 'hSLuvD65' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | import Foundation
12 |
13 | public var hSLuvD65: WhiteReference = WhiteReference(X: 0.95045592705167, Y: 1.0, Z: 1.089057750759878)
| |- warning: var 'hSLuvD65' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hSLuvD65' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'hSLuvD65' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | extension Color {
/host/spi-builder-workspace/Sources/Colorful/hsluv.swift:142:16: warning: static property 'm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
140 | }
141 |
142 | static var m: [[Float64]] = [
| |- warning: static property 'm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'm' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 | [3.2409699419045214, -1.5373831775700935, -0.49861076029300328],
144 | [-0.96924363628087983, 1.8759675015077207, 0.041555057407175613],
[5/10] Compiling Colorful colors.swift
/host/spi-builder-workspace/Sources/Colorful/colors.swift:27:12: warning: var 'D65' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | // This is the default reference white point.
27 | public var D65: WhiteReference = WhiteReference(X: 0.95047, Y: 1.00000, Z: 1.08883)
| |- warning: var 'D65' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'D65' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'D65' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | // And another one.
/host/spi-builder-workspace/Sources/Colorful/colors.swift:30:12: warning: var 'D50' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | // And another one.
30 | public var D50: WhiteReference = WhiteReference(X: 0.96422, Y: 1.00000, Z: 0.82521)
| |- warning: var 'D50' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'D50' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'D50' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public struct Color: CustomStringConvertible, Equatable, Comparable {
[6/10] Compiling Colorful sort.swift
[7/10] Compiling Colorful happy_palettegen.swift
[8/10] Compiling Colorful soft_palettegen.swift
[9/10] Compiling Colorful colorgens.swift
[10/10] Compiling Colorful hsluv.swift
/host/spi-builder-workspace/Sources/Colorful/hsluv.swift:13:12: warning: var 'hSLuvD65' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | import Foundation
12 |
13 | public var hSLuvD65: WhiteReference = WhiteReference(X: 0.95045592705167, Y: 1.0, Z: 1.089057750759878)
| |- warning: var 'hSLuvD65' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hSLuvD65' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'hSLuvD65' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | extension Color {
/host/spi-builder-workspace/Sources/Colorful/hsluv.swift:142:16: warning: static property 'm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
140 | }
141 |
142 | static var m: [[Float64]] = [
| |- warning: static property 'm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'm' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 | [3.2409699419045214, -1.5373831775700935, -0.49861076029300328],
144 | [-0.96924363628087983, 1.8759675015077207, 0.041555057407175613],
Build complete! (10.57s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-colorful",
"name" : "swift-colorful",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Colorful",
"targets" : [
"Colorful"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ColorfulTests",
"module_type" : "SwiftTarget",
"name" : "ColorfulTests",
"path" : "Tests/ColorfulTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/ColorfulTests/Resources/hsluv-snapshot-rev4.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"swift_colorfulTests.swift",
"swift_hsluvTests.swift",
"swift_sortTests.swift"
],
"target_dependencies" : [
"Colorful"
],
"type" : "test"
},
{
"c99name" : "Colorful",
"module_type" : "SwiftTarget",
"name" : "Colorful",
"path" : "Sources/Colorful",
"product_memberships" : [
"Colorful"
],
"sources" : [
"colorgens.swift",
"colors.swift",
"happy_palettegen.swift",
"hsluv.swift",
"soft_palettegen.swift",
"sort.swift",
"warm_palettegen.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
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.