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 PublisherExpectations, reference 1.0.2 (623cdd), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 11:40:22 UTC.

Swift 6 data race errors: 0

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yannxou/PublisherExpectations.git
Reference: 1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yannxou/PublisherExpectations
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at 623cdd9 removed duplicated code
Cloned https://github.com/yannxou/PublisherExpectations.git
Revision (git rev-parse @):
623cdd9236d66dd1aa173640cbbd8aab194f7fc3
SUCCESS checkout https://github.com/yannxou/PublisherExpectations.git at 1.0.2
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4511] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (1.01s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.1.2 (0.65s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/4985] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (2.73s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.4.2 (0.55s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.4.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.1.2
========================================
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": "publisherexpectations",
      "name": "PublisherExpectations",
      "url": "https://github.com/yannxou/PublisherExpectations.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PublisherExpectations",
      "dependencies": [
        {
          "identity": "swift-custom-dump",
          "name": "swift-custom-dump",
          "url": "https://github.com/pointfreeco/swift-custom-dump",
          "version": "1.1.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-custom-dump",
          "dependencies": [
            {
              "identity": "xctest-dynamic-overlay",
              "name": "xctest-dynamic-overlay",
              "url": "https://github.com/pointfreeco/xctest-dynamic-overlay",
              "version": "1.4.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xctest-dynamic-overlay",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/yannxou/PublisherExpectations.git
[2/136] Fetching publisherexpectations
Fetched https://github.com/yannxou/PublisherExpectations.git from cache (0.68s)
Fetching https://github.com/pointfreeco/swift-custom-dump from cache
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.51s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.1.2 (0.03s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay from cache
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.48s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.4.2 (0.03s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.1.2
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.4.2
Creating working copy for https://github.com/yannxou/PublisherExpectations.git
Working copy of https://github.com/yannxou/PublisherExpectations.git resolved at 1.0.2 (623cdd9)
warning: '.resolve-product-dependencies': dependency 'publisherexpectations' is not used by any target
Found 1 product dependencies
  - swift-custom-dump
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/yannxou/PublisherExpectations.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
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/24] Compiling IssueReporting ReportIssue.swift
[7/24] Compiling IssueReporting TestContext.swift
[8/25] Compiling IssueReporting Unimplemented.swift
[9/25] Compiling IssueReporting WithExpectedIssue.swift
[10/25] Compiling IssueReporting WithIssueContext.swift
[11/25] Compiling IssueReporting UncheckedSendable.swift
[12/25] Compiling IssueReporting Warn.swift
[13/25] Compiling IssueReporting XCTest.swift
[14/25] Compiling IssueReporting IsTesting.swift
[15/25] Compiling IssueReporting AppHostWarning.swift
[16/25] Compiling IssueReporting Deprecations.swift
[17/25] Compiling IssueReporting Rethrows.swift
[18/25] Compiling IssueReporting SwiftTesting.swift
[19/25] Compiling IssueReporting FailureObserver.swift
[20/25] Compiling IssueReporting LockIsolated.swift
[21/25] Emitting module IssueReporting
[22/25] Compiling IssueReporting IssueReporter.swift
[23/25] Compiling IssueReporting BreakpointReporter.swift
[24/25] Compiling IssueReporting FatalErrorReporter.swift
[25/25] Compiling IssueReporting RuntimeWarningReporter.swift
[26/28] Compiling XCTestDynamicOverlay Deprecations.swift
[27/28] Compiling XCTestDynamicOverlay Exports.swift
[28/28] Emitting module XCTestDynamicOverlay
[29/54] Compiling CustomDump String.swift
[30/54] Compiling CustomDump Unordered.swift
[31/56] Compiling CustomDump CollectionDifference.swift
[32/56] Compiling CustomDump Mirror.swift
[33/56] Compiling CustomDump XCTAssertDifference.swift
[34/56] Compiling CustomDump XCTAssertNoDifference.swift
[35/56] Emitting module CustomDump
[36/56] Compiling CustomDump Foundation.swift
[37/56] Compiling CustomDump GameKit.swift
[38/56] Compiling CustomDump KeyPath.swift
[39/56] Compiling CustomDump Dump.swift
[40/56] Compiling CustomDump AnyType.swift
[41/56] Compiling CustomDump Box.swift
[42/56] Compiling CustomDump CoreImage.swift
[43/56] Compiling CustomDump CoreLocation.swift
[44/56] Compiling CustomDump CoreMotion.swift
[45/56] Compiling CustomDump Photos.swift
[46/56] Compiling CustomDump Speech.swift
[47/56] Compiling CustomDump StoreKit.swift
[48/56] Compiling CustomDump UserNotifications.swift
[49/56] Compiling CustomDump UserNotificationsUI.swift
[50/56] Compiling CustomDump CustomDumpReflectable.swift
[51/56] Compiling CustomDump CustomDumpRepresentable.swift
[52/56] Compiling CustomDump CustomDumpStringConvertible.swift
[53/56] Compiling CustomDump Diff.swift
[54/56] Compiling CustomDump Swift.swift
[55/56] Compiling CustomDump SwiftUI.swift
[56/56] Compiling CustomDump UIKit.swift
[57/62] Compiling PublisherExpectations PublisherExpectation.swift
[58/62] Compiling PublisherExpectations FailureMessages.swift
[59/62] Compiling PublisherExpectations PublisherFinishedExpectation.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherFinishedExpectation.swift:5:20: warning: class 'PublisherFinishedExpectation' must restate inherited '@unchecked Sendable' conformance
  3 |
  4 | /// An expectation that is fulfilled when a publisher completes successfully.
  5 | public final class PublisherFinishedExpectation<P: Publisher>: XCTestExpectation {
    |                    `- warning: class 'PublisherFinishedExpectation' must restate inherited '@unchecked Sendable' conformance
  6 |     private var cancellable: AnyCancellable?
  7 |     private let expectedValue: P.Output?
[60/62] Emitting module PublisherExpectations
/Users/admin/builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherFailureExpectation.swift:5:20: warning: class 'PublisherFailureExpectation' must restate inherited '@unchecked Sendable' conformance
  3 |
  4 | /// An expectation that is fulfilled when a publisher completes with a failure.
  5 | public final class PublisherFailureExpectation<P: Publisher>: XCTestExpectation {
    |                    `- warning: class 'PublisherFailureExpectation' must restate inherited '@unchecked Sendable' conformance
  6 |     private var cancellable: AnyCancellable?
  7 |     private var expectedError: P.Failure?
/Users/admin/builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherFinishedExpectation.swift:5:20: warning: class 'PublisherFinishedExpectation' must restate inherited '@unchecked Sendable' conformance
  3 |
  4 | /// An expectation that is fulfilled when a publisher completes successfully.
  5 | public final class PublisherFinishedExpectation<P: Publisher>: XCTestExpectation {
    |                    `- warning: class 'PublisherFinishedExpectation' must restate inherited '@unchecked Sendable' conformance
  6 |     private var cancellable: AnyCancellable?
  7 |     private let expectedValue: P.Output?
/Users/admin/builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherValueExpectation.swift:6:20: warning: class 'PublisherValueExpectation' must restate inherited '@unchecked Sendable' conformance
 4 |
 5 | /// An expectation that is fulfilled when a publisher emits a value that matches a certain condition.
 6 | public final class PublisherValueExpectation<P: Publisher>: XCTestExpectation {
   |                    `- warning: class 'PublisherValueExpectation' must restate inherited '@unchecked Sendable' conformance
 7 |     private var cancellable: AnyCancellable?
 8 |     private let expectedValue: P.Output?
[61/62] Compiling PublisherExpectations PublisherFailureExpectation.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherFailureExpectation.swift:5:20: warning: class 'PublisherFailureExpectation' must restate inherited '@unchecked Sendable' conformance
  3 |
  4 | /// An expectation that is fulfilled when a publisher completes with a failure.
  5 | public final class PublisherFailureExpectation<P: Publisher>: XCTestExpectation {
    |                    `- warning: class 'PublisherFailureExpectation' must restate inherited '@unchecked Sendable' conformance
  6 |     private var cancellable: AnyCancellable?
  7 |     private var expectedError: P.Failure?
[62/62] Compiling PublisherExpectations PublisherValueExpectation.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherValueExpectation.swift:6:20: warning: class 'PublisherValueExpectation' must restate inherited '@unchecked Sendable' conformance
 4 |
 5 | /// An expectation that is fulfilled when a publisher emits a value that matches a certain condition.
 6 | public final class PublisherValueExpectation<P: Publisher>: XCTestExpectation {
   |                    `- warning: class 'PublisherValueExpectation' must restate inherited '@unchecked Sendable' conformance
 7 |     private var cancellable: AnyCancellable?
 8 |     private let expectedValue: P.Output?
Build complete! (33.28s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-custom-dump",
      "requirement" : {
        "exact" : [
          "1.1.2"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-custom-dump"
    }
  ],
  "manifest_display_name" : "PublisherExpectations",
  "name" : "PublisherExpectations",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "PublisherExpectations",
      "targets" : [
        "PublisherExpectations"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PublisherExpectationsTests",
      "module_type" : "SwiftTarget",
      "name" : "PublisherExpectationsTests",
      "path" : "Tests/PublisherExpectationsTests",
      "sources" : [
        "PublisherFailureExpectationTests.swift",
        "PublisherFinishedExpectationTests.swift",
        "PublisherValueExpectationTests.swift"
      ],
      "target_dependencies" : [
        "PublisherExpectations"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PublisherExpectations",
      "module_type" : "SwiftTarget",
      "name" : "PublisherExpectations",
      "path" : "Sources/PublisherExpectations",
      "product_dependencies" : [
        "CustomDump"
      ],
      "product_memberships" : [
        "PublisherExpectations"
      ],
      "sources" : [
        "API/PublisherFailureExpectation.swift",
        "API/PublisherFinishedExpectation.swift",
        "API/PublisherValueExpectation.swift",
        "FailureMessages.swift",
        "PublisherExpectation.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.