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 CompoundPredicate 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/NoahKamara/CompoundPredicate.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NoahKamara/CompoundPredicate
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6e99619 Update README.md
Cloned https://github.com/NoahKamara/CompoundPredicate.git
Revision (git rev-parse @):
6e996195ff12db90b00737060425dec5d43c1829
SUCCESS checkout https://github.com/NoahKamara/CompoundPredicate.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/NoahKamara/CompoundPredicate.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 Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-6F35C1178C84523A.txt
[6/15] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[7/15] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[8/15] Compiling XCTestDynamicOverlay XCTExpectFailure.swift
[9/15] Compiling XCTestDynamicOverlay Deprecations.swift
[10/15] Compiling XCTestDynamicOverlay Unimplemented.swift
[11/15] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[12/15] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[13/15] Compiling XCTestDynamicOverlay XCTFail.swift
[14/15] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[15/15] Emitting module XCTestDynamicOverlay
[16/20] Compiling CompoundPredicate VariableReplacing.swift
[17/20] Compiling CompoundPredicate RuntimeWarnings.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompoundPredicate/RuntimeWarnings.swift:62:5: warning: let 'dso' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer' may have shared mutable state; this is an error in the Swift 6 language mode
60 | // Feedback filed: https://gist.github.com/stephencelis/a8d06383ed6ccde3e5ef5d1b3ad52bbc
61 | @usableFromInline
62 | let dso = { () -> UnsafeMutableRawPointer in
   |     |- warning: let 'dso' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: annotate 'dso' 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
63 |     let count = _dyld_image_count()
64 |     for i in 0..<count {
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
  |                       `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 |     public typealias Pointee = UInt8
3 |     public let _rawValue: Builtin.RawPointer
[18/20] Emitting module CompoundPredicate
/Users/admin/builder/spi-builder-workspace/Sources/CompoundPredicate/RuntimeWarnings.swift:62:5: warning: let 'dso' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer' may have shared mutable state; this is an error in the Swift 6 language mode
60 | // Feedback filed: https://gist.github.com/stephencelis/a8d06383ed6ccde3e5ef5d1b3ad52bbc
61 | @usableFromInline
62 | let dso = { () -> UnsafeMutableRawPointer in
   |     |- warning: let 'dso' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer' may have shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: annotate 'dso' 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
63 |     let count = _dyld_image_count()
64 |     for i in 0..<count {
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
  |                       `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 |     public typealias Pointee = UInt8
3 |     public let _rawValue: Builtin.RawPointer
[19/20] Compiling CompoundPredicate Predicate+combining.swift
[20/20] Compiling CompoundPredicate PredicateExpressions.swift
Build complete! (50.12s)
Fetching https://github.com/noahkamara/swift-xctesting
[1/844] Fetching swift-xctesting
Fetched https://github.com/noahkamara/swift-xctesting from cache (1.14s)
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-testing.git
Fetching https://github.com/apple/swift-syntax.git
[1/1465] Fetching swift-docc-plugin
[294/3821] Fetching swift-docc-plugin, xctest-dynamic-overlay
[365/13093] Fetching swift-docc-plugin, xctest-dynamic-overlay, swift-testing
[2522/15953] Fetching swift-docc-plugin, xctest-dynamic-overlay, swift-testing, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin from cache (1.32s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.32s)
[1/60937] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.32s)
Fetched https://github.com/apple/swift-testing.git from cache (3.32s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (3.32s)
Computing version for https://github.com/apple/swift-testing.git
Computed https://github.com/apple/swift-testing.git at 0.5.1 (0.59s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (1.33s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.1.1 (0.70s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.68s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.76s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/noahkamara/swift-xctesting
Working copy of https://github.com/noahkamara/swift-xctesting resolved at main (cc74147)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-testing.git
Working copy of https://github.com/apple/swift-testing.git resolved at 0.5.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-xctesting",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/noahkamara/swift-xctesting"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "xctest-dynamic-overlay",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/xctest-dynamic-overlay"
    }
  ],
  "manifest_display_name" : "CompoundPredicate",
  "name" : "CompoundPredicate",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "CompoundPredicate",
      "targets" : [
        "CompoundPredicate"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CompoundPredicateTests",
      "module_type" : "SwiftTarget",
      "name" : "CompoundPredicateTests",
      "path" : "Tests/CompoundPredicateTests",
      "product_dependencies" : [
        "XCTesting"
      ],
      "sources" : [
        "ArithmeticTests.swift",
        "BasicTests.swift",
        "BooleanLogicTests.swift",
        "CastingTests.swift",
        "ComparisonTests.swift",
        "ConditionalTests.swift",
        "OptionalTests.swift",
        "RangeTests.swift",
        "SequenceOperationTests.swift",
        "StringComparisonTests.swift",
        "SubscriptAndMemberTests.swift",
        "Utility/SwiftData.swift",
        "Utility/Utility.swift"
      ],
      "target_dependencies" : [
        "CompoundPredicate"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CompoundPredicate",
      "module_type" : "SwiftTarget",
      "name" : "CompoundPredicate",
      "path" : "Sources/CompoundPredicate",
      "product_dependencies" : [
        "XCTestDynamicOverlay"
      ],
      "product_memberships" : [
        "CompoundPredicate"
      ],
      "sources" : [
        "Predicate+combining.swift",
        "PredicateExpressions.swift",
        "RuntimeWarnings.swift",
        "VariableReplacing.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.