The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of NetworkMonitor, reference main (27935a), with Swift 6.0 for macOS (SPM) on 23 Jan 2025 10:05:11 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/NetworkMonitor.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xWDG/NetworkMonitor
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 27935a4 Update README.md
Cloned https://github.com/0xWDG/NetworkMonitor.git
Revision (git rev-parse @):
27935a47f9a25335d4785fab5eb287a19c0eab2d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/NetworkMonitor.git at main
========================================
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": "networkmonitor",
      "name": "NetworkMonitor",
      "url": "https://github.com/0xWDG/NetworkMonitor.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NetworkMonitor",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/0xWDG/NetworkMonitor.git
[1/97] Fetching networkmonitor
Fetched https://github.com/0xWDG/NetworkMonitor.git from cache (0.85s)
Creating working copy for https://github.com/0xWDG/NetworkMonitor.git
Working copy of https://github.com/0xWDG/NetworkMonitor.git resolved at main (27935a4)
warning: '.resolve-product-dependencies': dependency 'networkmonitor' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/0xWDG/NetworkMonitor.git
https://github.com/0xWDG/NetworkMonitor.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NetworkMonitor",
  "name" : "NetworkMonitor",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "NetworkMonitor",
      "targets" : [
        "NetworkMonitor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NetworkMonitorTests",
      "module_type" : "SwiftTarget",
      "name" : "NetworkMonitorTests",
      "path" : "Tests/NetworkMonitorTests",
      "sources" : [
        "NetworkMonitorTests.swift"
      ],
      "target_dependencies" : [
        "NetworkMonitor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NetworkMonitor",
      "module_type" : "SwiftTarget",
      "name" : "NetworkMonitor",
      "path" : "Sources/NetworkMonitor",
      "product_memberships" : [
        "NetworkMonitor"
      ],
      "sources" : [
        "NetworkMonitor.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/4] Compiling NetworkMonitor NetworkMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkMonitor/NetworkMonitor.swift:45:13: warning: capture of 'self' with non-sendable type 'NetworkMonitor?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
15 |
16 | /// NetworkMonitor wraps NWPathMonitor into an Obervable object.
17 | public final class NetworkMonitor: ObservableObject {
   |                    `- note: class 'NetworkMonitor' does not conform to the 'Sendable' protocol
18 |     /// This will be used to track the network connectivity
19 |     @Published
   :
43 |
44 |             // Check if the device is connected to the internet
45 |             self?.isConnected = path.status == .satisfied
   |             `- warning: capture of 'self' with non-sendable type 'NetworkMonitor?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 |
47 |             // Check if the network is expensive (e.g. cellular data)
[4/4] Emitting module NetworkMonitor
Build complete! (6.32s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NetworkMonitor",
  "name" : "NetworkMonitor",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "NetworkMonitor",
      "targets" : [
        "NetworkMonitor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NetworkMonitorTests",
      "module_type" : "SwiftTarget",
      "name" : "NetworkMonitorTests",
      "path" : "Tests/NetworkMonitorTests",
      "sources" : [
        "NetworkMonitorTests.swift"
      ],
      "target_dependencies" : [
        "NetworkMonitor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NetworkMonitor",
      "module_type" : "SwiftTarget",
      "name" : "NetworkMonitor",
      "path" : "Sources/NetworkMonitor",
      "product_memberships" : [
        "NetworkMonitor"
      ],
      "sources" : [
        "NetworkMonitor.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/0xwdg/networkmonitor/main
Repository:               0xWDG/NetworkMonitor
Swift version used:       6.0
Target:                   spm-template
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2048] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.25s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.47s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3264] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.26s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.57s)
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
[1/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/53] Compiling SymbolKit DeclarationFragments.swift
[7/53] Compiling SymbolKit Fragment.swift
[8/53] Compiling SymbolKit FragmentKind.swift
[9/53] Compiling SymbolKit FunctionParameter.swift
[10/53] Compiling SymbolKit FunctionSignature.swift
[11/57] Compiling SymbolKit Identifier.swift
[12/57] Compiling SymbolKit KindIdentifier.swift
[13/57] Compiling SymbolKit Location.swift
[14/57] Compiling SymbolKit Mutability.swift
[15/57] Emitting module Snippets
[16/57] Compiling Snippets Snippet.swift
[17/57] Compiling Snippets SnippetParser.swift
[18/57] Compiling SymbolKit Relationship.swift
[19/57] Compiling SymbolKit RelationshipKind.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 AvailabilityItem.swift
[27/57] Compiling SymbolKit Domain.swift
[28/57] Compiling SymbolKit SourceRange.swift
[29/57] Compiling SymbolKit Metadata.swift
[30/57] Compiling SymbolKit Module.swift
[31/57] Compiling SymbolKit OperatingSystem.swift
[32/57] Compiling SymbolKit Platform.swift
[33/57] Compiling SymbolKit GenericConstraint.swift
[34/57] Compiling SymbolKit GenericParameter.swift
[35/57] Compiling SymbolKit Generics.swift
[36/57] Compiling SymbolKit Namespace.swift
[37/57] Compiling SymbolKit Mixin+Equals.swift
[38/57] Compiling SymbolKit Mixin+Hash.swift
[39/57] Compiling SymbolKit Mixin.swift
[40/57] Compiling SymbolKit LineList.swift
[41/57] Compiling SymbolKit Position.swift
[42/57] Emitting module SymbolKit
[43/57] Compiling SymbolKit Names.swift
[44/57] Compiling SymbolKit SPI.swift
[45/57] Compiling SymbolKit Snippet.swift
[46/57] Compiling SymbolKit Extension.swift
[47/57] Compiling SymbolKit Symbol.swift
[48/57] Compiling SymbolKit SymbolKind.swift
[49/57] Compiling SymbolKit SymbolGraph.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 SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.95s)
error: no target named 'spm-template'
compatible targets: 'NetworkMonitor'
       1
0	/Users/admin/builder/spi-builder-workspace/.docs/0xwdg/networkmonitor/main
✅  Doc result (uploading) reported
Error while generating docs: Error Domain=NSCocoaErrorDomain Code=260 "The folder “documentation” doesn’t exist." UserInfo={NSFilePath=/Users/admin/builder/spi-builder-workspace/.docs/0xwdg/networkmonitor/main/documentation, NSUserStringVariant=(
    Folder
), NSUnderlyingError=0x60000290c420 {Error Domain=NSOSStatusErrorDomain Code=-43 "fnfErr: File not found"}}
✅  Doc result (failed) reported
Done.