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 NetworkScanner with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.9
Building package at path:  $workDir
https://github.com/wadetregaskis/NetworkScanner.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-log
[1/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.25s)
[1750/7867] Fetching swift-log, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (0.40s)
Fetched https://github.com/apple/swift-log (0.40s)
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.73s)
Fetching https://github.com/apple/swift-collections.git
[1/14259] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.47s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.1 (1.41s)
Computing version for https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Computed https://github.com/wadetregaskis/NetworkInterfaceInfo.git at 5.1.2 (0.40s)
Fetching https://github.com/wadetregaskis/FoundationExtensions.git
[1/353] Fetching foundationextensions
Fetched https://github.com/wadetregaskis/FoundationExtensions.git (0.20s)
Computing version for https://github.com/wadetregaskis/FoundationExtensions.git
Computed https://github.com/wadetregaskis/FoundationExtensions.git at 3.5.2 (0.36s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.5.4 (0.39s)
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/NetworkInterfaceInfo.git
Working copy of https://github.com/wadetregaskis/NetworkInterfaceInfo.git resolved at 5.1.2
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
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
Building for debugging...
[1/46] Emitting module InternalCollectionsUtilities
[2/48] Compiling FoundationExtensions IteratorProtocol.swift
[3/48] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[4/48] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[5/48] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[6/48] Compiling FoundationExtensions Optional.swift
[7/49] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[8/49] Compiling InternalCollectionsUtilities Integer rank.swift
[9/49] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[10/49] Compiling FoundationExtensions BinaryInteger.swift
[11/49] Compiling FoundationExtensions CollectionOfUInt8.swift
[12/49] Compiling FoundationExtensions Comparable.swift
[13/49] Compiling FoundationExtensions AsyncSequence.swift
[14/49] Compiling FoundationExtensions BidirectionalCollection.swift
[15/49] Compiling FoundationExtensions Double.swift
[16/49] Compiling FoundationExtensions Float.swift
[17/49] Compiling FoundationExtensions Data.swift
[18/49] Compiling FoundationExtensions Date.swift
[19/49] Compiling InternalCollectionsUtilities UInt+reversed.swift
[20/49] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[24/51] Wrapping AST for InternalCollectionsUtilities for debugging
[26/122] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[27/122] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[28/124] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[29/124] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[30/124] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[31/124] Compiling OrderedCollections _HashTable.swift
[32/124] Compiling DequeModule _DequeSlot.swift
[33/124] Compiling DequeModule _UnsafeWrappedBuffer.swift
[34/124] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[35/124] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[36/124] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[37/124] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[38/124] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[39/124] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[40/124] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[41/131] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[42/131] Compiling OrderedCollections _HashTable+Bucket.swift
[43/131] Compiling OrderedCollections _HashTable+BucketIterator.swift
[44/131] Compiling OrderedCollections _HashTable+Constants.swift
[45/131] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[46/131] Compiling OrderedCollections _HashTable+Testing.swift
[51/131] Compiling FoundationExtensions Locale.swift
[54/131] Compiling Logging MetadataProvider.swift
[55/131] Emitting module FoundationExtensions
[56/131] Compiling OrderedCollections OrderedSet+Invariants.swift
[58/131] Compiling FoundationExtensions StringProtocol.swift
[60/133] Compiling OrderedCollections OrderedSet+Initializers.swift
[61/133] Compiling OrderedCollections OrderedSet+Insertions.swift
[68/133] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[69/133] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[70/133] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[71/133] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[72/133] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[73/133] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[74/133] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[75/133] Compiling OrderedCollections OrderedDictionary+Values.swift
[76/133] Compiling OrderedCollections OrderedDictionary.swift
[77/133] Compiling OrderedCollections OrderedSet+Codable.swift
[78/133] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[79/133] Compiling OrderedCollections OrderedSet+Descriptions.swift
[80/133] Compiling OrderedCollections OrderedSet+Diffing.swift
[81/133] Compiling OrderedCollections OrderedSet+Equatable.swift
[82/133] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[83/133] Compiling OrderedCollections OrderedSet+Hashable.swift
[84/133] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[85/133] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[86/133] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[87/133] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[88/133] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[89/133] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[90/133] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[93/133] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[94/133] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[95/133] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[96/133] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[97/133] Compiling OrderedCollections OrderedDictionary+Elements.swift
[98/133] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[99/133] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[99/133] Wrapping AST for FoundationExtensions for debugging
[101/133] Emitting module DequeModule
[106/140] Compiling Logging Locks.swift
[107/140] Compiling Logging Logging.swift
[108/140] Emitting module Logging
[109/140] Compiling Logging LogHandler.swift
[112/142] Wrapping AST for DequeModule for debugging
[113/142] Wrapping AST for Logging for debugging
[115/142] Compiling NetworkInterfaceInfo NetworkAddress.swift
[124/142] Emitting module NetworkInterfaceInfo
[125/142] Compiling OrderedCollections OrderedSet+Sendable.swift
[126/142] Compiling OrderedCollections OrderedSet+SubSequence.swift
[127/142] Compiling OrderedCollections OrderedSet+Testing.swift
[128/142] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[129/142] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[130/142] Compiling OrderedCollections OrderedSet.swift
[131/142] Compiling OrderedCollections _UnsafeBitset.swift
[132/142] Compiling NetworkInterfaceInfo Metrics.swift
[133/142] Compiling NetworkInterfaceInfo IPv4Address.swift
[134/142] Compiling NetworkInterfaceInfo NetworkInterface.swift
[137/144] Emitting module OrderedCollections
[138/146] Wrapping AST for NetworkInterfaceInfo for debugging
[140/148] Wrapping AST for OrderedCollections for debugging
[142/148] Compiling NetworkInterfaceChangeMonitoring NetworkInterfaceChangeMonitoring.swift
[143/148] Emitting module NetworkInterfaceChangeMonitoring
[145/195] Wrapping AST for NetworkInterfaceChangeMonitoring for debugging
[147/195] Emitting module AsyncAlgorithms
[148/201] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[149/201] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[150/201] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[151/201] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[152/201] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[153/201] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[154/201] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[155/201] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[156/201] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[157/201] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[158/201] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[159/201] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[160/201] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[161/201] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[162/201] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[163/201] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[164/201] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[165/201] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[166/201] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[167/201] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[168/201] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[169/201] Compiling AsyncAlgorithms DebounceStateMachine.swift
[170/201] Compiling AsyncAlgorithms DebounceStorage.swift
[171/201] Compiling AsyncAlgorithms Dictionary.swift
[172/201] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[173/201] Compiling AsyncAlgorithms Locking.swift
[174/201] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[175/201] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[176/201] Compiling AsyncAlgorithms MergeStateMachine.swift
[177/201] Compiling AsyncAlgorithms MergeStorage.swift
[178/201] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[179/201] Compiling AsyncAlgorithms Rethrow.swift
[180/201] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[181/201] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[182/201] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[183/201] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[184/201] Compiling AsyncAlgorithms AsyncChannel.swift
[185/201] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[186/201] Compiling AsyncAlgorithms ChannelStateMachine.swift
[187/201] Compiling AsyncAlgorithms ChannelStorage.swift
[188/201] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[189/201] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[190/201] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[191/201] Compiling AsyncAlgorithms CombineLatestStorage.swift
[192/201] Compiling AsyncAlgorithms SetAlgebra.swift
[193/201] Compiling AsyncAlgorithms UnsafeTransfer.swift
[194/201] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[195/201] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[196/201] Compiling AsyncAlgorithms ZipStateMachine.swift
[197/201] Compiling AsyncAlgorithms ZipStorage.swift
[199/203] Wrapping AST for AsyncAlgorithms for debugging
[201/205] 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)…")
[202/205] Emitting module NetworkScanner
error: fatalError
BUILD FAILURE 5.9 linux