Build Information
Successful build of swift-colorful, reference master (65ad77
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 21:26:13 UTC.
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mojzesh/swift-colorful.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mojzesh/swift-colorful
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-colorful",
"name": "swift-colorful",
"url": "https://github.com/mojzesh/swift-colorful.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-colorful",
"dependencies": [
]
}
]
}
Fetching https://github.com/mojzesh/swift-colorful.git
[1/57] Fetching swift-colorful
Fetched https://github.com/mojzesh/swift-colorful.git from cache (1.00s)
Creating working copy for https://github.com/mojzesh/swift-colorful.git
Working copy of https://github.com/mojzesh/swift-colorful.git resolved at master (65ad771)
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/mojzesh/swift-colorful.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/38] Write sources
[5/38] Write DemoColorGens-macOS-entitlement.plist
[6/38] Write DemoGradientGen-macOS-entitlement.plist
[8/38] Write DemoColorSort-macOS-entitlement.plist
[9/38] Write sources
[10/38] Write DemoPaletteGens-macOS-entitlement.plist
[11/38] Write sources
[11/38] Write DemoColorBlend-macOS-entitlement.plist
[11/38] Write DemoColorDist-macOS-entitlement.plist
[12/38] Write Benchmark-macOS-entitlement.plist
[12/38] Write sources
[16/38] Write swift-version--7754E27361AE5C74.txt
[18/46] Compiling Colorful warm_palettegen.swift
[19/46] Compiling Colorful sort.swift
[20/46] Compiling Colorful soft_palettegen.swift
[21/46] Emitting module Colorful
/Users/admin/builder/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: annotate 'D65' 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
28 |
29 | // And another one.
/Users/admin/builder/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: annotate 'D50' 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
31 |
32 | public struct Color: CustomStringConvertible, Equatable, Comparable {
/Users/admin/builder/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: annotate 'hSLuvD65' 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
14 |
15 | extension Color {
/Users/admin/builder/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: annotate 'm' 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
143 | [3.2409699419045214, -1.5373831775700935, -0.49861076029300328],
144 | [-0.96924363628087983, 1.8759675015077207, 0.041555057407175613],
[22/46] Compiling Colorful hsluv.swift
/Users/admin/builder/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: annotate 'hSLuvD65' 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
14 |
15 | extension Color {
/Users/admin/builder/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: annotate 'm' 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
143 | [3.2409699419045214, -1.5373831775700935, -0.49861076029300328],
144 | [-0.96924363628087983, 1.8759675015077207, 0.041555057407175613],
[23/46] Compiling Colorful colorgens.swift
[24/46] Compiling Colorful colors.swift
/Users/admin/builder/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: annotate 'D65' 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
28 |
29 | // And another one.
/Users/admin/builder/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: annotate 'D50' 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
31 |
32 | public struct Color: CustomStringConvertible, Equatable, Comparable {
[25/46] Compiling Colorful happy_palettegen.swift
[26/50] Compiling DemoColorDist main.swift
[27/50] Emitting module DemoColorDist
[27/50] Write Objects.LinkFileList
[28/50] Linking DemoColorDist-macOS
[29/50] Applying DemoColorDist-macOS
[31/50] Emitting module DemoShared
[32/50] Compiling DemoShared shared.swift
[33/62] Compiling Benchmark main.swift
[34/62] Emitting module Benchmark
[34/62] Write Objects.LinkFileList
[36/62] Emitting module DemoColorBlend
[37/62] Compiling DemoColorBlend main.swift
[37/62] Linking Benchmark-macOS
[38/62] Write Objects.LinkFileList
[40/62] Compiling DemoColorGens main.swift
[41/62] Emitting module DemoColorGens
[41/62] Write Objects.LinkFileList
[42/62] Applying Benchmark-macOS
[44/62] Emitting module DemoColorSort
[45/62] Compiling DemoColorSort main.swift
[45/62] Write Objects.LinkFileList
[47/62] Emitting module DemoGradientGen
[48/62] Compiling DemoGradientGen main.swift
[48/62] Write Objects.LinkFileList
[50/62] Compiling DemoPaletteGens main.swift
[51/62] Emitting module DemoPaletteGens
[51/62] Write Objects.LinkFileList
[52/62] Linking DemoColorBlend-macOS
[53/62] Linking DemoColorGens-macOS
[54/62] Linking DemoColorSort-macOS
[55/62] Applying DemoColorBlend-macOS
[56/62] Applying DemoColorGens-macOS
[57/62] Linking DemoGradientGen-macOS
[58/62] Applying DemoColorSort-macOS
[59/62] Applying DemoGradientGen-macOS
[60/62] Linking DemoPaletteGens-macOS
[61/62] Applying DemoPaletteGens-macOS
Build complete! (13.11s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-colorful",
"name" : "swift-colorful",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Colorful",
"targets" : [
"Colorful"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DemoColorBlend-macOS",
"targets" : [
"DemoColorBlend"
],
"type" : {
"executable" : null
}
},
{
"name" : "DemoColorDist-macOS",
"targets" : [
"DemoColorDist"
],
"type" : {
"executable" : null
}
},
{
"name" : "DemoColorGens-macOS",
"targets" : [
"DemoColorGens"
],
"type" : {
"executable" : null
}
},
{
"name" : "DemoColorSort-macOS",
"targets" : [
"DemoColorSort"
],
"type" : {
"executable" : null
}
},
{
"name" : "DemoGradientGen-macOS",
"targets" : [
"DemoGradientGen"
],
"type" : {
"executable" : null
}
},
{
"name" : "DemoPaletteGens-macOS",
"targets" : [
"DemoPaletteGens"
],
"type" : {
"executable" : null
}
},
{
"name" : "Benchmark-macOS",
"targets" : [
"Benchmark"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "DemoShared",
"module_type" : "SwiftTarget",
"name" : "DemoShared",
"path" : "Sources/Demos/Shared",
"product_memberships" : [
"DemoColorBlend-macOS",
"DemoColorGens-macOS",
"DemoColorSort-macOS",
"DemoGradientGen-macOS",
"DemoPaletteGens-macOS",
"Benchmark-macOS"
],
"sources" : [
"shared.swift"
],
"target_dependencies" : [
"Colorful"
],
"type" : "library"
},
{
"c99name" : "DemoPaletteGens",
"module_type" : "SwiftTarget",
"name" : "DemoPaletteGens",
"path" : "Sources/Demos/PaletteGens",
"product_memberships" : [
"DemoPaletteGens-macOS"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Colorful",
"DemoShared"
],
"type" : "executable"
},
{
"c99name" : "DemoGradientGen",
"module_type" : "SwiftTarget",
"name" : "DemoGradientGen",
"path" : "Sources/Demos/GradientGen",
"product_memberships" : [
"DemoGradientGen-macOS"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Colorful",
"DemoShared"
],
"type" : "executable"
},
{
"c99name" : "DemoColorSort",
"module_type" : "SwiftTarget",
"name" : "DemoColorSort",
"path" : "Sources/Demos/ColorSort",
"product_memberships" : [
"DemoColorSort-macOS"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Colorful",
"DemoShared"
],
"type" : "executable"
},
{
"c99name" : "DemoColorGens",
"module_type" : "SwiftTarget",
"name" : "DemoColorGens",
"path" : "Sources/Demos/ColorGens",
"product_memberships" : [
"DemoColorGens-macOS"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Colorful",
"DemoShared"
],
"type" : "executable"
},
{
"c99name" : "DemoColorDist",
"module_type" : "SwiftTarget",
"name" : "DemoColorDist",
"path" : "Sources/Demos/ColorDist",
"product_memberships" : [
"DemoColorDist-macOS"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Colorful"
],
"type" : "executable"
},
{
"c99name" : "DemoColorBlend",
"module_type" : "SwiftTarget",
"name" : "DemoColorBlend",
"path" : "Sources/Demos/ColorBlend",
"product_memberships" : [
"DemoColorBlend-macOS"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Colorful",
"DemoShared"
],
"type" : "executable"
},
{
"c99name" : "ColorfulTests",
"module_type" : "SwiftTarget",
"name" : "ColorfulTests",
"path" : "Tests/ColorfulTests",
"resources" : [
{
"path" : "/Users/admin/builder/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",
"DemoColorBlend-macOS",
"DemoColorDist-macOS",
"DemoColorGens-macOS",
"DemoColorSort-macOS",
"DemoGradientGen-macOS",
"DemoPaletteGens-macOS",
"Benchmark-macOS"
],
"sources" : [
"colorgens.swift",
"colors.swift",
"happy_palettegen.swift",
"hsluv.swift",
"soft_palettegen.swift",
"sort.swift",
"warm_palettegen.swift"
],
"type" : "library"
},
{
"c99name" : "Benchmark",
"module_type" : "SwiftTarget",
"name" : "Benchmark",
"path" : "Sources/Demos/Benchmark",
"product_memberships" : [
"Benchmark-macOS"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Colorful",
"DemoShared"
],
"type" : "executable"
}
],
"tools_version" : "5.6"
}
Done.