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 Linux on 27 Nov 2024 16:25:47 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.0-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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/f-meloni/TestSpy.git
Reference: master
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
 * 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:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/f-meloni/TestSpy.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/Quick/Quick
[1/14740] Fetching quick
Fetched https://github.com/Quick/Quick from cache (0.59s)
[1/19275] Fetching nimble
Fetched https://github.com/Quick/Nimble from cache (1.75s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.2 (0.49s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 3.1.2 (0.47s)
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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/50] Emitting module Nimble
[5/56] Compiling Nimble ExceptionCapture.swift
[6/56] Compiling Nimble DSL+Wait.swift
[7/56] Compiling Nimble DSL.swift
[8/56] Compiling Nimble Expectation.swift
[9/56] Compiling Nimble ExpectationMessage.swift
[10/56] Compiling Nimble Expression.swift
[11/56] Compiling Nimble FailureMessage.swift
[12/56] Compiling Nimble AdapterProtocols.swift
[13/56] Compiling Nimble AssertionDispatcher.swift
[14/56] Compiling Nimble AssertionRecorder.swift
[15/56] Compiling Nimble NMBExpectation.swift
[16/56] Compiling Nimble NMBObjCMatcher.swift
[17/56] Compiling Nimble NimbleEnvironment.swift
[18/56] Compiling Nimble NimbleXCTestHandler.swift
[19/56] Compiling Nimble ToSucceed.swift
[20/56] Compiling Nimble Await.swift
[21/56] Compiling Nimble Errors.swift
[22/56] Compiling Nimble Functional.swift
[23/56] Compiling Nimble SourceLocation.swift
[24/56] Compiling Nimble Stringers.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 HaveCount.swift
[32/56] Compiling Nimble Match.swift
[33/56] Compiling Nimble MatchError.swift
[34/56] Compiling Nimble MatcherFunc.swift
[35/56] Compiling Nimble MatcherProtocols.swift
[36/56] Compiling Nimble PostNotification.swift
[37/56] Compiling Nimble AllPass.swift
[38/56] Compiling Nimble Async.swift
[39/56] Compiling Nimble BeAKindOf.swift
[40/56] Compiling Nimble BeAnInstanceOf.swift
[41/56] Compiling Nimble BeCloseTo.swift
[42/56] Compiling Nimble BeEmpty.swift
[43/56] Compiling Nimble BeGreaterThan.swift
[44/56] Compiling Nimble BeginWith.swift
[45/56] Compiling Nimble Contain.swift
[46/56] Compiling Nimble ContainElementSatisfying.swift
[47/56] Compiling Nimble ElementsEqual.swift
[48/56] Compiling Nimble EndWith.swift
[49/56] Compiling Nimble Equal.swift
[50/56] Compiling Nimble BeGreaterThanOrEqualTo.swift
[51/56] Compiling Nimble BeIdenticalTo.swift
[52/56] Compiling Nimble BeLessThan.swift
[53/56] Compiling Nimble BeLessThanOrEqual.swift
[54/56] Compiling Nimble BeLogical.swift
[55/56] Compiling Nimble BeNil.swift
[56/56] Compiling Nimble BeVoid.swift
[58/73] 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 |     }
[59/75] Compiling TestSpy CallstackPredicates.swift
[60/75] Compiling TestSpy ImmediatelyAfterMatcher.swift
[61/75] Compiling TestSpy OnlyMatcher.swift
[62/75] Compiling TestSpy TimesMatcher.swift
[63/75] Compiling TestSpy CallstackMatcher.swift
[64/75] Compiling TestSpy CallstackPredicate.swift
[65/75] Compiling TestSpy ImmediatelyBeforeMatcher.swift
[66/75] Compiling TestSpy NeverMatcher.swift
[67/75] Compiling TestSpy AfterMatcher.swift
[68/75] Compiling TestSpy AnyMatcher.swift
[69/75] Compiling TestSpy AtleastMatcher.swift
[70/75] Compiling TestSpy BeforeMatcher.swift
[71/75] Compiling TestSpy TestSpy+Matchers.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 |     }
[72/75] 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 |     }
[73/75] Compiling TestSpy AnyCallstackPredicate.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 |     }
[74/75] Compiling TestSpy CallstackVerifyer.swift
[75/75] Compiling TestSpy TestSpy.swift
Build complete! (18.12s)
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/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.