Build Information
Successful build of NetworkInterfaceInfo, reference 5.1.2 (3e4fc6
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 02:28:14 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Reference: 5.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wadetregaskis/NetworkInterfaceInfo
* tag 5.1.2 -> FETCH_HEAD
HEAD is now at 3e4fc6e Fixed compilation on Linux (re. the recent addition of `@inlinable`).
Cloned https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Revision (git rev-parse @):
3e4fc6e5dd6464864026db227c9282c46e8be541
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wadetregaskis/NetworkInterfaceInfo.git at 5.1.2
Fetching https://github.com/wadetregaskis/FoundationExtensions.git
[4/357] Fetching foundationextensions
Fetched https://github.com/wadetregaskis/FoundationExtensions.git from cache (0.87s)
Computing version for https://github.com/wadetregaskis/FoundationExtensions.git
Computed https://github.com/wadetregaskis/FoundationExtensions.git at 3.5.2 (0.50s)
Creating working copy for https://github.com/wadetregaskis/FoundationExtensions.git
Working copy of https://github.com/wadetregaskis/FoundationExtensions.git resolved at 3.5.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "networkinterfaceinfo",
"name": "NetworkInterfaceInfo",
"url": "https://github.com/wadetregaskis/NetworkInterfaceInfo.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NetworkInterfaceInfo",
"dependencies": [
{
"identity": "foundationextensions",
"name": "FoundationExtensions",
"url": "https://github.com/wadetregaskis/FoundationExtensions.git",
"version": "3.5.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FoundationExtensions",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/wadetregaskis/NetworkInterfaceInfo.git
[1/514] Fetching networkinterfaceinfo
Fetched https://github.com/wadetregaskis/NetworkInterfaceInfo.git from cache (0.79s)
Fetching https://github.com/wadetregaskis/FoundationExtensions.git from cache
Fetched https://github.com/wadetregaskis/FoundationExtensions.git from cache (0.51s)
Computing version for https://github.com/wadetregaskis/FoundationExtensions.git
Computed https://github.com/wadetregaskis/FoundationExtensions.git at 3.5.2 (0.02s)
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 (3e4fc6e)
warning: '.resolve-product-dependencies': dependency 'networkinterfaceinfo' is not used by any target
Found 1 product dependencies
- FoundationExtensions
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/17] Compiling FoundationExtensions Optional.swift
[6/18] Compiling FoundationExtensions StringProtocol.swift
[7/18] Compiling FoundationExtensions IteratorProtocol.swift
[8/18] Compiling FoundationExtensions Double.swift
[9/18] Compiling FoundationExtensions Date.swift
[10/18] Compiling FoundationExtensions Float.swift
[11/18] Compiling FoundationExtensions Locale.swift
[12/18] Compiling FoundationExtensions Comparable.swift
[13/18] Compiling FoundationExtensions Data.swift
[14/18] Compiling FoundationExtensions BinaryInteger.swift
[15/18] Compiling FoundationExtensions CollectionOfUInt8.swift
[16/18] Emitting module FoundationExtensions
[17/18] Compiling FoundationExtensions AsyncSequence.swift
[18/18] Compiling FoundationExtensions BidirectionalCollection.swift
[19/23] Compiling NetworkInterfaceInfo NetworkAddress.swift
[20/23] Compiling NetworkInterfaceInfo NetworkInterface.swift
[21/23] Compiling NetworkInterfaceInfo Metrics.swift
[22/23] Emitting module NetworkInterfaceInfo
[23/23] Compiling NetworkInterfaceInfo IPv4Address.swift
[24/25] Compiling NetworkInterfaceChangeMonitoring NetworkInterfaceChangeMonitoring.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkInterfaceChangeMonitoring/NetworkInterfaceChangeMonitoring.swift:149:21: warning: capture of 'reportAnyChanges' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
147 |
148 | if 0 >= coalescingPeriod {
149 | reportAnyChanges()
| |- warning: capture of 'reportAnyChanges' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
150 | } else {
151 | guard nil == queue.getSpecific(key: enqueuedHandlerKey) else {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkInterfaceChangeMonitoring/NetworkInterfaceChangeMonitoring.swift:159:25: warning: capture of 'reportAnyChanges' with non-sendable type '() -> ()' in an isolated closure; this is an error in the Swift 6 language mode
157 |
158 | let task = DispatchWorkItem() {
159 | reportAnyChanges()
| |- warning: capture of 'reportAnyChanges' with non-sendable type '() -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
160 | queue.setSpecific(key: enqueuedHandlerKey, value: nil)
161 | }
[25/25] Emitting module NetworkInterfaceChangeMonitoring
Build complete! (15.40s)
Build complete.
{
"dependencies" : [
{
"identity" : "foundationextensions",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/wadetregaskis/FoundationExtensions.git"
}
],
"manifest_display_name" : "NetworkInterfaceInfo",
"name" : "NetworkInterfaceInfo",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "NetworkInterfaceInfo",
"targets" : [
"NetworkInterfaceInfo"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "NetworkInterfaceChangeMonitoring",
"targets" : [
"NetworkInterfaceChangeMonitoring"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NetworkInterfaceInfoTests",
"module_type" : "SwiftTarget",
"name" : "NetworkInterfaceInfoTests",
"path" : "Tests/NetworkInterfaceInfoTests",
"sources" : [
"NetworkInterfaceInfoTests.swift"
],
"target_dependencies" : [
"NetworkInterfaceInfo"
],
"type" : "test"
},
{
"c99name" : "NetworkInterfaceInfo",
"module_type" : "SwiftTarget",
"name" : "NetworkInterfaceInfo",
"path" : "Sources/NetworkInterfaceInfo",
"product_dependencies" : [
"FoundationExtensions"
],
"product_memberships" : [
"NetworkInterfaceInfo",
"NetworkInterfaceChangeMonitoring"
],
"sources" : [
"IPv4Address.swift",
"Metrics.swift",
"NetworkAddress.swift",
"NetworkInterface.swift"
],
"type" : "library"
},
{
"c99name" : "NetworkInterfaceChangeMonitoringTests",
"module_type" : "SwiftTarget",
"name" : "NetworkInterfaceChangeMonitoringTests",
"path" : "Tests/NetworkInterfaceChangeMonitoringTests",
"sources" : [
"NetworkInterfaceChangeMonitoringTests.swift"
],
"target_dependencies" : [
"NetworkInterfaceChangeMonitoring"
],
"type" : "test"
},
{
"c99name" : "NetworkInterfaceChangeMonitoring",
"module_type" : "SwiftTarget",
"name" : "NetworkInterfaceChangeMonitoring",
"path" : "Sources/NetworkInterfaceChangeMonitoring",
"product_dependencies" : [
"FoundationExtensions"
],
"product_memberships" : [
"NetworkInterfaceChangeMonitoring"
],
"sources" : [
"NetworkInterfaceChangeMonitoring.swift"
],
"target_dependencies" : [
"NetworkInterfaceInfo"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/wadetregaskis/networkinterfaceinfo/5.1.2
Repository: wadetregaskis/NetworkInterfaceInfo
Swift version used: 6.0
Target: NetworkInterfaceInfo
Extracting symbol information for 'NetworkInterfaceInfo'...
Finished extracting symbol information for 'NetworkInterfaceInfo'. (3.68s)
Building documentation for 'NetworkInterfaceInfo'...
warning: Parameter 'address' not found in initializer declaration
--> Sources/NetworkInterfaceInfo/IPv4Address.swift:55:21-55:28
53 | public let address: UInt32
54 |
55 + /// - Parameter address: The address (in host byte order).
| ╰─suggestion: Replace 'address' with 'addressInHostOrder'
56 | @inlinable
57 | @inline(__always)
warning: Parameter 'addressInHostOrder' is missing documentation
--> Sources/NetworkInterfaceInfo/IPv4Address.swift:55:63-55:63
53 | public let address: UInt32
54 |
55 + /// - Parameter address: The address (in host byte order).
| ╰─suggestion: Document 'addressInHostOrder' parameter
56 | @inlinable
57 | @inline(__always)
warning: Parameter 'address' not found in initializer declaration
--> Sources/NetworkInterfaceInfo/IPv4Address.swift:62:21-62:28
60 | }
61 |
62 + /// - Parameter address: The address (in network byte order).
| ╰─suggestion: Replace 'address' with 'addressInNetworkOrder'
63 | @inlinable
64 | @inline(__always)
warning: Parameter 'addressInNetworkOrder' is missing documentation
--> Sources/NetworkInterfaceInfo/IPv4Address.swift:62:66-62:66
60 | }
61 |
62 + /// - Parameter address: The address (in network byte order).
| ╰─suggestion: Document 'addressInNetworkOrder' parameter
63 | @inlinable
64 | @inline(__always)
warning: 'Darwin' doesn't exist at '/NetworkInterfaceInfo/NetworkAddress/AddressFamily'
--> Sources/NetworkInterfaceInfo/NetworkAddress.swift:71:156-71:162
69 | #endif
70 |
71 + /// This is a redefinition of the constants defined in the OS's standard library headers (`AF_UNIX`, `AF_INET`, etc) and as exposed to Swift via the ``Darwin`` or ``Glibc`` module. They are redefined here because using the 'constants' directly from that module is annoying because they are (a) global, so no context-sensitive auto-completion possible and (b) not actualy defined as constants, so they can't be used in all contexts.
72 | ///
73 | /// Note that it's conceivable - but very unlikely - that there will be new address families added in future OS versions. For this reason the ``unsupported`` case exists, representing a value returned by the underlying OS APIs that this Swift library doesn't know about. If you ever encounter this please report it to the library authors at https://github.com/wadetregaskis/NetworkInterfaceInfo/issues.
warning: 'Glibc' doesn't exist at '/NetworkInterfaceInfo/NetworkAddress/AddressFamily'
--> Sources/NetworkInterfaceInfo/NetworkAddress.swift:71:170-71:175
69 | #endif
70 |
71 + /// This is a redefinition of the constants defined in the OS's standard library headers (`AF_UNIX`, `AF_INET`, etc) and as exposed to Swift via the ``Darwin`` or ``Glibc`` module. They are redefined here because using the 'constants' directly from that module is annoying because they are (a) global, so no context-sensitive auto-completion possible and (b) not actualy defined as constants, so they can't be used in all contexts.
72 | ///
73 | /// Note that it's conceivable - but very unlikely - that there will be new address families added in future OS versions. For this reason the ``unsupported`` case exists, representing a value returned by the underlying OS APIs that this Swift library doesn't know about. If you ever encounter this please report it to the library authors at https://github.com/wadetregaskis/NetworkInterfaceInfo/issues.
warning: 'Darwin' doesn't exist at '/NetworkInterfaceInfo/NetworkInterface/Errors/getifaddrsFailed(errno:)'
--> Sources/NetworkInterfaceInfo/NetworkInterface.swift:355:275-355:281
353 |
354 | public enum Errors: Error, Sendable {
355 + /// The low-level OS-library function that retrieves interface information from the kernel, `getifaddrs`, failed with the given 'explanation' by way of an error number. These error codes are defined in `/usr/include/sys/errno.h` (and exposed to Swift through the ``Darwin`` or ``Glibc`` modules), as e.g. ``Darwin/ENOMEM``.
356 | case getifaddrsFailed(errno: errno_t)
357 |
warning: 'Glibc' doesn't exist at '/NetworkInterfaceInfo/NetworkInterface/Errors/getifaddrsFailed(errno:)'
--> Sources/NetworkInterfaceInfo/NetworkInterface.swift:355:289-355:294
353 |
354 | public enum Errors: Error, Sendable {
355 + /// The low-level OS-library function that retrieves interface information from the kernel, `getifaddrs`, failed with the given 'explanation' by way of an error number. These error codes are defined in `/usr/include/sys/errno.h` (and exposed to Swift through the ``Darwin`` or ``Glibc`` modules), as e.g. ``Darwin/ENOMEM``.
356 | case getifaddrsFailed(errno: errno_t)
357 |
warning: 'Darwin' doesn't exist at '/NetworkInterfaceInfo/NetworkInterface/Errors/getifaddrsFailed(errno:)'
--> Sources/NetworkInterfaceInfo/NetworkInterface.swift:355:317-355:323
353 |
354 | public enum Errors: Error, Sendable {
355 + /// The low-level OS-library function that retrieves interface information from the kernel, `getifaddrs`, failed with the given 'explanation' by way of an error number. These error codes are defined in `/usr/include/sys/errno.h` (and exposed to Swift through the ``Darwin`` or ``Glibc`` modules), as e.g. ``Darwin/ENOMEM``.
356 | case getifaddrsFailed(errno: errno_t)
357 |
warning: 'Metrics(interface:)' doesn't exist at '/NetworkInterfaceInfo/NetworkInterface/Errors/invalidInterfaceName(_:)'
--> Sources/NetworkInterfaceInfo/NetworkInterface.swift:360:37-360:56
358 | /// The hardware interface name is apparently invalid, according to the OS libraries or kernel.
359 | ///
360 + /// This can be thrown by ``Metrics(interface:)`` (as used by ``metrics``) when trying to convert the interface name to the index needed for the metrics lookup from the OS. It indicates either a bug somewhere - whether in this package or the OS libraries or the OS kernel - or a failed race condition where the interface name changed.
361 | case invalidInterfaceName(String)
362 |
warning: 'Darwin' doesn't exist at '/NetworkInterfaceInfo/NetworkInterface/Errors/sysctlFailed(errno:)'
--> Sources/NetworkInterfaceInfo/NetworkInterface.swift:363:267-363:273
361 | case invalidInterfaceName(String)
362 |
363 + /// The low-level OS-library function that retrieves interface metrics from the kernel, `sysctl`, failed with the given 'explanation' by way of an error number. These error codes are defined in `/usr/include/sys/errno.h` (and exposed to Swift through the ``Darwin`` or ``Glibc`` modules), as e.g. ``Darwin/ENOMEM``.
364 | case sysctlFailed(errno: errno_t)
365 | }
warning: 'Glibc' doesn't exist at '/NetworkInterfaceInfo/NetworkInterface/Errors/sysctlFailed(errno:)'
--> Sources/NetworkInterfaceInfo/NetworkInterface.swift:363:281-363:286
361 | case invalidInterfaceName(String)
362 |
363 + /// The low-level OS-library function that retrieves interface metrics from the kernel, `sysctl`, failed with the given 'explanation' by way of an error number. These error codes are defined in `/usr/include/sys/errno.h` (and exposed to Swift through the ``Darwin`` or ``Glibc`` modules), as e.g. ``Darwin/ENOMEM``.
364 | case sysctlFailed(errno: errno_t)
365 | }
warning: 'Darwin' doesn't exist at '/NetworkInterfaceInfo/NetworkInterface/Errors/sysctlFailed(errno:)'
--> Sources/NetworkInterfaceInfo/NetworkInterface.swift:363:309-363:315
361 | case invalidInterfaceName(String)
362 |
363 + /// The low-level OS-library function that retrieves interface metrics from the kernel, `sysctl`, failed with the given 'explanation' by way of an error number. These error codes are defined in `/usr/include/sys/errno.h` (and exposed to Swift through the ``Darwin`` or ``Glibc`` modules), as e.g. ``Darwin/ENOMEM``.
364 | case sysctlFailed(errno: errno_t)
365 | }Finished building documentation for 'NetworkInterfaceInfo' (0.24s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/wadetregaskis/networkinterfaceinfo/5.1.2
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/wadetregaskis/FoundationExtensions.git
Updated https://github.com/wadetregaskis/FoundationExtensions.git (0.48s)
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.37s)
Computing version for https://github.com/wadetregaskis/FoundationExtensions.git
Computed https://github.com/wadetregaskis/FoundationExtensions.git at 3.5.2 (0.46s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.73s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.24s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.69s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling Snippets Snippet.swift
[7/53] Emitting module Snippets
[8/53] Compiling Snippets SnippetParser.swift
[9/53] Compiling SymbolKit Mixin+Equals.swift
[10/53] Compiling SymbolKit Mixin+Hash.swift
[11/53] Compiling SymbolKit Mixin.swift
[12/53] Compiling SymbolKit LineList.swift
[13/53] Compiling SymbolKit Position.swift
[14/57] Compiling SymbolKit SemanticVersion.swift
[15/57] Compiling SymbolKit AccessControl.swift
[16/57] Compiling SymbolKit Availability.swift
[17/57] Compiling SymbolKit AvailabilityItem.swift
[18/57] Compiling SymbolKit Domain.swift
[19/57] Compiling SymbolKit Symbol.swift
[20/57] Compiling SymbolKit SymbolKind.swift
[21/57] Compiling SymbolKit SymbolGraph.swift
[22/57] Compiling SymbolKit GraphCollector.swift
[23/57] Emitting module SymbolKit
[24/57] Compiling SymbolKit DeclarationFragments.swift
[25/57] Compiling SymbolKit Fragment.swift
[26/57] Compiling SymbolKit FragmentKind.swift
[27/57] Compiling SymbolKit FunctionParameter.swift
[28/57] Compiling SymbolKit FunctionSignature.swift
[29/57] Compiling SymbolKit Names.swift
[30/57] Compiling SymbolKit SPI.swift
[31/57] Compiling SymbolKit Snippet.swift
[32/57] Compiling SymbolKit Extension.swift
[33/57] Compiling SymbolKit Identifier.swift
[34/57] Compiling SymbolKit KindIdentifier.swift
[35/57] Compiling SymbolKit Location.swift
[36/57] Compiling SymbolKit Mutability.swift
[37/57] Compiling SymbolKit SourceRange.swift
[38/57] Compiling SymbolKit Metadata.swift
[39/57] Compiling SymbolKit Module.swift
[40/57] Compiling SymbolKit OperatingSystem.swift
[41/57] Compiling SymbolKit Platform.swift
[42/57] Compiling SymbolKit Relationship.swift
[43/57] Compiling SymbolKit RelationshipKind.swift
[44/57] Compiling SymbolKit SourceOrigin.swift
[45/57] Compiling SymbolKit GenericConstraints.swift
[46/57] Compiling SymbolKit Swift.swift
[47/57] Compiling SymbolKit GenericConstraint.swift
[48/57] Compiling SymbolKit GenericParameter.swift
[49/57] Compiling SymbolKit Generics.swift
[50/57] Compiling SymbolKit Namespace.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.54s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/14] Compiling FoundationExtensions Locale.swift
[3/14] Compiling FoundationExtensions IteratorProtocol.swift
[4/14] Compiling FoundationExtensions Optional.swift
[5/15] Compiling FoundationExtensions Float.swift
[6/15] Compiling FoundationExtensions AsyncSequence.swift
[7/15] Compiling FoundationExtensions BidirectionalCollection.swift
[8/15] Compiling FoundationExtensions Comparable.swift
[9/15] Compiling FoundationExtensions Data.swift
[10/15] Compiling FoundationExtensions Double.swift
[11/15] Compiling FoundationExtensions Date.swift
[12/15] Compiling FoundationExtensions BinaryInteger.swift
[13/15] Compiling FoundationExtensions CollectionOfUInt8.swift
[14/15] Emitting module FoundationExtensions
[15/15] Compiling FoundationExtensions StringProtocol.swift
[16/20] Compiling NetworkInterfaceInfo IPv4Address.swift
[17/20] Compiling NetworkInterfaceInfo Metrics.swift
[18/20] Compiling NetworkInterfaceInfo NetworkAddress.swift
[19/20] Compiling NetworkInterfaceInfo NetworkInterface.swift
[20/20] Emitting module NetworkInterfaceInfo
Build of target: 'NetworkInterfaceInfo' complete! (1.45s)
Target: NetworkInterfaceChangeMonitoring
Extracting symbol information for 'NetworkInterfaceChangeMonitoring'...
Finished extracting symbol information for 'NetworkInterfaceChangeMonitoring'. (0.94s)
Building documentation for 'NetworkInterfaceChangeMonitoring'...
warning: 'all' doesn't exist at '/NetworkInterfaceChangeMonitoring/NetworkInterfaceInfo/NetworkInterface'
--> Sources/NetworkInterfaceChangeMonitoring/NetworkInterfaceChangeMonitoring.swift:11:76-11:79
9 |
10 | public extension NetworkInterface {
11 + /// Encapsulates a change to a ``NetworkInterfaceInfo/NetworkInterface/all``.
12 | struct Change: Sendable {
13 | /// The nature of an interface change - i.e. whether it is new, modified, or has disappeared.
warning: 'all' doesn't exist at '/NetworkInterfaceChangeMonitoring/NetworkInterfaceInfo/NetworkInterface'
--> Sources/NetworkInterfaceChangeMonitoring/NetworkInterfaceChangeMonitoring.swift:52:68-52:71
50 | }
51 |
52 + /// Reports changes to ``NetworkInterfaceInfo/NetworkInterface/all``.
53 | ///
54 | /// Changes are reported as a simple structure - ``Change`` - that provides an indication not only of what ``NetworkInterface`` changed by in what manner; whether it is newly added, just removed, or modified (with indications of which fields were modified).
warning: 'Network' doesn't exist at '/NetworkInterfaceChangeMonitoring/NetworkInterfaceInfo/NetworkInterface/changes(coalescingPeriod:)'
--> Sources/NetworkInterfaceChangeMonitoring/NetworkInterfaceChangeMonitoring.swift:58:166-58:173
56 | /// Note that some modifications may be reported as first a removal and then an addition. This reflects how the underlying system actually manages these interfaces, sometimes, even for seemingly trivial modifications like changing the IP address on an interface.
57 | ///
58 + /// Note that there may be a delay between the actual changes occuring and them being reported (even if `coalescingPeriod` is 0). This function relies on the ``Network/NWPathMonitor`` functionality from Apple, and while typically Apple's library provides notification of changes immediately, at other times it takes longer. There is no defined upper bound on this latency, and delays on the order of minutes have been observed in practice.
59 | ///
60 | /// - Parameters:Finished building documentation for 'NetworkInterfaceChangeMonitoring' (0.07s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/wadetregaskis/networkinterfaceinfo/5.1.2
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'snippet-extract' complete! (0.19s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/3] Emitting module NetworkInterfaceChangeMonitoring
[3/3] Compiling NetworkInterfaceChangeMonitoring NetworkInterfaceChangeMonitoring.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkInterfaceChangeMonitoring/NetworkInterfaceChangeMonitoring.swift:149:21: warning: capture of 'reportAnyChanges' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
147 |
148 | if 0 >= coalescingPeriod {
149 | reportAnyChanges()
| |- warning: capture of 'reportAnyChanges' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
150 | } else {
151 | guard nil == queue.getSpecific(key: enqueuedHandlerKey) else {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkInterfaceChangeMonitoring/NetworkInterfaceChangeMonitoring.swift:159:25: warning: capture of 'reportAnyChanges' with non-sendable type '() -> ()' in an isolated closure; this is an error in the Swift 6 language mode
157 |
158 | let task = DispatchWorkItem() {
159 | reportAnyChanges()
| |- warning: capture of 'reportAnyChanges' with non-sendable type '() -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
160 | queue.setSpecific(key: enqueuedHandlerKey, value: nil)
161 | }
Build of target: 'NetworkInterfaceChangeMonitoring' complete! (0.65s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/wadetregaskis/networkinterfaceinfo/5.1.2/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/wadetregaskis/networkinterfaceinfo/5.1.2/linkable-paths.json
756
6 /Users/admin/builder/spi-builder-workspace/.docs/wadetregaskis/networkinterfaceinfo/5.1.2
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/wadetregaskis/networkinterfaceinfo/5.1.2
File count: 756
Doc size: 6.0MB
Preparing doc bundle ...
Uploading prod-wadetregaskis-networkinterfaceinfo-5.1.2-a6e5ae0b.zip to s3://spi-docs-inbox/prod-wadetregaskis-networkinterfaceinfo-5.1.2-a6e5ae0b.zip
Copying... [11%]
Copying... [22%]
Copying... [33%]
Copying... [44%]
Copying... [55%]
Copying... [60%]
Copying... [71%]
Copying... [82%]
Copying... [93%]
Copying... [100%]
Done.