Build Information
Successful build of NetworkInterfaceInfo with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.39.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Reference: 5.1.2
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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: $workDir/.spi.yml
SUCCESS checkout https://github.com/wadetregaskis/NetworkInterfaceInfo.git at 5.1.2
Fetching https://github.com/wadetregaskis/FoundationExtensions.git from cache
Fetched https://github.com/wadetregaskis/FoundationExtensions.git from cache (0.27s)
Computing version for https://github.com/wadetregaskis/FoundationExtensions.git
Computed https://github.com/wadetregaskis/FoundationExtensions.git at 3.5.1 (0.26s)
Creating working copy for https://github.com/wadetregaskis/FoundationExtensions.git
Working copy of https://github.com/wadetregaskis/FoundationExtensions.git resolved at 3.5.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "networkinterfaceinfo",
"name": "NetworkInterfaceInfo",
"url": "https://github.com/wadetregaskis/NetworkInterfaceInfo.git",
"version": "unspecified",
"path": "/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-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.1",
"path": "/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FoundationExtensions",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/wadetregaskis/NetworkInterfaceInfo.git from cache
Fetched https://github.com/wadetregaskis/NetworkInterfaceInfo.git from cache (0.22s)
Fetching https://github.com/wadetregaskis/FoundationExtensions.git from cache
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.1 (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.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 (3e4fc6e)
warning: '.resolve-product-dependencies': dependency 'networkinterfaceinfo' is not used by any target
Found 1 product dependencies
- FoundationExtensions
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-6044DDE57671499D.txt
[5/17] Compiling FoundationExtensions AsyncSequence.swift
[6/17] Compiling FoundationExtensions BidirectionalCollection.swift
[7/17] Compiling FoundationExtensions Float.swift
[8/17] Compiling FoundationExtensions IteratorProtocol.swift
[9/17] Compiling FoundationExtensions Date.swift
[10/17] Compiling FoundationExtensions Double.swift
[11/17] Compiling FoundationExtensions Comparable.swift
[12/17] Compiling FoundationExtensions Data.swift
[13/17] Compiling FoundationExtensions BinaryInteger.swift
[14/17] Compiling FoundationExtensions CollectionOfUInt8.swift
[15/17] Compiling FoundationExtensions Optional.swift
[16/17] Emitting module FoundationExtensions
[17/17] Compiling FoundationExtensions Locale.swift
[18/18] Compiling FoundationExtensions StringProtocol.swift
[19/23] Compiling NetworkInterfaceInfo IPv4Address.swift
[20/23] Compiling NetworkInterfaceInfo Metrics.swift
[21/23] Emitting module NetworkInterfaceInfo
[22/23] Compiling NetworkInterfaceInfo NetworkAddress.swift
[23/23] Compiling NetworkInterfaceInfo NetworkInterface.swift
[24/25] Emitting module NetworkInterfaceChangeMonitoring
[25/25] Compiling NetworkInterfaceChangeMonitoring NetworkInterfaceChangeMonitoring.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NetworkInterfaceChangeMonitoring/NetworkInterfaceChangeMonitoring.swift:7:17: remark: '@preconcurrency' attribute on module 'Network' is unused
@preconcurrency import Network
~~~~~~~~~~~~~~~~^
Build complete! (7.18s)
Build complete.
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $workDir/.docs/wadetregaskis/networkinterfaceinfo/5.1.2
Repository: wadetregaskis/NetworkInterfaceInfo
Swift version used: 5.10
Target: NetworkInterfaceInfo
Generating documentation for 'NetworkInterfaceInfo'...
Converting documentation...
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 | }Conversion complete! (0.17s)
Generated DocC archive at '/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.docs/wadetregaskis/networkinterfaceinfo/5.1.2'
Fetching https://github.com/apple/swift-docc-plugin from cache
Updating https://github.com/wadetregaskis/FoundationExtensions.git
Fetched https://github.com/apple/swift-docc-plugin from cache (0.21s)
Updated 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.1 (0.44s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.06s)
Fetching https://github.com/apple/swift-docc-symbolkit from cache
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.45s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.04s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write snippet-extract-entitlement.plist
[0/8] Write sources
[4/8] Write swift-version-6044DDE57671499D.txt
[6/52] Emitting module Snippets
[7/52] Compiling Snippets Snippet.swift
[8/52] Compiling Snippets SnippetParser.swift
[9/52] Compiling SymbolKit AvailabilityItem.swift
[10/52] Compiling SymbolKit Domain.swift
[11/52] Compiling SymbolKit DeclarationFragments.swift
[12/52] Compiling SymbolKit Fragment.swift
[13/52] Compiling SymbolKit FragmentKind.swift
[14/52] Compiling SymbolKit FunctionParameter.swift
[15/57] Compiling SymbolKit SPI.swift
[16/57] Compiling SymbolKit Snippet.swift
[17/57] Compiling SymbolKit Extension.swift
[18/57] Compiling SymbolKit GenericConstraint.swift
[19/57] Compiling SymbolKit GenericParameter.swift
[20/57] Compiling SymbolKit SourceOrigin.swift
[21/57] Compiling SymbolKit GenericConstraints.swift
[22/57] Compiling SymbolKit Swift.swift
[23/57] Compiling SymbolKit SemanticVersion.swift
[24/57] Compiling SymbolKit AccessControl.swift
[25/57] Compiling SymbolKit Availability.swift
[26/57] Compiling SymbolKit Mixin+Equals.swift
[27/57] Compiling SymbolKit Mixin+Hash.swift
[28/57] Compiling SymbolKit Mixin.swift
[29/57] Compiling SymbolKit LineList.swift
[30/57] Compiling SymbolKit Position.swift
[31/57] Compiling SymbolKit SourceRange.swift
[32/57] Compiling SymbolKit Generics.swift
[33/57] Compiling SymbolKit Namespace.swift
[34/57] Compiling SymbolKit Symbol.swift
[35/57] Compiling SymbolKit SymbolKind.swift
[36/57] Compiling SymbolKit SymbolGraph.swift
[37/57] Compiling SymbolKit Metadata.swift
[38/57] Compiling SymbolKit Module.swift
[39/57] Compiling SymbolKit OperatingSystem.swift
[40/57] Compiling SymbolKit Platform.swift
[41/57] Compiling SymbolKit Relationship.swift
[42/57] Compiling SymbolKit RelationshipKind.swift
[43/57] Emitting module SymbolKit
[44/57] Compiling SymbolKit FunctionSignature.swift
[45/57] Compiling SymbolKit Identifier.swift
[46/57] Compiling SymbolKit KindIdentifier.swift
[47/57] Compiling SymbolKit Location.swift
[48/57] Compiling SymbolKit Mutability.swift
[49/57] Compiling SymbolKit Names.swift
[50/57] Compiling SymbolKit GraphCollector.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 SnippetBuildCommand.swift
[57/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract
[60/61] Applying snippet-extract
Build complete! (4.82s)
Building for debugging...
[0/1] Write swift-version-6044DDE57671499D.txt
Build complete! (0.11s)
Target: NetworkInterfaceChangeMonitoring
Generating documentation for 'NetworkInterfaceChangeMonitoring'...
Converting documentation...
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:Conversion complete! (0.12s)
Generated DocC archive at '/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.docs/wadetregaskis/networkinterfaceinfo/5.1.2'
Building for debugging...
[0/3] Write swift-version-6044DDE57671499D.txt
Build complete! (0.21s)
Building for debugging...
[0/1] Write swift-version-6044DDE57671499D.txt
Build complete! (0.11s)
Successfully merged into /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.docs-staging/wadetregaskis/networkinterfaceinfo/5.1.2/index/index.json
Successfully merged into /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.docs-staging/wadetregaskis/networkinterfaceinfo/5.1.2/linkable-paths.json
756
6 /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.docs/wadetregaskis/networkinterfaceinfo/5.1.2
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $workDir/.docs/wadetregaskis/networkinterfaceinfo/5.1.2
File count: 756
Doc size: 6.0MB
Preparing doc bundle ...
Uploading prod-wadetregaskis-networkinterfaceinfo-5.1.2-e2ff3700.zip to s3://spi-docs-inbox/prod-wadetregaskis-networkinterfaceinfo-5.1.2-e2ff3700.zip
Copying... [13%]
Copying... [26%]
Copying... [32%]
Copying... [45%]
Copying... [51%]
Copying... [64%]
Copying... [70%]
Copying... [83%]
Copying... [96%]
Copying... [100%]
Done.