Build Information
Successful build of NetworkInterfaceInfo with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.41.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/wadetregaskis/NetworkInterfaceInfo
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cd5a774 Upgraded to swift-actions/setup-swift/v2.
Cloned https://github.com/wadetregaskis/NetworkInterfaceInfo.git
Revision (git rev-parse @):
cd5a7740f84eb707496431cd49e1f5ff23024a32
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/wadetregaskis/NetworkInterfaceInfo.git at main
Fetching https://github.com/wadetregaskis/FoundationExtensions.git from cache
Fetched https://github.com/wadetregaskis/FoundationExtensions.git from cache (0.31s)
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/UKfvDsi8u/3/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/3/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.2",
"path": "/Users/builder/builds/UKfvDsi8u/3/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.18s)
Fetching https://github.com/wadetregaskis/FoundationExtensions.git from cache
Fetched https://github.com/wadetregaskis/FoundationExtensions.git from cache (0.21s)
Computing version for https://github.com/wadetregaskis/FoundationExtensions.git
Computed https://github.com/wadetregaskis/FoundationExtensions.git at 3.5.2 (0.03s)
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 main (cd5a774)
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.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-33747A42983211AE.txt
[5/17] Compiling FoundationExtensions Date.swift
[6/17] Compiling FoundationExtensions Double.swift
[7/17] Compiling FoundationExtensions Locale.swift
[8/17] Compiling FoundationExtensions Float.swift
[9/17] Compiling FoundationExtensions IteratorProtocol.swift
[10/17] Compiling FoundationExtensions AsyncSequence.swift
[11/17] Compiling FoundationExtensions BidirectionalCollection.swift
[12/17] Compiling FoundationExtensions Optional.swift
[13/17] Compiling FoundationExtensions Comparable.swift
[14/17] Compiling FoundationExtensions Data.swift
[15/17] Emitting module FoundationExtensions
[16/17] Compiling FoundationExtensions BinaryInteger.swift
[17/17] Compiling FoundationExtensions CollectionOfUInt8.swift
[18/18] Compiling FoundationExtensions StringProtocol.swift
[19/23] Compiling NetworkInterfaceInfo NetworkAddress.swift
[20/23] Compiling NetworkInterfaceInfo Metrics.swift
[21/23] Emitting module NetworkInterfaceInfo
[22/23] Compiling NetworkInterfaceInfo IPv4Address.swift
[23/23] Compiling NetworkInterfaceInfo NetworkInterface.swift
[24/25] Compiling NetworkInterfaceChangeMonitoring NetworkInterfaceChangeMonitoring.swift
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NetworkInterfaceChangeMonitoring/NetworkInterfaceChangeMonitoring.swift:7:17: remark: '@preconcurrency' attribute on module 'Network' is unused
@preconcurrency import Network
~~~~~~~~~~~~~~~~^
[25/25] Emitting module NetworkInterfaceChangeMonitoring
Build complete! (7.39s)
Build complete.
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $workDir/.docs/wadetregaskis/networkinterfaceinfo/main
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.21s)
Generated DocC archive at '/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.docs/wadetregaskis/networkinterfaceinfo/main'
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.24s)
Updated https://github.com/wadetregaskis/FoundationExtensions.git (0.19s)
Computing version for https://github.com/wadetregaskis/FoundationExtensions.git
Computed https://github.com/wadetregaskis/FoundationExtensions.git at 3.5.2 (0.06s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.04s)
Fetching https://github.com/apple/swift-docc-symbolkit from cache
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.40s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.05s)
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 sources
[3/8] Write snippet-extract-entitlement.plist
[4/8] Write swift-version-33747A42983211AE.txt
[6/52] Compiling Snippets Snippet.swift
[7/52] Compiling Snippets SnippetParser.swift
[8/52] Emitting module Snippets
[9/52] Compiling SymbolKit Mixin+Equals.swift
[10/52] Compiling SymbolKit Mixin+Hash.swift
[11/52] Compiling SymbolKit Mixin.swift
[12/52] Compiling SymbolKit LineList.swift
[13/52] Compiling SymbolKit Position.swift
[14/52] Compiling SymbolKit SourceRange.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 Generics.swift
[21/57] Compiling SymbolKit Namespace.swift
[22/57] Compiling SymbolKit Symbol.swift
[23/57] Compiling SymbolKit SymbolKind.swift
[24/57] Compiling SymbolKit SymbolGraph.swift
[25/57] Compiling SymbolKit SourceOrigin.swift
[26/57] Compiling SymbolKit GenericConstraints.swift
[27/57] Compiling SymbolKit Swift.swift
[28/57] Compiling SymbolKit SemanticVersion.swift
[29/57] Compiling SymbolKit AccessControl.swift
[30/57] Compiling SymbolKit Availability.swift
[31/57] Compiling SymbolKit FunctionSignature.swift
[32/57] Compiling SymbolKit Identifier.swift
[33/57] Compiling SymbolKit KindIdentifier.swift
[34/57] Compiling SymbolKit Location.swift
[35/57] Compiling SymbolKit Mutability.swift
[36/57] Compiling SymbolKit Names.swift
[37/57] Compiling SymbolKit AvailabilityItem.swift
[38/57] Compiling SymbolKit Domain.swift
[39/57] Compiling SymbolKit DeclarationFragments.swift
[40/57] Compiling SymbolKit Fragment.swift
[41/57] Compiling SymbolKit FragmentKind.swift
[42/57] Compiling SymbolKit FunctionParameter.swift
[43/57] Compiling SymbolKit Metadata.swift
[44/57] Compiling SymbolKit Module.swift
[45/57] Compiling SymbolKit OperatingSystem.swift
[46/57] Compiling SymbolKit Platform.swift
[47/57] Compiling SymbolKit Relationship.swift
[48/57] Compiling SymbolKit RelationshipKind.swift
[49/57] Emitting module SymbolKit
[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 SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract
[60/61] Applying snippet-extract
Build complete! (3.65s)
Building for debugging...
[0/1] Write swift-version-33747A42983211AE.txt
Build complete! (0.20s)
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.14s)
Generated DocC archive at '/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.docs/wadetregaskis/networkinterfaceinfo/main'
Building for debugging...
[0/3] Write swift-version-33747A42983211AE.txt
Build complete! (0.41s)
Building for debugging...
[0/1] Write swift-version-33747A42983211AE.txt
Build complete! (0.17s)
Successfully merged into /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.docs-staging/wadetregaskis/networkinterfaceinfo/main/index/index.json
Successfully merged into /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.docs-staging/wadetregaskis/networkinterfaceinfo/main/linkable-paths.json
756
6 /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.docs/wadetregaskis/networkinterfaceinfo/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $workDir/.docs/wadetregaskis/networkinterfaceinfo/main
File count: 756
Doc size: 6.0MB
Preparing doc bundle ...
Uploading prod-wadetregaskis-networkinterfaceinfo-main-e2af81f4.zip to s3://spi-docs-inbox/prod-wadetregaskis-networkinterfaceinfo-main-e2af81f4.zip
Copying... [13%]
Copying... [26%]
Copying... [32%]
Copying... [45%]
Copying... [51%]
Copying... [64%]
Copying... [70%]
Copying... [83%]
Copying... [96%]
Copying... [100%]
Done.