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

Failed to build PublisherExpectations with Swift 5.8 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.28.9
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yannxou/PublisherExpectations.git
Reference: 1.0.2
Initialized empty Git repository in /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $workDir
https://github.com/yannxou/PublisherExpectations.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/8] Compiling XCTestDynamicOverlay Unimplemented.swift
[2/8] Compiling XCTestDynamicOverlay XCTExpectFailure.swift
[3/10] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[4/10] Compiling XCTestDynamicOverlay Deprecations.swift
[5/10] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[6/10] Emitting module XCTestDynamicOverlay
[7/10] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[8/10] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[9/10] Compiling XCTestDynamicOverlay XCTFail.swift
[10/10] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[11/32] Emitting module CustomDump
[12/38] Compiling CustomDump CustomDumpReflectable.swift
[13/38] Compiling CustomDump CustomDumpRepresentable.swift
[14/38] Compiling CustomDump CustomDumpStringConvertible.swift
[15/38] Compiling CustomDump Diff.swift
[16/38] Compiling CustomDump Dump.swift
[17/38] Compiling CustomDump AnyType.swift
[18/38] Compiling CustomDump Box.swift
[19/38] Compiling CustomDump CollectionDifference.swift
[20/38] Compiling CustomDump Mirror.swift
[21/38] Compiling CustomDump String.swift
[22/38] Compiling CustomDump Unordered.swift
[23/38] Compiling CustomDump XCTAssertDifference.swift
[24/38] Compiling CustomDump XCTAssertNoDifference.swift
[25/38] Compiling CustomDump CoreImage.swift
[26/38] Compiling CustomDump CoreLocation.swift
[27/38] Compiling CustomDump CoreMotion.swift
[28/38] Compiling CustomDump Foundation.swift
[29/38] Compiling CustomDump GameKit.swift
[30/38] Compiling CustomDump KeyPath.swift
[31/38] Compiling CustomDump Photos.swift
[32/38] Compiling CustomDump Speech.swift
[33/38] Compiling CustomDump StoreKit.swift
[34/38] Compiling CustomDump Swift.swift
[35/38] Compiling CustomDump SwiftUI.swift
[36/38] Compiling CustomDump UIKit.swift
[37/38] Compiling CustomDump UserNotifications.swift
[38/38] Compiling CustomDump UserNotificationsUI.swift
[39/43] Compiling PublisherExpectations FailureMessages.swift
[40/43] Compiling PublisherExpectations PublisherValueExpectation.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherValueExpectation.swift:85:15: error: consecutive statements on a line must be separated by ';'
        return if let expectedValue {
              ^
              ;
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherValueExpectation.swift:85:9: error: non-void function should return a value
        return if let expectedValue {
        ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherValueExpectation.swift:86:13: warning: result of call to 'receivedValuesDiffDescription(received:expected:)' is unused
            receivedValuesDiffDescription(
            ^                            ~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherValueExpectation.swift:91:13: warning: result of call to 'receivedValuesDescription(received:)' is unused
            receivedValuesDescription(received: receivedValues)
            ^                        ~~~~~~~~~~~~~~~~~~~~~~~~~~
[41/44] Emitting module PublisherExpectations
[42/44] Compiling PublisherExpectations PublisherFailureExpectation.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherFinishedExpectation.swift:121:15: error: consecutive statements on a line must be separated by ';'
        return if let expectedValue {
              ^
              ;
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherFinishedExpectation.swift:121:9: error: non-void function should return a value
        return if let expectedValue {
        ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherFinishedExpectation.swift:122:13: warning: result of call to 'receivedValuesDiffDescription(received:expected:)' is unused
            receivedValuesDiffDescription(
            ^                            ~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherFinishedExpectation.swift:127:13: warning: result of call to 'receivedValuesDescription(received:)' is unused
            receivedValuesDescription(received: receivedValues)
            ^                        ~~~~~~~~~~~~~~~~~~~~~~~~~~
[43/44] Compiling PublisherExpectations PublisherFinishedExpectation.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherFinishedExpectation.swift:121:15: error: consecutive statements on a line must be separated by ';'
        return if let expectedValue {
              ^
              ;
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherFinishedExpectation.swift:121:9: error: non-void function should return a value
        return if let expectedValue {
        ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherFinishedExpectation.swift:122:13: warning: result of call to 'receivedValuesDiffDescription(received:expected:)' is unused
            receivedValuesDiffDescription(
            ^                            ~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherFinishedExpectation.swift:127:13: warning: result of call to 'receivedValuesDescription(received:)' is unused
            receivedValuesDescription(received: receivedValues)
            ^                        ~~~~~~~~~~~~~~~~~~~~~~~~~~
[44/44] Compiling PublisherExpectations PublisherExpectation.swift
Fetching https://github.com/pointfreeco/swift-custom-dump from cache
Fetched https://github.com/pointfreeco/swift-custom-dump (0.28s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.1.2 (0.04s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay from cache
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay (0.49s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.1.0 (0.06s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.1.0
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
[0/1] Planning build
Building for debugging...
[1/4] Compiling PublisherExpectations PublisherValueExpectation.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherValueExpectation.swift:85:15: error: consecutive statements on a line must be separated by ';'
        return if let expectedValue {
              ^
              ;
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherValueExpectation.swift:85:9: error: non-void function should return a value
        return if let expectedValue {
        ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherValueExpectation.swift:86:13: warning: result of call to 'receivedValuesDiffDescription(received:expected:)' is unused
            receivedValuesDiffDescription(
            ^                            ~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherValueExpectation.swift:91:13: warning: result of call to 'receivedValuesDescription(received:)' is unused
            receivedValuesDescription(received: receivedValues)
            ^                        ~~~~~~~~~~~~~~~~~~~~~~~~~~
[2/4] Compiling PublisherExpectations PublisherFinishedExpectation.swift
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherFinishedExpectation.swift:121:15: error: consecutive statements on a line must be separated by ';'
        return if let expectedValue {
              ^
              ;
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherFinishedExpectation.swift:121:9: error: non-void function should return a value
        return if let expectedValue {
        ^
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherFinishedExpectation.swift:122:13: warning: result of call to 'receivedValuesDiffDescription(received:expected:)' is unused
            receivedValuesDiffDescription(
            ^                            ~
/Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/PublisherExpectations/API/PublisherFinishedExpectation.swift:127:13: warning: result of call to 'receivedValuesDescription(received:)' is unused
            receivedValuesDescription(received: receivedValues)
            ^                        ~~~~~~~~~~~~~~~~~~~~~~~~~~
[3/4] Compiling PublisherExpectations PublisherFailureExpectation.swift
[4/4] Emitting module PublisherExpectations
BUILD FAILURE 5.8 macosSpm