The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of WrkstrmColor, reference main (7a988b), with Swift 6.1 for Linux on 29 Apr 2025 00:39:02 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/wrkstrm/WrkstrmColor.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/wrkstrm/WrkstrmColor
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7a988b7 Linting changes.
Cloned https://github.com/wrkstrm/WrkstrmColor.git
Revision (git rev-parse @):
7a988b768e511fa7b1a3108d5b2129b835fb9d7b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wrkstrm/WrkstrmColor.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/wrkstrm/WrkstrmColor.git
https://github.com/wrkstrm/WrkstrmColor.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "wrkstrmfoundation",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/wrkstrm/WrkstrmFoundation.git"
    }
  ],
  "manifest_display_name" : "WrkstrmColor",
  "name" : "WrkstrmColor",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "WrkstrmColor",
      "targets" : [
        "WrkstrmColor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WrkstrmColorTests",
      "module_type" : "SwiftTarget",
      "name" : "WrkstrmColorTests",
      "path" : "Tests/WrkstrmColorTests",
      "product_dependencies" : [
        "WrkstrmFoundation"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/WrkstrmColorTests/Resources/snapshot-rev4.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "ConstantTests.swift",
        "HSLuvTests.swift",
        "KitTests.swift",
        "Snapshot.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "WrkstrmColor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WrkstrmColor",
      "module_type" : "SwiftTarget",
      "name" : "WrkstrmColor",
      "path" : "Sources/WrkstrmColor",
      "product_memberships" : [
        "WrkstrmColor"
      ],
      "sources" : [
        "Color+Extensions.swift",
        "Encodings+Conversions.swift",
        "Encodings.swift",
        "GradientDescriptor+Sequence.swift",
        "GradientDescriptor.swift",
        "HSLuv+GradientDescriptor.swift",
        "Math.swift",
        "Palette+HSLuv.swift",
        "Palette+Legacy.swift",
        "Palette.swift",
        "RGBEncodable+ContrastRatio.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/wrkstrm/WrkstrmFoundation.git
[1/1883] Fetching wrkstrmfoundation
Fetched https://github.com/wrkstrm/WrkstrmFoundation.git from cache (0.60s)
Computing version for https://github.com/wrkstrm/WrkstrmFoundation.git
warning: 'wrkstrmfoundation': ---- ConfigurationService Deps ----
[PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmLog.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(0.4.0..<1.0.0))), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmMain.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(1.0.0..<2.0.0)))]
---- ConfigurationService Deps ----
Computed https://github.com/wrkstrm/WrkstrmFoundation.git at 0.6.3 (1.44s)
Fetching https://github.com/wrkstrm/WrkstrmLog.git
Fetching https://github.com/wrkstrm/WrkstrmMain.git
[1/838] Fetching wrkstrmmain
[186/1712] Fetching wrkstrmmain, wrkstrmlog
Fetched https://github.com/wrkstrm/WrkstrmMain.git from cache (0.30s)
Fetched https://github.com/wrkstrm/WrkstrmLog.git from cache (0.31s)
Computing version for https://github.com/wrkstrm/WrkstrmMain.git
Computed https://github.com/wrkstrm/WrkstrmMain.git at 1.0.0 (1.03s)
Computing version for https://github.com/wrkstrm/WrkstrmLog.git
Computed https://github.com/wrkstrm/WrkstrmLog.git at 0.4.0 (0.73s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.42s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.14s)
Creating working copy for https://github.com/wrkstrm/WrkstrmMain.git
Working copy of https://github.com/wrkstrm/WrkstrmMain.git resolved at 1.0.0
Creating working copy for https://github.com/wrkstrm/WrkstrmLog.git
Working copy of https://github.com/wrkstrm/WrkstrmLog.git resolved at 0.4.0
Creating working copy for https://github.com/wrkstrm/WrkstrmFoundation.git
Working copy of https://github.com/wrkstrm/WrkstrmFoundation.git resolved at 0.6.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
warning: 'wrkstrmfoundation': ---- ConfigurationService Deps ----
[PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmLog.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(0.4.0..<1.0.0))), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmMain.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(1.0.0..<2.0.0)))]
---- ConfigurationService Deps ----
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling WrkstrmColor Encodings.swift
[4/13] Compiling WrkstrmColor GradientDescriptor+Sequence.swift
[5/14] Compiling WrkstrmColor Palette.swift
[6/14] Compiling WrkstrmColor Math.swift
[7/14] Compiling WrkstrmColor Palette+Legacy.swift
[8/14] Compiling WrkstrmColor Palette+HSLuv.swift
[9/14] Emitting module WrkstrmColor
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:6:19: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  4 |
  5 | extension XYZ {
  6 |   func fromLinear<Value: ComponentValue>(_ c: Value) -> Value {
    |                   `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  7 |     if c <= 0.003_130_8 {
  8 |       return 12.92 * c
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings.swift:57:19: note: 'Value' previously declared here
 55 |
 56 | /// Luminance, Blue-stimulation, Cone-response [CIE 1931] (XYZ)
 57 | public struct XYZ<Value: BinaryFloatingPoint>: ComponentConvertible {
    |                   `- note: 'Value' previously declared here
 58 |   public var x: Value
 59 |
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:49:13: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 47 |
 48 | extension XYZ {
 49 |   func yToL<Value: ComponentValue>(_ y: Value) -> Value {
    |             `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 50 |     if y <= Constant.epsilon() {
 51 |       return y * Constant.kappa()
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings.swift:57:19: note: 'Value' previously declared here
 55 |
 56 | /// Luminance, Blue-stimulation, Cone-response [CIE 1931] (XYZ)
 57 | public struct XYZ<Value: BinaryFloatingPoint>: ComponentConvertible {
    |                   `- note: 'Value' previously declared here
 58 |   public var x: Value
 59 |
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:75:13: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 73 |
 74 | extension LUV {
 75 |   func lToY<Value: ComponentValue>(_ l: Value) -> Value {
    |             `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 76 |     if l <= 8 {
 77 |       return l / Constant.kappa()
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings.swift:74:19: note: 'Value' previously declared here
 72 |
 73 | /// L*, u*, v* [CIE 1976] (LUV)
 74 | public struct LUV<Value: BinaryFloatingPoint>: ComponentConvertible {
    |                   `- note: 'Value' previously declared here
 75 |   public var l: Value
 76 |
[10/14] Compiling WrkstrmColor Color+Extensions.swift
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:6:19: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  4 |
  5 | extension XYZ {
  6 |   func fromLinear<Value: ComponentValue>(_ c: Value) -> Value {
    |                   `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  7 |     if c <= 0.003_130_8 {
  8 |       return 12.92 * c
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings.swift:57:19: note: 'Value' previously declared here
 55 |
 56 | /// Luminance, Blue-stimulation, Cone-response [CIE 1931] (XYZ)
 57 | public struct XYZ<Value: BinaryFloatingPoint>: ComponentConvertible {
    |                   `- note: 'Value' previously declared here
 58 |   public var x: Value
 59 |
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:49:13: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 47 |
 48 | extension XYZ {
 49 |   func yToL<Value: ComponentValue>(_ y: Value) -> Value {
    |             `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 50 |     if y <= Constant.epsilon() {
 51 |       return y * Constant.kappa()
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings.swift:57:19: note: 'Value' previously declared here
 55 |
 56 | /// Luminance, Blue-stimulation, Cone-response [CIE 1931] (XYZ)
 57 | public struct XYZ<Value: BinaryFloatingPoint>: ComponentConvertible {
    |                   `- note: 'Value' previously declared here
 58 |   public var x: Value
 59 |
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:75:13: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 73 |
 74 | extension LUV {
 75 |   func lToY<Value: ComponentValue>(_ l: Value) -> Value {
    |             `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 76 |     if l <= 8 {
 77 |       return l / Constant.kappa()
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings.swift:74:19: note: 'Value' previously declared here
 72 |
 73 | /// L*, u*, v* [CIE 1976] (LUV)
 74 | public struct LUV<Value: BinaryFloatingPoint>: ComponentConvertible {
    |                   `- note: 'Value' previously declared here
 75 |   public var l: Value
 76 |
[11/14] Compiling WrkstrmColor Encodings+Conversions.swift
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:6:19: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  4 |
  5 | extension XYZ {
  6 |   func fromLinear<Value: ComponentValue>(_ c: Value) -> Value {
    |                   `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  7 |     if c <= 0.003_130_8 {
  8 |       return 12.92 * c
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings.swift:57:19: note: 'Value' previously declared here
 55 |
 56 | /// Luminance, Blue-stimulation, Cone-response [CIE 1931] (XYZ)
 57 | public struct XYZ<Value: BinaryFloatingPoint>: ComponentConvertible {
    |                   `- note: 'Value' previously declared here
 58 |   public var x: Value
 59 |
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:49:13: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 47 |
 48 | extension XYZ {
 49 |   func yToL<Value: ComponentValue>(_ y: Value) -> Value {
    |             `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 50 |     if y <= Constant.epsilon() {
 51 |       return y * Constant.kappa()
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings.swift:57:19: note: 'Value' previously declared here
 55 |
 56 | /// Luminance, Blue-stimulation, Cone-response [CIE 1931] (XYZ)
 57 | public struct XYZ<Value: BinaryFloatingPoint>: ComponentConvertible {
    |                   `- note: 'Value' previously declared here
 58 |   public var x: Value
 59 |
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings+Conversions.swift:75:13: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 73 |
 74 | extension LUV {
 75 |   func lToY<Value: ComponentValue>(_ l: Value) -> Value {
    |             `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 76 |     if l <= 8 {
 77 |       return l / Constant.kappa()
/host/spi-builder-workspace/Sources/WrkstrmColor/Encodings.swift:74:19: note: 'Value' previously declared here
 72 |
 73 | /// L*, u*, v* [CIE 1976] (LUV)
 74 | public struct LUV<Value: BinaryFloatingPoint>: ComponentConvertible {
    |                   `- note: 'Value' previously declared here
 75 |   public var l: Value
 76 |
[12/14] Compiling WrkstrmColor GradientDescriptor.swift
[13/14] Compiling WrkstrmColor HSLuv+GradientDescriptor.swift
[14/14] Compiling WrkstrmColor RGBEncodable+ContrastRatio.swift
Build complete! (16.52s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "wrkstrmfoundation",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/wrkstrm/WrkstrmFoundation.git"
    }
  ],
  "manifest_display_name" : "WrkstrmColor",
  "name" : "WrkstrmColor",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "WrkstrmColor",
      "targets" : [
        "WrkstrmColor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WrkstrmColorTests",
      "module_type" : "SwiftTarget",
      "name" : "WrkstrmColorTests",
      "path" : "Tests/WrkstrmColorTests",
      "product_dependencies" : [
        "WrkstrmFoundation"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/WrkstrmColorTests/Resources/snapshot-rev4.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "ConstantTests.swift",
        "HSLuvTests.swift",
        "KitTests.swift",
        "Snapshot.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "WrkstrmColor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WrkstrmColor",
      "module_type" : "SwiftTarget",
      "name" : "WrkstrmColor",
      "path" : "Sources/WrkstrmColor",
      "product_memberships" : [
        "WrkstrmColor"
      ],
      "sources" : [
        "Color+Extensions.swift",
        "Encodings+Conversions.swift",
        "Encodings.swift",
        "GradientDescriptor+Sequence.swift",
        "GradientDescriptor.swift",
        "HSLuv+GradientDescriptor.swift",
        "Math.swift",
        "Palette+HSLuv.swift",
        "Palette+Legacy.swift",
        "Palette.swift",
        "RGBEncodable+ContrastRatio.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
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.