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 Linux on 26 Apr 2025 02:28:15 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/f-meloni/TestSpy.git
https://github.com/f-meloni/TestSpy.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/Quick/Quick
Fetching https://github.com/Quick/Nimble
[1/14755] Fetching quick
[14019/34322] Fetching quick, nimble
Fetched https://github.com/Quick/Quick from cache (1.27s)
Fetched https://github.com/Quick/Nimble from cache (1.29s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.2 (1.84s)
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/Quick
Working copy of https://github.com/Quick/Quick resolved at 3.1.2
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 8.1.2
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/50] Emitting module Nimble
[5/56] Compiling Nimble BeGreaterThanOrEqualTo.swift
[6/56] Compiling Nimble BeIdenticalTo.swift
[7/56] Compiling Nimble BeLessThan.swift
[8/56] Compiling Nimble BeLessThanOrEqual.swift
[9/56] Compiling Nimble BeLogical.swift
[10/56] Compiling Nimble BeNil.swift
[11/56] Compiling Nimble BeVoid.swift
[12/56] Compiling Nimble ToSucceed.swift
[13/56] Compiling Nimble Await.swift
[14/56] Compiling Nimble Errors.swift
[15/56] Compiling Nimble Functional.swift
[16/56] Compiling Nimble SourceLocation.swift
[17/56] Compiling Nimble Stringers.swift
[18/56] Compiling Nimble ExceptionCapture.swift
[19/56] Compiling Nimble DSL+Wait.swift
[20/56] Compiling Nimble DSL.swift
[21/56] Compiling Nimble Expectation.swift
[22/56] Compiling Nimble ExpectationMessage.swift
[23/56] Compiling Nimble Expression.swift
[24/56] Compiling Nimble FailureMessage.swift
[25/56] Compiling Nimble Predicate.swift
[26/56] Compiling Nimble RaisesException.swift
[27/56] Compiling Nimble SatisfyAllOf.swift
[28/56] Compiling Nimble SatisfyAnyOf.swift
[29/56] Compiling Nimble ThrowAssertion.swift
[30/56] Compiling Nimble ThrowError.swift
[31/56] Compiling Nimble AdapterProtocols.swift
[32/56] Compiling Nimble AssertionDispatcher.swift
[33/56] Compiling Nimble AssertionRecorder.swift
[34/56] Compiling Nimble NMBExpectation.swift
[35/56] Compiling Nimble NMBObjCMatcher.swift
[36/56] Compiling Nimble NimbleEnvironment.swift
[37/56] Compiling Nimble NimbleXCTestHandler.swift
[38/56] Compiling Nimble AllPass.swift
[39/56] Compiling Nimble Async.swift
[40/56] Compiling Nimble BeAKindOf.swift
[41/56] Compiling Nimble BeAnInstanceOf.swift
[42/56] Compiling Nimble BeCloseTo.swift
[43/56] Compiling Nimble BeEmpty.swift
[44/56] Compiling Nimble BeGreaterThan.swift
[45/56] Compiling Nimble HaveCount.swift
[46/56] Compiling Nimble Match.swift
[47/56] Compiling Nimble MatchError.swift
[48/56] Compiling Nimble MatcherFunc.swift
[49/56] Compiling Nimble MatcherProtocols.swift
[50/56] Compiling Nimble PostNotification.swift
[51/56] Compiling Nimble BeginWith.swift
[52/56] Compiling Nimble Contain.swift
[53/56] Compiling Nimble ContainElementSatisfying.swift
[54/56] Compiling Nimble ElementsEqual.swift
[55/56] Compiling Nimble EndWith.swift
[56/56] Compiling Nimble Equal.swift
[58/63] Compiling TestSpy CallstackPredicate.swift
[59/63] Compiling TestSpy TestSpy.swift
[60/63] Compiling TestSpy TestSpy+Matchers.swift
[61/63] Compiling TestSpy CallstackContainer.swift
/host/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 |     }
[62/63] Emitting module TestSpy
/host/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 |     }
[63/63] Compiling TestSpy CallstackMatcher.swift
Build complete! (13.15s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.