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 TestSpy 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/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/f-meloni/TestSpy.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/8] Write sources
[4/8] Write swift-version-6F35C1178C84523A.txt
[5/8] Compiling NimbleCwlMachBadInstructionHandler mach_excServer.c
[6/8] Compiling NimbleCwlCatchExceptionSupport CwlCatchException.m
[7/10] Compiling NimbleCwlMachBadInstructionHandler CwlMachBadInstructionHandler.m
[9/10] Emitting module NimbleCwlCatchException
[10/10] Compiling NimbleCwlCatchException CwlCatchException.swift
[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 NimbleXCTestHandler.swift
[17/67] Compiling Nimble ExceptionCapture.swift
[18/67] Compiling Nimble DSL+Wait.swift
[19/67] Compiling Nimble DSL.swift
[20/67] Compiling Nimble Expectation.swift
[21/67] Compiling Nimble ExpectationMessage.swift
[22/67] Compiling Nimble AdapterProtocols.swift
[23/67] Compiling Nimble AssertionDispatcher.swift
[24/67] Compiling Nimble AssertionRecorder.swift
[25/67] Compiling Nimble NMBExpectation.swift
[26/67] Compiling Nimble NMBObjCMatcher.swift
[27/67] Compiling Nimble NimbleEnvironment.swift
[28/67] Compiling Nimble BeIdenticalTo.swift
[29/67] Compiling Nimble BeLessThan.swift
[30/67] Compiling Nimble BeLessThanOrEqual.swift
[31/67] Compiling Nimble BeLogical.swift
[32/67] Compiling Nimble BeNil.swift
[33/67] Compiling Nimble Expression.swift
[34/67] Compiling Nimble FailureMessage.swift
[35/67] Compiling Nimble AllPass.swift
[36/67] Compiling Nimble Async.swift
[37/67] Compiling Nimble BeAKindOf.swift
[38/67] Compiling Nimble BeVoid.swift
[39/67] Compiling Nimble BeginWith.swift
[40/67] Compiling Nimble Contain.swift
[41/67] Compiling Nimble ContainElementSatisfying.swift
[42/67] Compiling Nimble ElementsEqual.swift
[43/67] Compiling Nimble BeAnInstanceOf.swift
[44/67] Compiling Nimble BeCloseTo.swift
[45/67] Compiling Nimble BeEmpty.swift
[46/67] Compiling Nimble BeGreaterThan.swift
[47/67] Compiling Nimble BeGreaterThanOrEqualTo.swift
[48/67] Compiling Nimble SatisfyAllOf.swift
[49/67] Compiling Nimble SatisfyAnyOf.swift
[50/67] Compiling Nimble ThrowAssertion.swift
[51/67] Compiling Nimble ThrowError.swift
[52/67] Compiling Nimble ToSucceed.swift
[53/67] Compiling Nimble MatcherFunc.swift
[54/67] Compiling Nimble MatcherProtocols.swift
[55/67] Compiling Nimble PostNotification.swift
[56/67] Compiling Nimble Predicate.swift
[57/67] Compiling Nimble RaisesException.swift
[58/67] Compiling Nimble EndWith.swift
[59/67] Compiling Nimble Equal.swift
[60/67] Compiling Nimble HaveCount.swift
[61/67] Compiling Nimble Match.swift
[62/67] Compiling Nimble MatchError.swift
[63/67] Compiling Nimble Await.swift
[64/67] Compiling Nimble Errors.swift
[65/67] Compiling Nimble Functional.swift
[66/67] Compiling Nimble SourceLocation.swift
[67/67] Compiling Nimble Stringers.swift
[68/84] Compiling TestSpy CallstackPredicate.swift
[69/84] Compiling TestSpy CallstackVerifyer.swift
[70/85] Compiling TestSpy NeverMatcher.swift
[71/85] Compiling TestSpy OnlyMatcher.swift
[72/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 |     }
[73/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 |     }
[74/85] Compiling TestSpy BeforeMatcher.swift
[75/85] Compiling TestSpy CallstackPredicates.swift
[76/85] Compiling TestSpy TimesMatcher.swift
[77/85] Compiling TestSpy CallstackMatcher.swift
[78/85] Compiling TestSpy AnyCallstackPredicate.swift
[79/85] Compiling TestSpy AfterMatcher.swift
[80/85] Compiling TestSpy ImmediatelyAfterMatcher.swift
[81/85] Compiling TestSpy ImmediatelyBeforeMatcher.swift
[82/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 |     }
[83/85] Compiling TestSpy AnyMatcher.swift
[84/85] Compiling TestSpy AtleastMatcher.swift
[85/85] Compiling TestSpy TestSpy.swift
Build complete! (42.29s)
Fetching https://github.com/Quick/Quick
Fetching https://github.com/Quick/Nimble
[1/14549] Fetching quick
[14550/33189] Fetching quick, nimble
Fetched https://github.com/Quick/Nimble from cache (2.65s)
Fetched https://github.com/Quick/Quick from cache (2.65s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 3.0.0 (0.72s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.1 (0.70s)
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
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.