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 0.5.0 (63398d), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 02:36:25 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: 0.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/f-meloni/TestSpy
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at 63398d1 Merge branch 'master' of github.com:f-meloni/TestSpy
Cloned https://github.com/f-meloni/TestSpy.git
Revision (git rev-parse @):
63398d17c70ba7419cec78834f22be86b850643b
SUCCESS checkout https://github.com/f-meloni/TestSpy.git at 0.5.0
Fetching https://github.com/Quick/Quick
Fetching https://github.com/Quick/Nimble
[1/14755] Fetching quick
[592/34322] Fetching quick, nimble
Fetched https://github.com/Quick/Quick from cache (1.34s)
[14089/19567] Fetching nimble
Fetched https://github.com/Quick/Nimble from cache (1.70s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 3.0.0 (2.36s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.1 (0.63s)
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 3.0.0
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 8.1.1
========================================
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.04s)
Fetching https://github.com/Quick/Quick from cache
Fetching https://github.com/Quick/Nimble from cache
Fetched https://github.com/Quick/Quick from cache (0.51s)
Fetched https://github.com/Quick/Nimble from cache (0.51s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.2 (0.58s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 3.1.2 (0.60s)
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
Creating working copy for https://github.com/f-meloni/TestSpy.git
Working copy of https://github.com/f-meloni/TestSpy.git resolved at 0.5.0 (63398d1)
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/CallstackMatcher.swift",
        "TestSpy/Predicates/CallstackPredicate.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 NimbleCwlCatchExceptionSupport CwlCatchException.m
[7/10] Compiling NimbleCwlMachBadInstructionHandler CwlMachBadInstructionHandler.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] Compiling NimbleCwlPreconditionTesting CwlBadInstructionException.swift
[14/14] Emitting module NimbleCwlPreconditionTesting
[15/62] Compiling Nimble SatisfyAllOf.swift
[16/62] Compiling Nimble SatisfyAnyOf.swift
[17/62] Compiling Nimble ThrowAssertion.swift
[18/62] Compiling Nimble ThrowError.swift
[19/62] Compiling Nimble ToSucceed.swift
[20/67] Compiling Nimble BeVoid.swift
[21/67] Compiling Nimble BeginWith.swift
[22/67] Compiling Nimble Contain.swift
[23/67] Compiling Nimble ContainElementSatisfying.swift
[24/67] Compiling Nimble ElementsEqual.swift
[25/67] Compiling Nimble BeIdenticalTo.swift
[26/67] Compiling Nimble BeLessThan.swift
[27/67] Compiling Nimble BeLessThanOrEqual.swift
[28/67] Compiling Nimble BeLogical.swift
[29/67] Compiling Nimble BeNil.swift
[30/67] Compiling Nimble AdapterProtocols.swift
[31/67] Compiling Nimble AssertionDispatcher.swift
[32/67] Compiling Nimble AssertionRecorder.swift
[33/67] Compiling Nimble NMBExpectation.swift
[34/67] Compiling Nimble NMBObjCMatcher.swift
[35/67] Compiling Nimble NimbleEnvironment.swift
[36/67] Compiling Nimble MatcherFunc.swift
[37/67] Compiling Nimble MatcherProtocols.swift
[38/67] Compiling Nimble PostNotification.swift
[39/67] Compiling Nimble Predicate.swift
[40/67] Compiling Nimble RaisesException.swift
[41/67] Emitting module Nimble
[42/67] Compiling Nimble BeAnInstanceOf.swift
[43/67] Compiling Nimble BeCloseTo.swift
[44/67] Compiling Nimble BeEmpty.swift
[45/67] Compiling Nimble BeGreaterThan.swift
[46/67] Compiling Nimble BeGreaterThanOrEqualTo.swift
[47/67] Compiling Nimble EndWith.swift
[48/67] Compiling Nimble Equal.swift
[49/67] Compiling Nimble HaveCount.swift
[50/67] Compiling Nimble Match.swift
[51/67] Compiling Nimble MatchError.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 Expression.swift
[58/67] Compiling Nimble FailureMessage.swift
[59/67] Compiling Nimble AllPass.swift
[60/67] Compiling Nimble Async.swift
[61/67] Compiling Nimble BeAKindOf.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/73] Compiling TestSpy TestSpy+Matchers.swift
[69/73] Compiling TestSpy CallstackMatcher.swift
[70/73] Compiling TestSpy CallstackPredicate.swift
[71/73] Compiling TestSpy TestSpy.swift
[72/73] 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 |     }
[73/73] 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 |     }
Build complete! (14.14s)
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/CallstackMatcher.swift",
        "TestSpy/Predicates/CallstackPredicate.swift",
        "TestSpy/TestSpy.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.