This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 Stripes with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/eneko/Stripes.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/eneko/Stripes
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7a6a07c Merge pull request #5 from darbio/main
Cloned https://github.com/eneko/Stripes.git
Revision (git rev-parse @):
7a6a07c62e18465c707be150e79b2e5467bc0824
SUCCESS checkout https://github.com/eneko/Stripes.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/eneko/Stripes.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/4] Compiling Stripes Stripes.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stripes/Stripes.swift:26:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StripesConfig' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct StripesConfig {
    |               `- note: consider making struct 'StripesConfig' conform to the 'Sendable' protocol
 11 |     var background: Color
 12 |     var foreground: Color
    :
 24 |     }
 25 |
 26 |     public static let `default` = StripesConfig()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StripesConfig' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' 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
 27 | }
 28 |
[4/4] Emitting module Stripes
/Users/admin/builder/spi-builder-workspace/Sources/Stripes/Stripes.swift:26:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StripesConfig' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct StripesConfig {
    |               `- note: consider making struct 'StripesConfig' conform to the 'Sendable' protocol
 11 |     var background: Color
 12 |     var foreground: Color
    :
 24 |     }
 25 |
 26 |     public static let `default` = StripesConfig()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StripesConfig' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' 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
 27 | }
 28 |
Build complete! (30.98s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Stripes",
  "name" : "Stripes",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Stripes",
      "targets" : [
        "Stripes"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Stripes",
      "module_type" : "SwiftTarget",
      "name" : "Stripes",
      "path" : "Sources/Stripes",
      "product_memberships" : [
        "Stripes"
      ],
      "sources" : [
        "Stripes.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.