The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of UUSwiftTestCore, reference main (407856), with Swift 6.0 for macOS (SPM) on 22 Dec 2024 15:15:59 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SilverPineSoftware/UUSwiftTestCore.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SilverPineSoftware/UUSwiftTestCore
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4078565 Add UUTestLog methods
Cloned https://github.com/SilverPineSoftware/UUSwiftTestCore.git
Revision (git rev-parse @):
4078565d81552bd02ee000105abb9930e7fddfbe
SUCCESS checkout https://github.com/SilverPineSoftware/UUSwiftTestCore.git at main
========================================
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": "uuswifttestcore",
      "name": "UUSwiftTestCore",
      "url": "https://github.com/SilverPineSoftware/UUSwiftTestCore.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/UUSwiftTestCore",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/SilverPineSoftware/UUSwiftTestCore.git
[1/31] Fetching uuswifttestcore
Fetched https://github.com/SilverPineSoftware/UUSwiftTestCore.git from cache (0.67s)
Creating working copy for https://github.com/SilverPineSoftware/UUSwiftTestCore.git
Working copy of https://github.com/SilverPineSoftware/UUSwiftTestCore.git resolved at main (4078565)
warning: '.resolve-product-dependencies': dependency 'uuswifttestcore' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/SilverPineSoftware/UUSwiftTestCore.git
https://github.com/SilverPineSoftware/UUSwiftTestCore.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "UUSwiftTestCore",
  "name" : "UUSwiftTestCore",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "UUSwiftTestCore",
      "targets" : [
        "UUSwiftTestCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "UUSwiftTestCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "UUSwiftTestCoreTests",
      "path" : "Test",
      "sources" : [
        "UUTestCaseTests.swift"
      ],
      "target_dependencies" : [
        "UUSwiftTestCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "UUSwiftTestCore",
      "module_type" : "SwiftTarget",
      "name" : "UUSwiftTestCore",
      "path" : "Source",
      "product_memberships" : [
        "UUSwiftTestCore"
      ],
      "sources" : [
        "UUTestCase.swift",
        "UUTestLog.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.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/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/5] Compiling UUSwiftTestCore UUTestLog.swift
[4/5] Compiling UUSwiftTestCore UUTestCase.swift
/Users/admin/builder/spi-builder-workspace/Source/UUTestCase.swift:27:9: warning: call to main actor-isolated instance method 'waitForExpectations(timeout:handler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 23 |     }
 24 |
 25 |     func uuWaitForExpectations(_ timeout: TimeInterval = 60)
    |          `- note: add '@MainActor' to make instance method 'uuWaitForExpectations' part of global actor 'MainActor'
 26 |     {
 27 |         waitForExpectations(timeout: timeout)
    |         `- warning: call to main actor-isolated instance method 'waitForExpectations(timeout:handler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 28 |         { (err: Error?) in
 29 |             if (err != nil)
XCTest.XCTestCase:5:26: note: calls to instance method 'waitForExpectations(timeout:handler:)' from outside of its actor context are implicitly asynchronous
 3 |     @available(swift, obsoleted: 3, renamed: "expectation(description:)")
 4 |     open func expectationWithDescription(_ description: String) -> XCTestExpectation
 5 |     @MainActor open func waitForExpectations(timeout: TimeInterval, handler: (@Sendable ((any Error)?) -> Void)? = nil)
   |                          `- note: calls to instance method 'waitForExpectations(timeout:handler:)' from outside of its actor context are implicitly asynchronous
 6 |     @available(swift, obsoleted: 3, renamed: "waitForExpectations(timeout:handler:)")
 7 |     @MainActor open func waitForExpectationsWithTimeout(_ timeout: TimeInterval, handler: (@Sendable ((any Error)?) -> Void)? = nil)
/Users/admin/builder/spi-builder-workspace/Source/UUTestCase.swift:27:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 25 |     func uuWaitForExpectations(_ timeout: TimeInterval = 60)
 26 |     {
 27 |         waitForExpectations(timeout: timeout)
    |         |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |         `- note: sending task-isolated 'self' to main actor-isolated instance method 'waitForExpectations(timeout:handler:)' risks causing data races between main actor-isolated and task-isolated uses
 28 |         { (err: Error?) in
 29 |             if (err != nil)
[5/5] Emitting module UUSwiftTestCore
Build complete! (11.73s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "UUSwiftTestCore",
  "name" : "UUSwiftTestCore",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "UUSwiftTestCore",
      "targets" : [
        "UUSwiftTestCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "UUSwiftTestCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "UUSwiftTestCoreTests",
      "path" : "Test",
      "sources" : [
        "UUTestCaseTests.swift"
      ],
      "target_dependencies" : [
        "UUSwiftTestCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "UUSwiftTestCore",
      "module_type" : "SwiftTarget",
      "name" : "UUSwiftTestCore",
      "path" : "Source",
      "product_memberships" : [
        "UUSwiftTestCore"
      ],
      "sources" : [
        "UUTestCase.swift",
        "UUTestLog.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.