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

Failed to build NetworkReachability, reference 1.5.1 (1234f9), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 07:56:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vsanthanam/NetworkReachability.git
Reference: 1.5.1
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/vsanthanam/NetworkReachability
 * tag               1.5.1      -> FETCH_HEAD
HEAD is now at 1234f9b Fix missing trailing parenthesis in sample code (#48)
Cloned https://github.com/vsanthanam/NetworkReachability.git
Revision (git rev-parse @):
1234f9b33515671f3a1bbbe4b9d9da198ce41e70
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/vsanthanam/NetworkReachability.git at 1.5.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/vsanthanam/NetworkReachability.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/apple/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
[2083/51023] Fetching swift-docc-plugin, swiftformat
Fetched https://github.com/apple/swift-docc-plugin from cache (29.43s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (30.10s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.51.7 (35.75s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (5.56s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3413] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.34s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (5.30s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.51.7
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
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/22] Compiling NetworkReachability DispatchQueue+NetworkReachability.swift
/host/spi-builder-workspace/Sources/NetworkReachability/API/Extensions/NotificationExtensions.swift:26:8: error: no such module 'Foundation'
24 | // SOFTWARE.
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
[7/22] Compiling NetworkReachability SCNetworkReachability+NetworkReachability.swift
/host/spi-builder-workspace/Sources/NetworkReachability/API/Extensions/NotificationExtensions.swift:26:8: error: no such module 'Foundation'
24 | // SOFTWARE.
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
[8/22] Compiling NetworkReachability ReachabilityMonitor.swift
/host/spi-builder-workspace/Sources/NetworkReachability/API/Extensions/NotificationExtensions.swift:26:8: error: no such module 'Foundation'
24 | // SOFTWARE.
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
[9/22] Compiling NetworkReachability ReachabilityMonitorDelegate.swift
/host/spi-builder-workspace/Sources/NetworkReachability/API/Extensions/NotificationExtensions.swift:26:8: error: no such module 'Foundation'
24 | // SOFTWARE.
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
[10/24] Compiling NetworkReachability NotificationExtensions.swift
/host/spi-builder-workspace/Sources/NetworkReachability/API/Extensions/NotificationExtensions.swift:26:8: error: no such module 'Foundation'
24 | // SOFTWARE.
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
[11/24] Compiling NetworkReachability PublishersExtensions.swift
/host/spi-builder-workspace/Sources/NetworkReachability/API/Extensions/NotificationExtensions.swift:26:8: error: no such module 'Foundation'
24 | // SOFTWARE.
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
[12/24] Compiling NetworkReachability NetworkMonitor+Combine.swift
/host/spi-builder-workspace/Sources/NetworkReachability/API/Extensions/NotificationExtensions.swift:26:8: error: no such module 'Foundation'
24 | // SOFTWARE.
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
[13/24] Compiling NetworkReachability ReachabilityMonitor+Combine.swift
/host/spi-builder-workspace/Sources/NetworkReachability/API/Extensions/NotificationExtensions.swift:26:8: error: no such module 'Foundation'
24 | // SOFTWARE.
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
[14/24] Compiling NetworkReachability ReachabilityMonitor+Concurrency.swift
/host/spi-builder-workspace/Sources/NetworkReachability/API/Extensions/NotificationExtensions.swift:26:8: error: no such module 'Foundation'
24 | // SOFTWARE.
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
[15/24] Compiling NetworkReachability ReachabilityMonitor+Error.swift
/host/spi-builder-workspace/Sources/NetworkReachability/API/Extensions/NotificationExtensions.swift:26:8: error: no such module 'Foundation'
24 | // SOFTWARE.
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
[16/24] Compiling NetworkReachability ReachabilityMonitor+Notification.swift
/host/spi-builder-workspace/Sources/NetworkReachability/API/Extensions/NotificationExtensions.swift:26:8: error: no such module 'Foundation'
24 | // SOFTWARE.
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
[17/24] Compiling NetworkReachability NetworkMonitorDelegate.swift
/host/spi-builder-workspace/Sources/NetworkReachability/API/Extensions/NotificationExtensions.swift:26:8: error: no such module 'Foundation'
24 | // SOFTWARE.
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
[18/24] Compiling NetworkReachability Reachability.swift
/host/spi-builder-workspace/Sources/NetworkReachability/API/Extensions/NotificationExtensions.swift:26:8: error: no such module 'Foundation'
24 | // SOFTWARE.
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
[19/24] Compiling NetworkReachability NetworkMonitor+Concurrency.swift
/host/spi-builder-workspace/Sources/NetworkReachability/API/Extensions/NotificationExtensions.swift:26:8: error: no such module 'Foundation'
24 | // SOFTWARE.
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
[20/24] Compiling NetworkReachability NetworkMonitor+Notification.swift
/host/spi-builder-workspace/Sources/NetworkReachability/API/Extensions/NotificationExtensions.swift:26:8: error: no such module 'Foundation'
24 | // SOFTWARE.
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
[21/24] Compiling NetworkReachability NetworkMonitor.swift
/host/spi-builder-workspace/Sources/NetworkReachability/API/Extensions/NotificationExtensions.swift:26:8: error: no such module 'Foundation'
24 | // SOFTWARE.
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/24] Emitting module NetworkReachability
/host/spi-builder-workspace/Sources/NetworkReachability/API/Extensions/NotificationExtensions.swift:26:8: error: no such module 'Foundation'
24 | // SOFTWARE.
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
[23/24] Compiling NetworkReachability SCNetworkReachabilityFlags+NetworkReachability.swift
/host/spi-builder-workspace/Sources/NetworkReachability/API/Extensions/NotificationExtensions.swift:26:8: error: no such module 'Foundation'
24 | // SOFTWARE.
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
[24/24] Compiling NetworkReachability WeakReference.swift
/host/spi-builder-workspace/Sources/NetworkReachability/API/Extensions/NotificationExtensions.swift:26:8: error: no such module 'Foundation'
24 | // SOFTWARE.
25 |
26 | import Foundation
   |        `- error: no such module 'Foundation'
27 |
28 | @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
BUILD FAILURE 6.2 wasm