The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of WrkstrmColor, reference main (7a988b), with Swift 6.0 for Linux on 12 Nov 2024 01:32:53 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.57.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.0
Building package at path:  $PWD
https://github.com/wrkstrm/WrkstrmColor.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
Fetching https://github.com/wrkstrm/WrkstrmFoundation.git
[1/1823] Fetching wrkstrmfoundation
Fetched https://github.com/wrkstrm/WrkstrmFoundation.git from cache (0.24s)
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 (0.54s)
Fetching https://github.com/wrkstrm/WrkstrmLog.git
Fetching https://github.com/wrkstrm/WrkstrmMain.git
[1/838] Fetching wrkstrmmain
[839/1712] Fetching wrkstrmmain, wrkstrmlog
Fetched https://github.com/wrkstrm/WrkstrmMain.git from cache (0.32s)
Fetched https://github.com/wrkstrm/WrkstrmLog.git from cache (0.32s)
Computing version for https://github.com/wrkstrm/WrkstrmMain.git
Computed https://github.com/wrkstrm/WrkstrmMain.git at 1.0.0 (0.51s)
Computing version for https://github.com/wrkstrm/WrkstrmLog.git
Computed https://github.com/wrkstrm/WrkstrmLog.git at 0.4.0 (0.50s)
Fetching https://github.com/apple/swift-log.git
[1/3677] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.31s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.40s)
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/WrkstrmMain.git
Working copy of https://github.com/wrkstrm/WrkstrmMain.git resolved at 1.0.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.1
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 Palette+HSLuv.swift
[4/14] Compiling WrkstrmColor Palette.swift
[5/14] Compiling WrkstrmColor GradientDescriptor.swift
[6/14] Compiling WrkstrmColor HSLuv+GradientDescriptor.swift
[7/14] Compiling WrkstrmColor Math.swift
[8/14] Compiling WrkstrmColor Palette+Legacy.swift
[9/14] Compiling WrkstrmColor RGBEncodable+ContrastRatio.swift
[10/14] Compiling WrkstrmColor Encodings.swift
[11/14] Compiling WrkstrmColor GradientDescriptor+Sequence.swift
[12/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 |
[13/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 |
[14/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 |
Build complete! (17.10s)
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.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.