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-4606859-1":/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: 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.9
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.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-log
Fetching https://github.com/apple/swift-async-algorithms.git
[1/514] Fetching networkinterfaceinfo
[480/4015] Fetching networkinterfaceinfo, swift-log
[1426/8381] Fetching networkinterfaceinfo, swift-log, swift-async-algorithms
Fetched https://github.com/wadetregaskis/NetworkInterfaceInfo.git (0.32s)
Fetched https://github.com/apple/swift-log (0.32s)
Fetched https://github.com/apple/swift-async-algorithms.git (0.32s)
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.36s)
Fetching https://github.com/apple/swift-collections.git
[1/14259] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.51s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.1 (1.65s)
Computing version for https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Computed https://github.com/wadetregaskis/NetworkInterfaceInfo.git at 5.1.2 (0.32s)
Fetching https://github.com/wadetregaskis/FoundationExtensions.git
[1/353] Fetching foundationextensions
Fetched https://github.com/wadetregaskis/FoundationExtensions.git (0.17s)
Computing version for https://github.com/wadetregaskis/FoundationExtensions.git
Computed https://github.com/wadetregaskis/FoundationExtensions.git at 3.5.2 (0.32s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.5.4 (0.36s)
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/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-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/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/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.5.4
Building for debugging...
[1/46] Compiling InternalCollectionsUtilities _SortedCollection.swift
[2/46] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[3/48] Compiling FoundationExtensions Optional.swift
[4/49] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[5/49] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[6/49] Compiling InternalCollectionsUtilities Debugging.swift
[7/49] Compiling InternalCollectionsUtilities Descriptions.swift
[8/49] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[9/49] Compiling InternalCollectionsUtilities Specialize.swift
[10/49] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[11/49] Compiling InternalCollectionsUtilities Integer rank.swift
[12/49] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[13/49] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[14/49] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[15/49] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[16/49] Compiling InternalCollectionsUtilities UInt+reversed.swift
[17/49] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[18/49] Emitting module InternalCollectionsUtilities
[19/49] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[20/49] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[24/51] Wrapping AST for InternalCollectionsUtilities for debugging
[26/122] Compiling OrderedCollections OrderedDictionary+Elements.swift
[27/122] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[28/122] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[29/122] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[30/122] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[31/122] Compiling OrderedCollections _HashTable.swift
[32/124] Emitting module FoundationExtensions
[33/124] Compiling OrderedCollections OrderedDictionary+Codable.swift
[34/124] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[35/124] Compiling OrderedCollections _HashTable+Bucket.swift
[36/124] Compiling OrderedCollections _HashTable+BucketIterator.swift
[37/124] Compiling FoundationExtensions Locale.swift
[38/124] Compiling OrderedCollections _HashTable+Constants.swift
[39/124] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[40/124] Compiling OrderedCollections _HashTable+Testing.swift
[42/124] Compiling FoundationExtensions StringProtocol.swift
[43/125] Emitting module Logging
[44/125] Compiling DequeModule _DequeSlot.swift
[45/125] Compiling DequeModule _UnsafeWrappedBuffer.swift
[46/125] Emitting module DequeModule
[48/126] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[49/126] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[50/126] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[51/126] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[52/126] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[53/126] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[54/126] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[55/126] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[56/126] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[57/126] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[58/126] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[59/126] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[60/126] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[61/126] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[64/133] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[65/133] Compiling OrderedCollections _Hashtable+Header.swift
[73/135] Wrapping AST for FoundationExtensions for debugging
[83/135] Compiling Logging MetadataProvider.swift
[84/135] Compiling Logging Locks.swift
[85/135] Compiling Logging Logging.swift
[86/135] Compiling Logging LogHandler.swift
[86/141] Wrapping AST for DequeModule for debugging
[88/141] Compiling OrderedCollections OrderedDictionary.swift
[89/141] Compiling OrderedCollections OrderedSet+Codable.swift
[90/141] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[91/141] Compiling OrderedCollections OrderedSet+Descriptions.swift
[92/141] Compiling OrderedCollections OrderedSet+Diffing.swift
[93/141] Compiling OrderedCollections OrderedSet+Equatable.swift
[94/141] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[95/141] Compiling OrderedCollections OrderedSet+Hashable.swift
[97/141] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[98/141] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[99/141] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[100/141] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[101/141] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[102/141] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[103/141] Compiling OrderedCollections OrderedDictionary+Values.swift
[104/141] Compiling OrderedCollections OrderedSet+Initializers.swift
[105/141] Compiling OrderedCollections OrderedSet+Insertions.swift
[106/141] Compiling OrderedCollections OrderedSet+Invariants.swift
[107/141] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[108/141] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[109/141] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[110/141] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[111/141] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[113/142] Wrapping AST for Logging for debugging
[115/142] Emitting module NetworkInterfaceInfo
[116/142] Compiling NetworkInterfaceInfo IPv4Address.swift
[125/142] Compiling NetworkInterfaceInfo NetworkAddress.swift
[126/142] Compiling NetworkInterfaceInfo Metrics.swift
[127/142] Compiling NetworkInterfaceInfo NetworkInterface.swift
[128/143] Emitting module OrderedCollections
[131/144] Compiling OrderedCollections OrderedSet+Sendable.swift
[132/144] Compiling OrderedCollections OrderedSet+SubSequence.swift
[133/144] Compiling OrderedCollections OrderedSet+Testing.swift
[134/144] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[135/144] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[136/144] Compiling OrderedCollections OrderedSet.swift
[137/144] Compiling OrderedCollections _UnsafeBitset.swift
[137/145] Wrapping AST for NetworkInterfaceInfo for debugging
[141/148] Compiling NetworkInterfaceChangeMonitoring NetworkInterfaceChangeMonitoring.swift
[142/148] Emitting module NetworkInterfaceChangeMonitoring
[143/150] Wrapping AST for OrderedCollections for debugging
[145/195] Wrapping AST for NetworkInterfaceChangeMonitoring for debugging
[147/195] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[148/195] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[149/195] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[150/195] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[151/195] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[152/195] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[153/201] Emitting module AsyncAlgorithms
[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 AsyncMerge2Sequence.swift
[162/201] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[163/201] Compiling AsyncAlgorithms MergeStateMachine.swift
[164/201] Compiling AsyncAlgorithms MergeStorage.swift
[165/201] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[166/201] Compiling AsyncAlgorithms Rethrow.swift
[167/201] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[168/201] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[169/201] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[170/201] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[171/201] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[172/201] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[173/201] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[174/201] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[175/201] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[176/201] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[177/201] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[178/201] Compiling AsyncAlgorithms AsyncChannel.swift
[179/201] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[180/201] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[181/201] Compiling AsyncAlgorithms DebounceStateMachine.swift
[182/201] Compiling AsyncAlgorithms DebounceStorage.swift
[183/201] Compiling AsyncAlgorithms Dictionary.swift
[184/201] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[185/201] Compiling AsyncAlgorithms Locking.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] Emitting module NetworkScanner
[202/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)…")
error: fatalError
BUILD FAILURE 5.9 linux