Build Information
Failed to build pingx, reference main (3fd821
), with Swift 5.10 for macOS (SPM) on 13 Jul 2025 16:24:20 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shineRR/pingx.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/shineRR/pingx
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3fd8211 [IMP-3] Migrate pinger to async/await (#8)
Cloned https://github.com/shineRR/pingx.git
Revision (git rev-parse @):
3fd8211bde0ce53e33ae9c27f8807a379ba78d21
SUCCESS checkout https://github.com/shineRR/pingx.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/shineRR/pingx.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/33] Emitting module pingx
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:53:63: error: consecutive declarations on a line must be separated by ';'
func validateICMPPackage(_ icmpPackage: ICMPPacket) throws(ICMPResponseValidationError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:53:63: error: expected declaration
func validateICMPPackage(_ icmpPackage: ICMPPacket) throws(ICMPResponseValidationError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:52:9: note: in extension of 'ICMPPacketExtractor'
private extension ICMPPacketExtractor {
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:53:10: error: expected '{' in body of function declaration
func validateICMPPackage(_ icmpPackage: ICMPPacket) throws(ICMPResponseValidationError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:36:42: error: expected ',' separator
func resume(returning value: sending T) {
^
,
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:36:42: error: unnamed parameters must be written with the empty name '_'
func resume(returning value: sending T) {
^
_:
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:36:34: error: cannot find type 'sending' in scope
func resume(returning value: sending T) {
^~~~~~~
[4/36] Compiling pingx Pinger.swift
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:36:42: error: expected ',' separator
func resume(returning value: sending T) {
^
,
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:36:42: error: unnamed parameters must be written with the empty name '_'
func resume(returning value: sending T) {
^
_:
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:36:34: error: cannot find type 'sending' in scope
func resume(returning value: sending T) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Sequence/PingSequence.swift:79:40: error: incorrect argument label in call (have 'returning:', expected 'throwing:')
safeContinuation.resume(returning: .failure(.timeout))
^~~~~~~~~~
throwing
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Sequence/PingSequence.swift:79:53: error: type 'Never' has no member 'failure'
safeContinuation.resume(returning: .failure(.timeout))
~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Sequence/PingSequence.swift:79:62: error: cannot infer contextual base in reference to member 'timeout'
safeContinuation.resume(returning: .failure(.timeout))
~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Sequence/PingSequence.swift:71:36: error: generic parameter 'T' could not be inferred
let safeContinuation = SafeCheckedContinuation(continuation: continuation)
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:27:37: note: 'T' declared as parameter to type 'SafeCheckedContinuation'
final class SafeCheckedContinuation<T, E: Error>: @unchecked Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Sequence/PingSequence.swift:71:36: error: generic parameter 'E' could not be inferred
let safeContinuation = SafeCheckedContinuation(continuation: continuation)
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:27:40: note: 'E' declared as parameter to type 'SafeCheckedContinuation'
final class SafeCheckedContinuation<T, E: Error>: @unchecked Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Sequence/PingSequence.swift:71:36: note: explicitly specify the generic arguments to fix this issue
let safeContinuation = SafeCheckedContinuation(continuation: continuation)
^
<Any, <#E: Error#>>
[5/36] Compiling pingx AnyPingSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:36:42: error: expected ',' separator
func resume(returning value: sending T) {
^
,
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:36:42: error: unnamed parameters must be written with the empty name '_'
func resume(returning value: sending T) {
^
_:
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:36:34: error: cannot find type 'sending' in scope
func resume(returning value: sending T) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Sequence/PingSequence.swift:79:40: error: incorrect argument label in call (have 'returning:', expected 'throwing:')
safeContinuation.resume(returning: .failure(.timeout))
^~~~~~~~~~
throwing
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Sequence/PingSequence.swift:79:53: error: type 'Never' has no member 'failure'
safeContinuation.resume(returning: .failure(.timeout))
~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Sequence/PingSequence.swift:79:62: error: cannot infer contextual base in reference to member 'timeout'
safeContinuation.resume(returning: .failure(.timeout))
~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Sequence/PingSequence.swift:71:36: error: generic parameter 'T' could not be inferred
let safeContinuation = SafeCheckedContinuation(continuation: continuation)
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:27:37: note: 'T' declared as parameter to type 'SafeCheckedContinuation'
final class SafeCheckedContinuation<T, E: Error>: @unchecked Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Sequence/PingSequence.swift:71:36: error: generic parameter 'E' could not be inferred
let safeContinuation = SafeCheckedContinuation(continuation: continuation)
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:27:40: note: 'E' declared as parameter to type 'SafeCheckedContinuation'
final class SafeCheckedContinuation<T, E: Error>: @unchecked Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Sequence/PingSequence.swift:71:36: note: explicitly specify the generic arguments to fix this issue
let safeContinuation = SafeCheckedContinuation(continuation: continuation)
^
<Any, <#E: Error#>>
[6/36] Compiling pingx PingSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:36:42: error: expected ',' separator
func resume(returning value: sending T) {
^
,
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:36:42: error: unnamed parameters must be written with the empty name '_'
func resume(returning value: sending T) {
^
_:
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:36:34: error: cannot find type 'sending' in scope
func resume(returning value: sending T) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Sequence/PingSequence.swift:79:40: error: incorrect argument label in call (have 'returning:', expected 'throwing:')
safeContinuation.resume(returning: .failure(.timeout))
^~~~~~~~~~
throwing
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Sequence/PingSequence.swift:79:53: error: type 'Never' has no member 'failure'
safeContinuation.resume(returning: .failure(.timeout))
~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Sequence/PingSequence.swift:79:62: error: cannot infer contextual base in reference to member 'timeout'
safeContinuation.resume(returning: .failure(.timeout))
~^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Sequence/PingSequence.swift:71:36: error: generic parameter 'T' could not be inferred
let safeContinuation = SafeCheckedContinuation(continuation: continuation)
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:27:37: note: 'T' declared as parameter to type 'SafeCheckedContinuation'
final class SafeCheckedContinuation<T, E: Error>: @unchecked Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Sequence/PingSequence.swift:71:36: error: generic parameter 'E' could not be inferred
let safeContinuation = SafeCheckedContinuation(continuation: continuation)
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:27:40: note: 'E' declared as parameter to type 'SafeCheckedContinuation'
final class SafeCheckedContinuation<T, E: Error>: @unchecked Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Sequence/PingSequence.swift:71:36: note: explicitly specify the generic arguments to fix this issue
let safeContinuation = SafeCheckedContinuation(continuation: continuation)
^
<Any, <#E: Error#>>
[7/36] Compiling pingx PingxIdentifier.swift
[8/36] Compiling pingx Interval.swift
[9/36] Compiling pingx ICMPHeader.swift
[10/36] Compiling pingx ICMPPacket.swift
[11/36] Compiling pingx ICMPType.swift
[12/36] Compiling pingx Payload.swift
[13/36] Compiling pingx Result+Extensions.swift
[14/36] Compiling pingx String+Extensions.swift
[15/36] Compiling pingx ICMPHeaderFactory.swift
[16/36] Compiling pingx SocketFactory.swift
[17/36] Compiling pingx Atomic.swift
[18/36] Compiling pingx CommandBlock.swift
[19/36] Compiling pingx IPv4Address.swift
[20/36] Compiling pingx IPHeader.swift
[21/36] Compiling pingx Response.swift
[22/36] Compiling pingx PingxSocket.swift
[23/36] Compiling pingx PingConfiguration.swift
[24/36] Compiling pingx ICMPChecksum.swift
[25/36] Compiling pingx IPv4AddressStringConverter.swift
[26/36] Compiling pingx IPv4AddressConverterError.swift
[27/36] Compiling pingx IPv4AddressConverter.swift
[28/36] Compiling pingx Request.swift
[29/36] Compiling pingx PingError.swift
[30/36] Compiling pingx PingResult.swift
[31/36] Compiling pingx SafeCheckedContinuation.swift
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:36:42: error: expected ',' separator
func resume(returning value: sending T) {
^
,
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:36:42: error: unnamed parameters must be written with the empty name '_'
func resume(returning value: sending T) {
^
_:
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:36:34: error: cannot find type 'sending' in scope
func resume(returning value: sending T) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:53:63: error: consecutive declarations on a line must be separated by ';'
func validateICMPPackage(_ icmpPackage: ICMPPacket) throws(ICMPResponseValidationError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:53:63: error: expected declaration
func validateICMPPackage(_ icmpPackage: ICMPPacket) throws(ICMPResponseValidationError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:52:9: note: in extension of 'ICMPPacketExtractor'
private extension ICMPPacketExtractor {
^
[32/36] Compiling pingx AsyncPingerResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:36:42: error: expected ',' separator
func resume(returning value: sending T) {
^
,
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:36:42: error: unnamed parameters must be written with the empty name '_'
func resume(returning value: sending T) {
^
_:
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:36:34: error: cannot find type 'sending' in scope
func resume(returning value: sending T) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:53:63: error: consecutive declarations on a line must be separated by ';'
func validateICMPPackage(_ icmpPackage: ICMPPacket) throws(ICMPResponseValidationError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:53:63: error: expected declaration
func validateICMPPackage(_ icmpPackage: ICMPPacket) throws(ICMPResponseValidationError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:52:9: note: in extension of 'ICMPPacketExtractor'
private extension ICMPPacketExtractor {
^
[33/36] Compiling pingx AsyncPinger.swift
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:36:42: error: expected ',' separator
func resume(returning value: sending T) {
^
,
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:36:42: error: unnamed parameters must be written with the empty name '_'
func resume(returning value: sending T) {
^
_:
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/SafeCheckedContinuation.swift:36:34: error: cannot find type 'sending' in scope
func resume(returning value: sending T) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:53:63: error: consecutive declarations on a line must be separated by ';'
func validateICMPPackage(_ icmpPackage: ICMPPacket) throws(ICMPResponseValidationError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:53:63: error: expected declaration
func validateICMPPackage(_ icmpPackage: ICMPPacket) throws(ICMPResponseValidationError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:52:9: note: in extension of 'ICMPPacketExtractor'
private extension ICMPPacketExtractor {
^
[34/36] Compiling pingx AsyncPingerError.swift
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:53:63: error: consecutive declarations on a line must be separated by ';'
func validateICMPPackage(_ icmpPackage: ICMPPacket) throws(ICMPResponseValidationError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:53:63: error: expected declaration
func validateICMPPackage(_ icmpPackage: ICMPPacket) throws(ICMPResponseValidationError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:52:9: note: in extension of 'ICMPPacketExtractor'
private extension ICMPPacketExtractor {
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:53:10: error: expected '{' in body of function declaration
func validateICMPPackage(_ icmpPackage: ICMPPacket) throws(ICMPResponseValidationError) {
^
[35/36] Compiling pingx ICMPResponseValidationError.swift
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:53:63: error: consecutive declarations on a line must be separated by ';'
func validateICMPPackage(_ icmpPackage: ICMPPacket) throws(ICMPResponseValidationError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:53:63: error: expected declaration
func validateICMPPackage(_ icmpPackage: ICMPPacket) throws(ICMPResponseValidationError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:52:9: note: in extension of 'ICMPPacketExtractor'
private extension ICMPPacketExtractor {
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:53:10: error: expected '{' in body of function declaration
func validateICMPPackage(_ icmpPackage: ICMPPacket) throws(ICMPResponseValidationError) {
^
[36/36] Compiling pingx ICMPPackageExtractor.swift
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:53:63: error: consecutive declarations on a line must be separated by ';'
func validateICMPPackage(_ icmpPackage: ICMPPacket) throws(ICMPResponseValidationError) {
^
;
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:53:63: error: expected declaration
func validateICMPPackage(_ icmpPackage: ICMPPacket) throws(ICMPResponseValidationError) {
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:52:9: note: in extension of 'ICMPPacketExtractor'
private extension ICMPPacketExtractor {
^
/Users/admin/builder/spi-builder-workspace/Sources/pingx/Pinger/Helpers/ICMPPackageExtractor.swift:53:10: error: expected '{' in body of function declaration
func validateICMPPackage(_ icmpPackage: ICMPPacket) throws(ICMPResponseValidationError) {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm