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

Swift 6 data race errors: 8

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/toastersocks/Flow.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/toastersocks/Flow
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at ae13e06 Add codecov.yml
Cloned https://github.com/toastersocks/Flow.git
Revision (git rev-parse @):
ae13e06a8781fa2b8a46c7312abd4319dbd96aed
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/toastersocks/Flow.git at develop
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/toastersocks/Flow.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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/7] Compiling Flow SupportingTypes.swift
[5/7] Compiling Flow PreviewCode.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flow/PreviewCode.swift:153:20: warning: static property 'red' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
151 |
152 |     enum Rainbow {
153 |         static var red: Color     = .red
    |                    |- warning: static property 'red' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'red' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'red' 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
154 |         static var orange: Color  = .orange
155 |         static var yellow: Color  = .yellow
/Users/admin/builder/spi-builder-workspace/Sources/Flow/PreviewCode.swift:154:20: warning: static property 'orange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
152 |     enum Rainbow {
153 |         static var red: Color     = .red
154 |         static var orange: Color  = .orange
    |                    |- warning: static property 'orange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'orange' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'orange' 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
155 |         static var yellow: Color  = .yellow
156 |         static var green: Color   = .green
/Users/admin/builder/spi-builder-workspace/Sources/Flow/PreviewCode.swift:155:20: warning: static property 'yellow' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
153 |         static var red: Color     = .red
154 |         static var orange: Color  = .orange
155 |         static var yellow: Color  = .yellow
    |                    |- warning: static property 'yellow' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'yellow' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'yellow' 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
156 |         static var green: Color   = .green
157 |         static var blue: Color    = .blue
/Users/admin/builder/spi-builder-workspace/Sources/Flow/PreviewCode.swift:156:20: warning: static property 'green' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
154 |         static var orange: Color  = .orange
155 |         static var yellow: Color  = .yellow
156 |         static var green: Color   = .green
    |                    |- warning: static property 'green' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'green' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'green' 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
157 |         static var blue: Color    = .blue
158 |         static var indigo: Color  = .indigo
/Users/admin/builder/spi-builder-workspace/Sources/Flow/PreviewCode.swift:157:20: warning: static property 'blue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
155 |         static var yellow: Color  = .yellow
156 |         static var green: Color   = .green
157 |         static var blue: Color    = .blue
    |                    |- warning: static property 'blue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'blue' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'blue' 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
158 |         static var indigo: Color  = .indigo
159 |         static var violet: Color  = .purple
/Users/admin/builder/spi-builder-workspace/Sources/Flow/PreviewCode.swift:158:20: warning: static property 'indigo' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
156 |         static var green: Color   = .green
157 |         static var blue: Color    = .blue
158 |         static var indigo: Color  = .indigo
    |                    |- warning: static property 'indigo' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'indigo' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'indigo' 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
159 |         static var violet: Color  = .purple
160 |
/Users/admin/builder/spi-builder-workspace/Sources/Flow/PreviewCode.swift:159:20: warning: static property 'violet' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
157 |         static var blue: Color    = .blue
158 |         static var indigo: Color  = .indigo
159 |         static var violet: Color  = .purple
    |                    |- warning: static property 'violet' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'violet' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'violet' 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
160 |
161 |         static var allColors: [Color] = [
/Users/admin/builder/spi-builder-workspace/Sources/Flow/PreviewCode.swift:161:20: warning: static property 'allColors' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
159 |         static var violet: Color  = .purple
160 |
161 |         static var allColors: [Color] = [
    |                    |- warning: static property 'allColors' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'allColors' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'allColors' 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
162 |             .red,
163 |             .orange,
[6/7] Emitting module Flow
/Users/admin/builder/spi-builder-workspace/Sources/Flow/Flow.swift:231:1: warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
229 | }
230 |
231 | extension CGSize: Hashable {
    | |- warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
232 |     public func hash(into hasher: inout Hasher) {
233 |         hasher.combine(width)
/Users/admin/builder/spi-builder-workspace/Sources/Flow/PreviewCode.swift:153:20: warning: static property 'red' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
151 |
152 |     enum Rainbow {
153 |         static var red: Color     = .red
    |                    |- warning: static property 'red' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'red' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'red' 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
154 |         static var orange: Color  = .orange
155 |         static var yellow: Color  = .yellow
/Users/admin/builder/spi-builder-workspace/Sources/Flow/PreviewCode.swift:154:20: warning: static property 'orange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
152 |     enum Rainbow {
153 |         static var red: Color     = .red
154 |         static var orange: Color  = .orange
    |                    |- warning: static property 'orange' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'orange' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'orange' 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
155 |         static var yellow: Color  = .yellow
156 |         static var green: Color   = .green
/Users/admin/builder/spi-builder-workspace/Sources/Flow/PreviewCode.swift:155:20: warning: static property 'yellow' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
153 |         static var red: Color     = .red
154 |         static var orange: Color  = .orange
155 |         static var yellow: Color  = .yellow
    |                    |- warning: static property 'yellow' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'yellow' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'yellow' 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
156 |         static var green: Color   = .green
157 |         static var blue: Color    = .blue
/Users/admin/builder/spi-builder-workspace/Sources/Flow/PreviewCode.swift:156:20: warning: static property 'green' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
154 |         static var orange: Color  = .orange
155 |         static var yellow: Color  = .yellow
156 |         static var green: Color   = .green
    |                    |- warning: static property 'green' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'green' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'green' 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
157 |         static var blue: Color    = .blue
158 |         static var indigo: Color  = .indigo
/Users/admin/builder/spi-builder-workspace/Sources/Flow/PreviewCode.swift:157:20: warning: static property 'blue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
155 |         static var yellow: Color  = .yellow
156 |         static var green: Color   = .green
157 |         static var blue: Color    = .blue
    |                    |- warning: static property 'blue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'blue' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'blue' 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
158 |         static var indigo: Color  = .indigo
159 |         static var violet: Color  = .purple
/Users/admin/builder/spi-builder-workspace/Sources/Flow/PreviewCode.swift:158:20: warning: static property 'indigo' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
156 |         static var green: Color   = .green
157 |         static var blue: Color    = .blue
158 |         static var indigo: Color  = .indigo
    |                    |- warning: static property 'indigo' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'indigo' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'indigo' 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
159 |         static var violet: Color  = .purple
160 |
/Users/admin/builder/spi-builder-workspace/Sources/Flow/PreviewCode.swift:159:20: warning: static property 'violet' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
157 |         static var blue: Color    = .blue
158 |         static var indigo: Color  = .indigo
159 |         static var violet: Color  = .purple
    |                    |- warning: static property 'violet' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'violet' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'violet' 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
160 |
161 |         static var allColors: [Color] = [
/Users/admin/builder/spi-builder-workspace/Sources/Flow/PreviewCode.swift:161:20: warning: static property 'allColors' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
159 |         static var violet: Color  = .purple
160 |
161 |         static var allColors: [Color] = [
    |                    |- warning: static property 'allColors' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'allColors' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'allColors' 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
162 |             .red,
163 |             .orange,
[7/7] Compiling Flow Flow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flow/Flow.swift:231:1: warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
229 | }
230 |
231 | extension CGSize: Hashable {
    | |- warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
232 |     public func hash(into hasher: inout Hasher) {
233 |         hasher.combine(width)
Build complete! (43.42s)
Fetching https://github.com/llvm-swift/FileCheck.git
Fetching https://github.com/mxcl/Chalk.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/typelift/SwiftCheck
[1/81] Fetching chalk
[60/560] Fetching chalk, filecheck
[156/5430] Fetching chalk, filecheck, swiftcheck
[1562/17144] Fetching chalk, filecheck, swiftcheck, swift-argument-parser
Fetched https://github.com/typelift/SwiftCheck from cache (1.22s)
Computing version for https://github.com/typelift/SwiftCheck
[1732/12274] Fetching chalk, filecheck, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.59s)
Fetched https://github.com/llvm-swift/FileCheck.git from cache (1.59s)
Fetched https://github.com/mxcl/Chalk.git from cache (1.59s)
Computed https://github.com/typelift/SwiftCheck at 0.12.0 (1.03s)
Computing version for https://github.com/llvm-swift/FileCheck.git
Computed https://github.com/llvm-swift/FileCheck.git at 0.2.6 (0.66s)
Computing version for https://github.com/mxcl/Chalk.git
Computed https://github.com/mxcl/Chalk.git at 0.5.0 (0.64s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.3 (0.69s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.3
Creating working copy for https://github.com/mxcl/Chalk.git
Working copy of https://github.com/mxcl/Chalk.git resolved at 0.5.0
Creating working copy for https://github.com/typelift/SwiftCheck
Working copy of https://github.com/typelift/SwiftCheck resolved at 0.12.0
Creating working copy for https://github.com/llvm-swift/FileCheck.git
Working copy of https://github.com/llvm-swift/FileCheck.git resolved at 0.2.6
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftcheck",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.12.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/typelift/SwiftCheck"
    }
  ],
  "manifest_display_name" : "Flow",
  "name" : "Flow",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "Flow",
      "targets" : [
        "Flow"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FlowTests",
      "module_type" : "SwiftTarget",
      "name" : "FlowTests",
      "path" : "Tests/FlowTests",
      "product_dependencies" : [
        "SwiftCheck"
      ],
      "sources" : [
        "+Arbitrary.swift",
        "FloatingPointCompare.swift",
        "FlowTests.swift",
        "Mocks.swift"
      ],
      "target_dependencies" : [
        "Flow"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Flow",
      "module_type" : "SwiftTarget",
      "name" : "Flow",
      "path" : "Sources/Flow",
      "product_memberships" : [
        "Flow"
      ],
      "sources" : [
        "Flow.swift",
        "PreviewCode.swift",
        "SupportingTypes.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.