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.0 for macOS (SPM) on 27 Nov 2024 16:31:41 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.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/14740] Fetching quick
[14741/34015] Fetching quick, nimble
Fetched https://github.com/Quick/Quick from cache (1.52s)
[386/19275] Fetching nimble
Fetched https://github.com/Quick/Nimble from cache (2.49s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 3.0.0 (0.61s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.1 (0.56s)
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.30s)
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.78s)
Fetched https://github.com/Quick/Quick from cache (0.78s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.2 (0.03s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 3.1.2 (0.52s)
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 master (bf53adc)
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 8.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.0
Building package at path:  $PWD
https://github.com/f-meloni/TestSpy.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.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 CwlBadInstructionException.swift
[13/14] Emitting module NimbleCwlPreconditionTesting
[14/14] Compiling NimbleCwlPreconditionTesting CwlCatchBadInstruction.swift
[15/62] Compiling Nimble AdapterProtocols.swift
[16/62] Compiling Nimble AssertionDispatcher.swift
[17/62] Compiling Nimble AssertionRecorder.swift
[18/62] Compiling Nimble NMBExpectation.swift
[19/62] Compiling Nimble NMBObjCMatcher.swift
[20/62] Compiling Nimble NimbleEnvironment.swift
[21/67] Compiling Nimble BeIdenticalTo.swift
[22/67] Compiling Nimble BeLessThan.swift
[23/67] Compiling Nimble BeLessThanOrEqual.swift
[24/67] Compiling Nimble BeLogical.swift
[25/67] Compiling Nimble BeNil.swift
[26/67] Compiling Nimble EndWith.swift
[27/67] Compiling Nimble Equal.swift
[28/67] Compiling Nimble HaveCount.swift
[29/67] Compiling Nimble Match.swift
[30/67] Compiling Nimble MatchError.swift
[31/67] Emitting module Nimble
[32/67] Compiling Nimble SatisfyAllOf.swift
[33/67] Compiling Nimble SatisfyAnyOf.swift
[34/67] Compiling Nimble ThrowAssertion.swift
[35/67] Compiling Nimble ThrowError.swift
[36/67] Compiling Nimble ToSucceed.swift
[37/67] Compiling Nimble NimbleXCTestHandler.swift
[38/67] Compiling Nimble ExceptionCapture.swift
[39/67] Compiling Nimble DSL+Wait.swift
[40/67] Compiling Nimble DSL.swift
[41/67] Compiling Nimble Expectation.swift
[42/67] Compiling Nimble ExpectationMessage.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 Expression.swift
[49/67] Compiling Nimble FailureMessage.swift
[50/67] Compiling Nimble AllPass.swift
[51/67] Compiling Nimble Async.swift
[52/67] Compiling Nimble BeAKindOf.swift
[53/67] Compiling Nimble BeVoid.swift
[54/67] Compiling Nimble BeginWith.swift
[55/67] Compiling Nimble Contain.swift
[56/67] Compiling Nimble ContainElementSatisfying.swift
[57/67] Compiling Nimble ElementsEqual.swift
[58/67] Compiling Nimble MatcherFunc.swift
[59/67] Compiling Nimble MatcherProtocols.swift
[60/67] Compiling Nimble PostNotification.swift
[61/67] Compiling Nimble Predicate.swift
[62/67] Compiling Nimble RaisesException.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 CallstackVerifyer.swift
[69/84] Compiling TestSpy CallstackPredicate.swift
[70/84] Compiling TestSpy NeverMatcher.swift
[71/84] Compiling TestSpy OnlyMatcher.swift
[72/85] Compiling TestSpy TimesMatcher.swift
[73/85] Compiling TestSpy CallstackMatcher.swift
[74/85] Compiling TestSpy BeforeMatcher.swift
[75/85] Compiling TestSpy CallstackPredicates.swift
[76/85] Compiling TestSpy AnyCallstackPredicate.swift
[77/85] Compiling TestSpy AfterMatcher.swift
[78/85] Compiling TestSpy AnyMatcher.swift
[79/85] Compiling TestSpy AtleastMatcher.swift
[80/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 |     }
[81/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 |     }
[82/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 |     }
[83/85] Compiling TestSpy ImmediatelyAfterMatcher.swift
[84/85] Compiling TestSpy ImmediatelyBeforeMatcher.swift
[85/85] Compiling TestSpy TestSpy.swift
Build complete! (17.29s)
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.