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 TestSpy, reference master (bf53ad), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 02:36:59 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/f-meloni/TestSpy.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/f-meloni/TestSpy
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at bf53adc Merge pull request #9 from f-meloni/dependabot/bundler/cocoapods-downloader-1.6.3
Cloned https://github.com/f-meloni/TestSpy.git
Revision (git rev-parse @):
bf53adc8423743f44922627c6ada4825cfee3627
SUCCESS checkout https://github.com/f-meloni/TestSpy.git at master
Fetching https://github.com/Quick/Quick
Fetching https://github.com/Quick/Nimble
[1/14755] Fetching quick
[297/34322] Fetching quick, nimble
Fetched https://github.com/Quick/Nimble from cache (1.68s)
Fetched https://github.com/Quick/Quick from cache (1.69s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 3.0.0 (2.31s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.1 (0.57s)
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 8.1.1
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 3.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "testspy",
      "name": "TestSpy",
      "url": "https://github.com/f-meloni/TestSpy.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TestSpy",
      "dependencies": [
        {
          "identity": "nimble",
          "name": "Nimble",
          "url": "https://github.com/Quick/Nimble",
          "version": "8.1.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nimble",
          "dependencies": [
          ]
        },
        {
          "identity": "quick",
          "name": "Quick",
          "url": "https://github.com/Quick/Quick",
          "version": "3.1.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Quick",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/f-meloni/TestSpy.git
[1/2048] Fetching testspy
Fetched https://github.com/f-meloni/TestSpy.git from cache (2.01s)
Fetching https://github.com/Quick/Nimble from cache
Fetching https://github.com/Quick/Quick from cache
Fetched https://github.com/Quick/Nimble from cache (0.48s)
Fetched https://github.com/Quick/Quick from cache (0.58s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.2 (0.64s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 3.1.2 (0.58s)
Creating working copy for https://github.com/f-meloni/TestSpy.git
Working copy of https://github.com/f-meloni/TestSpy.git resolved at master (bf53adc)
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 8.1.2
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 3.1.2
warning: '.resolve-product-dependencies': dependency 'testspy' is not used by any target
Found 2 product dependencies
  - Nimble
  - Quick
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/f-meloni/TestSpy.git
https://github.com/f-meloni/TestSpy.git
{
  "dependencies" : [
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.1.1",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble"
    },
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick"
    }
  ],
  "manifest_display_name" : "TestSpy",
  "name" : "TestSpy",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TestSpy",
      "targets" : [
        "TestSpy"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "TestSpyTests",
      "module_type" : "SwiftTarget",
      "name" : "TestSpyTests",
      "path" : "Tests/TestSpyTests",
      "product_dependencies" : [
        "Quick"
      ],
      "sources" : [
        "CallStackContainerSpec.swift",
        "CallstackMatcherSpec.swift",
        "CallstackMatchers+NimbleSpec.swift",
        "Test Classes/FakeCallstackPredicate.swift",
        "Test Classes/TestMethod.swift",
        "Test Classes/TestSpyObject.swift",
        "TestSpy+MatchersSpec.swift",
        "TestSpySpec.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "TestSpy"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TestSpy",
      "module_type" : "SwiftTarget",
      "name" : "TestSpy",
      "path" : "Sources/TestSpy",
      "product_dependencies" : [
        "Nimble"
      ],
      "product_memberships" : [
        "TestSpy"
      ],
      "sources" : [
        "Nimble Matchers/TestSpy+Matchers.swift",
        "TestSpy/CallstackContainer.swift",
        "TestSpy/Predicates/AnyCallstackPredicate.swift",
        "TestSpy/Predicates/CallStackMatcher/AfterMatcher.swift",
        "TestSpy/Predicates/CallStackMatcher/AnyMatcher.swift",
        "TestSpy/Predicates/CallStackMatcher/AtleastMatcher.swift",
        "TestSpy/Predicates/CallStackMatcher/BeforeMatcher.swift",
        "TestSpy/Predicates/CallStackMatcher/CallstackPredicates.swift",
        "TestSpy/Predicates/CallStackMatcher/ImmediatelyAfterMatcher.swift",
        "TestSpy/Predicates/CallStackMatcher/ImmediatelyBeforeMatcher.swift",
        "TestSpy/Predicates/CallStackMatcher/NeverMatcher.swift",
        "TestSpy/Predicates/CallStackMatcher/OnlyMatcher.swift",
        "TestSpy/Predicates/CallStackMatcher/TimesMatcher.swift",
        "TestSpy/Predicates/CallstackMatcher.swift",
        "TestSpy/Predicates/CallstackPredicate.swift",
        "TestSpy/Predicates/CallstackVerifyer.swift",
        "TestSpy/TestSpy.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[5/8] Compiling NimbleCwlMachBadInstructionHandler mach_excServer.c
[6/8] Compiling NimbleCwlMachBadInstructionHandler CwlMachBadInstructionHandler.m
[7/8] Compiling NimbleCwlCatchExceptionSupport CwlCatchException.m
[9/10] Compiling NimbleCwlCatchException CwlCatchException.swift
[10/10] Emitting module NimbleCwlCatchException
[11/14] Compiling NimbleCwlPreconditionTesting CwlDarwinDefinitions.swift
[12/14] Compiling NimbleCwlPreconditionTesting CwlCatchBadInstruction.swift
[13/14] Emitting module NimbleCwlPreconditionTesting
[14/14] Compiling NimbleCwlPreconditionTesting CwlBadInstructionException.swift
[15/62] Emitting module Nimble
[16/67] Compiling Nimble AdapterProtocols.swift
[17/67] Compiling Nimble AssertionDispatcher.swift
[18/67] Compiling Nimble AssertionRecorder.swift
[19/67] Compiling Nimble NMBExpectation.swift
[20/67] Compiling Nimble NMBObjCMatcher.swift
[21/67] Compiling Nimble NimbleEnvironment.swift
[22/67] Compiling Nimble EndWith.swift
[23/67] Compiling Nimble Equal.swift
[24/67] Compiling Nimble HaveCount.swift
[25/67] Compiling Nimble Match.swift
[26/67] Compiling Nimble MatchError.swift
[27/67] Compiling Nimble Expression.swift
[28/67] Compiling Nimble FailureMessage.swift
[29/67] Compiling Nimble AllPass.swift
[30/67] Compiling Nimble Async.swift
[31/67] Compiling Nimble BeAKindOf.swift
[32/67] Compiling Nimble BeAnInstanceOf.swift
[33/67] Compiling Nimble BeCloseTo.swift
[34/67] Compiling Nimble BeEmpty.swift
[35/67] Compiling Nimble BeGreaterThan.swift
[36/67] Compiling Nimble BeGreaterThanOrEqualTo.swift
[37/67] Compiling Nimble BeVoid.swift
[38/67] Compiling Nimble BeginWith.swift
[39/67] Compiling Nimble Contain.swift
[40/67] Compiling Nimble ContainElementSatisfying.swift
[41/67] Compiling Nimble ElementsEqual.swift
[42/67] Compiling Nimble SatisfyAllOf.swift
[43/67] Compiling Nimble SatisfyAnyOf.swift
[44/67] Compiling Nimble ThrowAssertion.swift
[45/67] Compiling Nimble ThrowError.swift
[46/67] Compiling Nimble ToSucceed.swift
[47/67] Compiling Nimble MatcherFunc.swift
[48/67] Compiling Nimble MatcherProtocols.swift
[49/67] Compiling Nimble PostNotification.swift
[50/67] Compiling Nimble Predicate.swift
[51/67] Compiling Nimble RaisesException.swift
[52/67] Compiling Nimble Await.swift
[53/67] Compiling Nimble Errors.swift
[54/67] Compiling Nimble Functional.swift
[55/67] Compiling Nimble SourceLocation.swift
[56/67] Compiling Nimble Stringers.swift
[57/67] Compiling Nimble BeIdenticalTo.swift
[58/67] Compiling Nimble BeLessThan.swift
[59/67] Compiling Nimble BeLessThanOrEqual.swift
[60/67] Compiling Nimble BeLogical.swift
[61/67] Compiling Nimble BeNil.swift
[62/67] Compiling Nimble NimbleXCTestHandler.swift
[63/67] Compiling Nimble ExceptionCapture.swift
[64/67] Compiling Nimble DSL+Wait.swift
[65/67] Compiling Nimble DSL.swift
[66/67] Compiling Nimble Expectation.swift
[67/67] Compiling Nimble ExpectationMessage.swift
[68/84] Compiling TestSpy CallstackPredicate.swift
[69/85] Compiling TestSpy CallstackVerifyer.swift
[70/85] Compiling TestSpy BeforeMatcher.swift
[71/85] Compiling TestSpy CallstackPredicates.swift
[72/85] Compiling TestSpy ImmediatelyAfterMatcher.swift
[73/85] Compiling TestSpy ImmediatelyBeforeMatcher.swift
[74/85] Compiling TestSpy TestSpy+Matchers.swift
/Users/admin/builder/spi-builder-workspace/Sources/TestSpy/TestSpy/CallstackContainer.swift:30:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 7 | //
 8 |
 9 | public struct CallstackContainer<T: Equatable>: Equatable, CustomStringConvertible {
   |                                  `- note: 'T' previously declared here
10 |     var callstack: [T] = []
11 |
   :
28 |     }
29 |
30 |     public static func ==<T>(lhs: CallstackContainer<T>, rhs: CallstackContainer<T>) -> Bool {
   |                           `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
31 |         return lhs.callstack == rhs.callstack
32 |     }
[75/85] Compiling TestSpy CallstackContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/TestSpy/TestSpy/CallstackContainer.swift:30:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 7 | //
 8 |
 9 | public struct CallstackContainer<T: Equatable>: Equatable, CustomStringConvertible {
   |                                  `- note: 'T' previously declared here
10 |     var callstack: [T] = []
11 |
   :
28 |     }
29 |
30 |     public static func ==<T>(lhs: CallstackContainer<T>, rhs: CallstackContainer<T>) -> Bool {
   |                           `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
31 |         return lhs.callstack == rhs.callstack
32 |     }
[76/85] Compiling TestSpy NeverMatcher.swift
[77/85] Compiling TestSpy OnlyMatcher.swift
[78/85] Emitting module TestSpy
/Users/admin/builder/spi-builder-workspace/Sources/TestSpy/TestSpy/CallstackContainer.swift:30:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 7 | //
 8 |
 9 | public struct CallstackContainer<T: Equatable>: Equatable, CustomStringConvertible {
   |                                  `- note: 'T' previously declared here
10 |     var callstack: [T] = []
11 |
   :
28 |     }
29 |
30 |     public static func ==<T>(lhs: CallstackContainer<T>, rhs: CallstackContainer<T>) -> Bool {
   |                           `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
31 |         return lhs.callstack == rhs.callstack
32 |     }
[79/85] Compiling TestSpy TimesMatcher.swift
[80/85] Compiling TestSpy CallstackMatcher.swift
[81/85] Compiling TestSpy AnyMatcher.swift
[82/85] Compiling TestSpy AtleastMatcher.swift
[83/85] Compiling TestSpy AnyCallstackPredicate.swift
[84/85] Compiling TestSpy AfterMatcher.swift
[85/85] Compiling TestSpy TestSpy.swift
Build complete! (15.75s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.1.1",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble"
    },
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick"
    }
  ],
  "manifest_display_name" : "TestSpy",
  "name" : "TestSpy",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TestSpy",
      "targets" : [
        "TestSpy"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "TestSpyTests",
      "module_type" : "SwiftTarget",
      "name" : "TestSpyTests",
      "path" : "Tests/TestSpyTests",
      "product_dependencies" : [
        "Quick"
      ],
      "sources" : [
        "CallStackContainerSpec.swift",
        "CallstackMatcherSpec.swift",
        "CallstackMatchers+NimbleSpec.swift",
        "Test Classes/FakeCallstackPredicate.swift",
        "Test Classes/TestMethod.swift",
        "Test Classes/TestSpyObject.swift",
        "TestSpy+MatchersSpec.swift",
        "TestSpySpec.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "TestSpy"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TestSpy",
      "module_type" : "SwiftTarget",
      "name" : "TestSpy",
      "path" : "Sources/TestSpy",
      "product_dependencies" : [
        "Nimble"
      ],
      "product_memberships" : [
        "TestSpy"
      ],
      "sources" : [
        "Nimble Matchers/TestSpy+Matchers.swift",
        "TestSpy/CallstackContainer.swift",
        "TestSpy/Predicates/AnyCallstackPredicate.swift",
        "TestSpy/Predicates/CallStackMatcher/AfterMatcher.swift",
        "TestSpy/Predicates/CallStackMatcher/AnyMatcher.swift",
        "TestSpy/Predicates/CallStackMatcher/AtleastMatcher.swift",
        "TestSpy/Predicates/CallStackMatcher/BeforeMatcher.swift",
        "TestSpy/Predicates/CallStackMatcher/CallstackPredicates.swift",
        "TestSpy/Predicates/CallStackMatcher/ImmediatelyAfterMatcher.swift",
        "TestSpy/Predicates/CallStackMatcher/ImmediatelyBeforeMatcher.swift",
        "TestSpy/Predicates/CallStackMatcher/NeverMatcher.swift",
        "TestSpy/Predicates/CallStackMatcher/OnlyMatcher.swift",
        "TestSpy/Predicates/CallStackMatcher/TimesMatcher.swift",
        "TestSpy/Predicates/CallstackMatcher.swift",
        "TestSpy/Predicates/CallstackPredicate.swift",
        "TestSpy/Predicates/CallstackVerifyer.swift",
        "TestSpy/TestSpy.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.