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: main
Initialized empty Git repository in /Users/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/yannxou/PublisherExpectations
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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] Emitting module XCTestDynamicOverlay
[2/10] Compiling XCTestDynamicOverlay Unimplemented.swift
[3/10] Compiling XCTestDynamicOverlay XCTExpectFailure.swift
[4/10] Compiling XCTestDynamicOverlay XCTFail.swift
[5/10] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[6/10] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[7/10] Compiling XCTestDynamicOverlay Deprecations.swift
[8/10] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[9/10] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[10/10] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[11/32] Compiling CustomDump CustomDumpReflectable.swift
[12/32] Compiling CustomDump CustomDumpRepresentable.swift
[13/32] Compiling CustomDump CustomDumpStringConvertible.swift
[14/32] Compiling CustomDump Diff.swift
[15/32] Compiling CustomDump Dump.swift
[16/32] Compiling CustomDump AnyType.swift
[17/32] Compiling CustomDump Box.swift
[18/32] Compiling CustomDump CoreImage.swift
[19/32] Compiling CustomDump CoreLocation.swift
[20/32] Compiling CustomDump CoreMotion.swift
[21/32] Compiling CustomDump Foundation.swift
[22/32] Compiling CustomDump GameKit.swift
[23/32] Compiling CustomDump KeyPath.swift
[24/32] Compiling CustomDump Photos.swift
[25/32] Emitting module CustomDump
[26/32] Compiling CustomDump Speech.swift
[27/32] Compiling CustomDump StoreKit.swift
[28/32] Compiling CustomDump Swift.swift
[29/32] Compiling CustomDump SwiftUI.swift
[30/32] Compiling CustomDump UIKit.swift
[31/32] Compiling CustomDump UserNotifications.swift
[32/32] Compiling CustomDump UserNotificationsUI.swift
[33/38] Compiling CustomDump CollectionDifference.swift
[34/38] Compiling CustomDump Mirror.swift
[35/38] Compiling CustomDump String.swift
[36/38] Compiling CustomDump Unordered.swift
[37/38] Compiling CustomDump XCTAssertDifference.swift
[38/38] Compiling CustomDump XCTAssertNoDifference.swift
[39/43] Emitting module PublisherExpectations
[40/43] Compiling PublisherExpectations FailureMessages.swift
[41/44] 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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
[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.32s)
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 (0.34s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.1.0 (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.1.0
[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] Emitting module PublisherExpectations
[4/4] Compiling PublisherExpectations PublisherFailureExpectation.swift
BUILD FAILURE 5.8 macosSpm