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.0 for macOS (SPM) on 27 Nov 2024 16:37:20 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: 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/Nimble
Fetching https://github.com/Quick/Quick
[1/14740] Fetching quick
[14741/34015] Fetching quick, nimble
Fetched https://github.com/Quick/Nimble from cache (3.03s)
Fetched https://github.com/Quick/Quick from cache (3.03s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 3.0.0 (0.62s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.1 (0.61s)
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.17s)
Fetching https://github.com/Quick/Quick from cache
Fetching https://github.com/Quick/Nimble from cache
Fetched https://github.com/Quick/Nimble from cache (0.66s)
Fetched https://github.com/Quick/Quick from cache (0.66s)
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.58s)
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.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 CwlCatchBadInstruction.swift
[12/14] Emitting module NimbleCwlPreconditionTesting
[13/14] Compiling NimbleCwlPreconditionTesting CwlBadInstructionException.swift
[14/14] Compiling NimbleCwlPreconditionTesting CwlDarwinDefinitions.swift
[15/62] Compiling Nimble BeVoid.swift
[16/62] Compiling Nimble BeginWith.swift
[17/62] Compiling Nimble Contain.swift
[18/62] Compiling Nimble ContainElementSatisfying.swift
[19/62] Compiling Nimble ElementsEqual.swift
[20/67] Compiling Nimble BeIdenticalTo.swift
[21/67] Compiling Nimble BeLessThan.swift
[22/67] Compiling Nimble BeLessThanOrEqual.swift
[23/67] Compiling Nimble BeLogical.swift
[24/67] Compiling Nimble BeNil.swift
[25/67] Compiling Nimble EndWith.swift
[26/67] Compiling Nimble Equal.swift
[27/67] Compiling Nimble HaveCount.swift
[28/67] Compiling Nimble Match.swift
[29/67] Compiling Nimble MatchError.swift
[30/67] Compiling Nimble SatisfyAllOf.swift
[31/67] Compiling Nimble SatisfyAnyOf.swift
[32/67] Compiling Nimble ThrowAssertion.swift
[33/67] Compiling Nimble ThrowError.swift
[34/67] Compiling Nimble ToSucceed.swift
[35/67] Compiling Nimble Expression.swift
[36/67] Compiling Nimble FailureMessage.swift
[37/67] Compiling Nimble AllPass.swift
[38/67] Compiling Nimble Async.swift
[39/67] Compiling Nimble BeAKindOf.swift
[40/67] Compiling Nimble BeAnInstanceOf.swift
[41/67] Compiling Nimble BeCloseTo.swift
[42/67] Compiling Nimble BeEmpty.swift
[43/67] Compiling Nimble BeGreaterThan.swift
[44/67] Compiling Nimble BeGreaterThanOrEqualTo.swift
[45/67] Compiling Nimble NimbleXCTestHandler.swift
[46/67] Compiling Nimble ExceptionCapture.swift
[47/67] Compiling Nimble DSL+Wait.swift
[48/67] Compiling Nimble DSL.swift
[49/67] Compiling Nimble Expectation.swift
[50/67] Compiling Nimble ExpectationMessage.swift
[51/67] Emitting module Nimble
[52/67] Compiling Nimble AdapterProtocols.swift
[53/67] Compiling Nimble AssertionDispatcher.swift
[54/67] Compiling Nimble AssertionRecorder.swift
[55/67] Compiling Nimble NMBExpectation.swift
[56/67] Compiling Nimble NMBObjCMatcher.swift
[57/67] Compiling Nimble NimbleEnvironment.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/73] Compiling TestSpy TestSpy.swift
[69/73] Compiling TestSpy CallstackPredicate.swift
[70/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 |     }
[71/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 |     }
[72/73] Compiling TestSpy CallstackMatcher.swift
[73/73] Compiling TestSpy TestSpy+Matchers.swift
Build complete! (16.03s)
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.