Build Information
Failed to build NetworkScanner with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.43.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wadetregaskis/NetworkScanner.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/wadetregaskis/NetworkScanner
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 03125f5 Explicitly marked `Delegate` as `Sendable` because with the 5.10 compiler it complains otherwise.
Cloned https://github.com/wadetregaskis/NetworkScanner.git
Revision (git rev-parse @):
03125f57736a9467fa8a2b4c982422e69d3007d9
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/wadetregaskis/NetworkScanner.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $workDir
https://github.com/wadetregaskis/NetworkScanner.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-async-algorithms.git
[6/514] Fetching networkinterfaceinfo
[515/4015] Fetching networkinterfaceinfo, swift-log
[516/8381] Fetching networkinterfaceinfo, swift-log, swift-async-algorithms
Fetched https://github.com/wadetregaskis/NetworkInterfaceInfo.git (0.36s)
Fetched https://github.com/apple/swift-log (0.37s)
Fetched https://github.com/apple/swift-async-algorithms.git (0.37s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.1 (0.29s)
Fetching https://github.com/apple/swift-collections.git
[1/14259] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (0.91s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.1 (1.03s)
Computing version for https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Computed https://github.com/wadetregaskis/NetworkInterfaceInfo.git at 5.1.0 (0.35s)
Fetching https://github.com/wadetregaskis/FoundationExtensions.git
[1/353] Fetching foundationextensions
Fetched https://github.com/wadetregaskis/FoundationExtensions.git (0.24s)
Computing version for https://github.com/wadetregaskis/FoundationExtensions.git
Computed https://github.com/wadetregaskis/FoundationExtensions.git at 3.5.0 (0.25s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.5.4 (0.30s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.5.4
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.1
Creating working copy for https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Working copy of https://github.com/wadetregaskis/NetworkInterfaceInfo.git resolved at 5.1.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.1
Creating working copy for https://github.com/wadetregaskis/FoundationExtensions.git
Working copy of https://github.com/wadetregaskis/FoundationExtensions.git resolved at 3.5.0
Building for debugging...
[1/46] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[2/46] Compiling InternalCollectionsUtilities Specialize.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/48] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[4/48] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[5/48] Emitting module FoundationExtensions
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:24:5: error: missing return in instance method expected to return 'Self'
}
^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:46:5: error: missing return in instance method expected to return 'Self'
}
^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:80:5: error: missing return in instance method expected to return 'Self'
}
^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:116:5: error: missing return in instance method expected to return 'Self'
}
^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:138:5: error: missing return in instance method expected to return 'Self'
}
^
[6/49] Compiling InternalCollectionsUtilities UInt+reversed.swift
[7/49] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[8/49] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[9/49] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[12/49] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[13/49] Emitting module InternalCollectionsUtilities
[14/49] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[15/49] Compiling InternalCollectionsUtilities Integer rank.swift
[16/49] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[17/49] Compiling InternalCollectionsUtilities _SortedCollection.swift
[18/49] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[19/49] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[20/49] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[21/49] Compiling InternalCollectionsUtilities Debugging.swift
[22/49] Compiling InternalCollectionsUtilities Descriptions.swift
[23/49] Compiling Logging LogHandler.swift
[25/51] Wrapping AST for InternalCollectionsUtilities for debugging
[27/122] Compiling OrderedCollections _HashTable.swift
[28/122] Compiling OrderedCollections _Hashtable+Header.swift
[29/122] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[30/122] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[31/122] Compiling OrderedCollections _HashTable+Testing.swift
[32/122] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[33/122] Compiling OrderedCollections _HashTable+Constants.swift
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:24:5: error: missing return in instance method expected to return 'Self'
}
^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:46:5: error: missing return in instance method expected to return 'Self'
}
^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:80:5: error: missing return in instance method expected to return 'Self'
}
^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:116:5: error: missing return in instance method expected to return 'Self'
}
^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:138:5: error: missing return in instance method expected to return 'Self'
}
^
[34/122] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:24:5: error: missing return in instance method expected to return 'Self'
}
^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:46:5: error: missing return in instance method expected to return 'Self'
}
^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:80:5: error: missing return in instance method expected to return 'Self'
}
^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:116:5: error: missing return in instance method expected to return 'Self'
}
^
/host/spi-builder-workspace/.build/checkouts/FoundationExtensions/Sources/FoundationExtensions/Comparable.swift:138:5: error: missing return in instance method expected to return 'Self'
}
^
[35/122] Compiling Logging MetadataProvider.swift
[36/122] Emitting module Logging
[37/122] Compiling Logging Locks.swift
[38/122] Compiling FoundationExtensions StringProtocol.swift
[39/122] Compiling FoundationExtensions Locale.swift
[40/122] Compiling FoundationExtensions Optional.swift
BUILD FAILURE 5.8 linux