Build Information
Failed to build NetworkScanner with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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: 6.0.1
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
* tag 6.0.1 -> FETCH_HEAD
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 6.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/wadetregaskis/NetworkScanner.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Fetching https://github.com/apple/swift-log
[1/514] Fetching networkinterfaceinfo
[515/4015] Fetching networkinterfaceinfo, swift-log
Fetched https://github.com/wadetregaskis/NetworkInterfaceInfo.git from cache (0.20s)
[141/3501] Fetching swift-log
[212/7867] Fetching swift-log, swift-async-algorithms
Fetched https://github.com/apple/swift-log from cache (0.35s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (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.42s)
Fetching https://github.com/apple/swift-collections.git
[1/14259] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.20s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.1 (1.42s)
Computing version for https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Computed https://github.com/wadetregaskis/NetworkInterfaceInfo.git at 5.1.2 (0.41s)
Fetching https://github.com/wadetregaskis/FoundationExtensions.git
[1/353] Fetching foundationextensions
Fetched https://github.com/wadetregaskis/FoundationExtensions.git from cache (0.19s)
Computing version for https://github.com/wadetregaskis/FoundationExtensions.git
Computed https://github.com/wadetregaskis/FoundationExtensions.git at 3.5.2 (0.43s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.5.4 (0.78s)
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.2
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.2
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.5.4
Building for debugging...
[0/23] Write sources
[10/23] Write swift-version-24593BA9C3E375BF.txt
[12/58] Emitting module InternalCollectionsUtilities
[13/60] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[14/60] Compiling InternalCollectionsUtilities Specialize.swift
[15/60] Compiling FoundationExtensions Optional.swift
[16/60] Emitting module FoundationExtensions
[17/60] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[18/60] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[19/60] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[20/60] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[21/61] Compiling InternalCollectionsUtilities Debugging.swift
[22/61] Compiling InternalCollectionsUtilities Descriptions.swift
[23/61] Compiling InternalCollectionsUtilities _SortedCollection.swift
[24/61] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[25/61] Compiling InternalCollectionsUtilities UInt+reversed.swift
[28/61] Compiling InternalCollectionsUtilities Integer rank.swift
[29/61] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[30/61] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[31/61] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[32/61] Compiling FoundationExtensions AsyncSequence.swift
[33/61] Compiling FoundationExtensions BidirectionalCollection.swift
[34/61] Compiling FoundationExtensions BinaryInteger.swift
[35/62] Wrapping AST for InternalCollectionsUtilities for debugging
[37/133] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[38/133] Compiling OrderedCollections _HashTable.swift
[39/135] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[40/135] Compiling OrderedCollections OrderedSet+Descriptions.swift
[41/135] Compiling OrderedCollections OrderedDictionary.swift
[42/135] Compiling OrderedCollections OrderedSet+Codable.swift
[43/135] Compiling OrderedCollections OrderedSet+Hashable.swift
[44/135] Compiling OrderedCollections _HashTable+Bucket.swift
[45/135] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[46/135] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[47/135] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[48/135] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[49/135] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[50/135] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[51/135] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[52/142] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[58/142] Compiling FoundationExtensions StringProtocol.swift
[59/142] Compiling DequeModule _DequeSlot.swift
[60/142] Compiling DequeModule _UnsafeWrappedBuffer.swift
[61/142] Compiling FoundationExtensions Locale.swift
[63/142] Compiling OrderedCollections _HashTable+BucketIterator.swift
[64/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[65/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[66/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[67/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[68/143] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[69/143] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[70/143] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[71/143] Compiling Logging MetadataProvider.swift
[73/143] Emitting module Logging
[74/143] Compiling Logging Locks.swift
[76/143] Compiling OrderedCollections _HashTable+Constants.swift
[77/143] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[78/143] Compiling OrderedCollections _HashTable+Testing.swift
[78/143] Wrapping AST for FoundationExtensions for debugging
[80/143] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[81/143] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[82/143] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[83/143] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[84/143] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[85/143] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[86/143] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[87/143] Compiling OrderedCollections OrderedDictionary+Values.swift
[89/146] Compiling OrderedCollections OrderedSet+Insertions.swift
[90/146] Compiling OrderedCollections OrderedSet+Invariants.swift
[91/146] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[92/146] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[93/146] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[94/146] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[95/146] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[100/146] Compiling OrderedCollections OrderedSet+Diffing.swift
[101/146] Compiling OrderedCollections OrderedSet+Equatable.swift
[107/148] Compiling Logging LogHandler.swift
[108/148] Compiling Logging Logging.swift
[109/149] Emitting module DequeModule
[111/150] Wrapping AST for Logging for debugging
[112/150] Wrapping AST for DequeModule for debugging
[114/150] Compiling NetworkInterfaceInfo IPv4Address.swift
[115/150] Emitting module NetworkInterfaceInfo
[116/150] Compiling OrderedCollections OrderedDictionary+Codable.swift
[117/150] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[118/150] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[119/150] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[120/150] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[121/150] Compiling OrderedCollections OrderedDictionary+Elements.swift
[122/150] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[123/150] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[132/150] Compiling OrderedCollections OrderedSet+Sendable.swift
[133/150] Compiling OrderedCollections OrderedSet+SubSequence.swift
[134/150] Compiling OrderedCollections OrderedSet+Testing.swift
[135/150] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[136/150] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[137/150] Compiling OrderedCollections OrderedSet.swift
[138/150] Compiling OrderedCollections _UnsafeBitset.swift
[139/150] Compiling NetworkInterfaceInfo NetworkAddress.swift
[140/150] Compiling NetworkInterfaceInfo Metrics.swift
[141/150] Compiling NetworkInterfaceInfo NetworkInterface.swift
[143/151] Emitting module OrderedCollections
[144/152] Wrapping AST for NetworkInterfaceInfo for debugging
[146/154] Emitting module NetworkInterfaceChangeMonitoring
[147/154] Compiling NetworkInterfaceChangeMonitoring NetworkInterfaceChangeMonitoring.swift
[148/155] Wrapping AST for OrderedCollections for debugging
[149/200] Wrapping AST for NetworkInterfaceChangeMonitoring for debugging
[151/200] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[152/200] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[153/200] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[154/200] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[155/200] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[156/200] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[157/206] Emitting module AsyncAlgorithms
[158/206] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[159/206] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[160/206] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[161/206] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[162/206] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[163/206] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[164/206] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[165/206] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[166/206] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[167/206] Compiling AsyncAlgorithms MergeStateMachine.swift
[168/206] Compiling AsyncAlgorithms MergeStorage.swift
[169/206] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[170/206] Compiling AsyncAlgorithms Rethrow.swift
[171/206] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[172/206] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[173/206] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[174/206] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[175/206] Compiling AsyncAlgorithms AsyncChannel.swift
[176/206] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[177/206] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[178/206] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[179/206] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[180/206] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[181/206] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[182/206] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[183/206] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[184/206] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[185/206] Compiling AsyncAlgorithms DebounceStateMachine.swift
[186/206] Compiling AsyncAlgorithms DebounceStorage.swift
[187/206] Compiling AsyncAlgorithms Dictionary.swift
[188/206] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[189/206] Compiling AsyncAlgorithms Locking.swift
[190/206] Compiling AsyncAlgorithms ChannelStateMachine.swift
[191/206] Compiling AsyncAlgorithms ChannelStorage.swift
[192/206] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[193/206] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[194/206] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[195/206] Compiling AsyncAlgorithms CombineLatestStorage.swift
[196/206] Compiling AsyncAlgorithms SetAlgebra.swift
[197/206] Compiling AsyncAlgorithms UnsafeTransfer.swift
[198/206] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[199/206] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[200/206] Compiling AsyncAlgorithms ZipStateMachine.swift
[201/206] Compiling AsyncAlgorithms ZipStorage.swift
[202/207] Wrapping AST for AsyncAlgorithms for debugging
[204/209] Emitting module NetworkScanner
[205/209] Compiling NetworkScanner NetworkScanner.swift
/host/spi-builder-workspace/Sources/NetworkScanner/NetworkScanner.swift:226:74: error: type 'NetworkInterface' has no member 'changes'
for try await change in NetworkInterface.changes() {
~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/NetworkScanner/NetworkScanner.swift:326:170: error: value of type 'UInt32' has no member 'formatted'
log.info("Scanning \(IPv4Address(addressInHostOrder: startAddress)) to \(IPv4Address(addressInHostOrder: lastAddress)) (about \((lastAddress - startAddress).formatted()) addresses)…")
error: fatalError
BUILD FAILURE 5.10 linux