The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-reachability, reference main (05ec04), with Swift 6.1 for Wasm on 30 May 2025 03:44:32 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mihai8804858/swift-reachability.git
Reference: main
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/mihai8804858/swift-reachability
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 05ec04c Enable strict concurrency
Cloned https://github.com/mihai8804858/swift-reachability.git
Revision (git rev-parse @):
05ec04cf569a253e959981b4f3ae1c4f0a9bd46d
SUCCESS checkout https://github.com/mihai8804858/swift-reachability.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mihai8804858/swift-reachability.git
https://github.com/mihai8804858/swift-reachability.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-reachability",
  "name" : "swift-reachability",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftReachability",
      "targets" : [
        "SwiftReachability"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "SwiftReachabilityTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftReachabilityTests",
      "path" : "Tests",
      "sources" : [
        "ConnectionStatusTests.swift",
        "ConnectionTypeTests.swift",
        "Helpers/FuncCheck.swift",
        "Mocks/MockPath.swift",
        "Mocks/MockPathMonitor.swift",
        "Mocks/MockTelephonyInfo.swift",
        "PathMonitorTests.swift",
        "ReachabilityTests.swift",
        "TelephonyInfoTests.swift"
      ],
      "target_dependencies" : [
        "SwiftReachability"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftReachability",
      "module_type" : "SwiftTarget",
      "name" : "SwiftReachability",
      "path" : "Sources",
      "product_memberships" : [
        "SwiftReachability"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Connection/ConnectionStatus.swift",
        "Connection/ConnectionType.swift",
        "Connection/DisconnectedReason.swift",
        "Extensions/AsyncStream.swift",
        "PathMonitor/InterfaceType.swift",
        "PathMonitor/PathMonitorType.swift",
        "PathMonitor/PathType.swift",
        "PathMonitor/TelephonyInfoType.swift",
        "Reachability/Reachability.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/3] Write sources
[0/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling SwiftReachability Reachability.swift
/host/spi-builder-workspace/Sources/Connection/DisconnectedReason.swift:1:8: error: no such module 'Network'
 1 | import Network
   |        `- error: no such module 'Network'
 2 |
 3 | public enum DisconnectedReason: Hashable, CustomStringConvertible, Sendable {
[5/14] Compiling SwiftReachability TelephonyInfoType.swift
/host/spi-builder-workspace/Sources/Connection/DisconnectedReason.swift:1:8: error: no such module 'Network'
 1 | import Network
   |        `- error: no such module 'Network'
 2 |
 3 | public enum DisconnectedReason: Hashable, CustomStringConvertible, Sendable {
[6/14] Compiling SwiftReachability PathType.swift
/host/spi-builder-workspace/Sources/Connection/DisconnectedReason.swift:1:8: error: no such module 'Network'
 1 | import Network
   |        `- error: no such module 'Network'
 2 |
 3 | public enum DisconnectedReason: Hashable, CustomStringConvertible, Sendable {
[7/14] Compiling SwiftReachability PathMonitorType.swift
/host/spi-builder-workspace/Sources/Connection/DisconnectedReason.swift:1:8: error: no such module 'Network'
 1 | import Network
   |        `- error: no such module 'Network'
 2 |
 3 | public enum DisconnectedReason: Hashable, CustomStringConvertible, Sendable {
[8/14] Compiling SwiftReachability DisconnectedReason.swift
/host/spi-builder-workspace/Sources/Connection/DisconnectedReason.swift:1:8: error: no such module 'Network'
 1 | import Network
   |        `- error: no such module 'Network'
 2 |
 3 | public enum DisconnectedReason: Hashable, CustomStringConvertible, Sendable {
[9/14] Compiling SwiftReachability AsyncStream.swift
/host/spi-builder-workspace/Sources/Connection/DisconnectedReason.swift:1:8: error: no such module 'Network'
 1 | import Network
   |        `- error: no such module 'Network'
 2 |
 3 | public enum DisconnectedReason: Hashable, CustomStringConvertible, Sendable {
[10/14] Compiling SwiftReachability ConnectionStatus.swift
/host/spi-builder-workspace/Sources/Connection/DisconnectedReason.swift:1:8: error: no such module 'Network'
 1 | import Network
   |        `- error: no such module 'Network'
 2 |
 3 | public enum DisconnectedReason: Hashable, CustomStringConvertible, Sendable {
[11/14] Compiling SwiftReachability ConnectionType.swift
/host/spi-builder-workspace/Sources/Connection/DisconnectedReason.swift:1:8: error: no such module 'Network'
 1 | import Network
   |        `- error: no such module 'Network'
 2 |
 3 | public enum DisconnectedReason: Hashable, CustomStringConvertible, Sendable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/14] Emitting module SwiftReachability
/host/spi-builder-workspace/Sources/Connection/DisconnectedReason.swift:1:8: error: no such module 'Network'
 1 | import Network
   |        `- error: no such module 'Network'
 2 |
 3 | public enum DisconnectedReason: Hashable, CustomStringConvertible, Sendable {
[13/14] Compiling SwiftReachability InterfaceType.swift
/host/spi-builder-workspace/Sources/Connection/DisconnectedReason.swift:1:8: error: no such module 'Network'
 1 | import Network
   |        `- error: no such module 'Network'
 2 |
 3 | public enum DisconnectedReason: Hashable, CustomStringConvertible, Sendable {
[14/14] Compiling SwiftReachability resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Connection/DisconnectedReason.swift:1:8: error: no such module 'Network'
 1 | import Network
   |        `- error: no such module 'Network'
 2 |
 3 | public enum DisconnectedReason: Hashable, CustomStringConvertible, Sendable {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling SwiftReachability PathMonitorType.swift
/host/spi-builder-workspace/Sources/Connection/DisconnectedReason.swift:1:8: error: no such module 'Network'
 1 | import Network
   |        `- error: no such module 'Network'
 2 |
 3 | public enum DisconnectedReason: Hashable, CustomStringConvertible, Sendable {
[3/12] Compiling SwiftReachability PathType.swift
/host/spi-builder-workspace/Sources/Connection/DisconnectedReason.swift:1:8: error: no such module 'Network'
 1 | import Network
   |        `- error: no such module 'Network'
 2 |
 3 | public enum DisconnectedReason: Hashable, CustomStringConvertible, Sendable {
[4/12] Compiling SwiftReachability InterfaceType.swift
/host/spi-builder-workspace/Sources/Connection/DisconnectedReason.swift:1:8: error: no such module 'Network'
 1 | import Network
   |        `- error: no such module 'Network'
 2 |
 3 | public enum DisconnectedReason: Hashable, CustomStringConvertible, Sendable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/12] Compiling SwiftReachability ConnectionStatus.swift
/host/spi-builder-workspace/Sources/Connection/DisconnectedReason.swift:1:8: error: no such module 'Network'
 1 | import Network
   |        `- error: no such module 'Network'
 2 |
 3 | public enum DisconnectedReason: Hashable, CustomStringConvertible, Sendable {
[6/12] Compiling SwiftReachability ConnectionType.swift
/host/spi-builder-workspace/Sources/Connection/DisconnectedReason.swift:1:8: error: no such module 'Network'
 1 | import Network
   |        `- error: no such module 'Network'
 2 |
 3 | public enum DisconnectedReason: Hashable, CustomStringConvertible, Sendable {
[7/12] Emitting module SwiftReachability
/host/spi-builder-workspace/Sources/Connection/DisconnectedReason.swift:1:8: error: no such module 'Network'
 1 | import Network
   |        `- error: no such module 'Network'
 2 |
 3 | public enum DisconnectedReason: Hashable, CustomStringConvertible, Sendable {
[8/12] Compiling SwiftReachability DisconnectedReason.swift
/host/spi-builder-workspace/Sources/Connection/DisconnectedReason.swift:1:8: error: no such module 'Network'
 1 | import Network
   |        `- error: no such module 'Network'
 2 |
 3 | public enum DisconnectedReason: Hashable, CustomStringConvertible, Sendable {
[9/12] Compiling SwiftReachability AsyncStream.swift
/host/spi-builder-workspace/Sources/Connection/DisconnectedReason.swift:1:8: error: no such module 'Network'
 1 | import Network
   |        `- error: no such module 'Network'
 2 |
 3 | public enum DisconnectedReason: Hashable, CustomStringConvertible, Sendable {
[10/12] Compiling SwiftReachability TelephonyInfoType.swift
/host/spi-builder-workspace/Sources/Connection/DisconnectedReason.swift:1:8: error: no such module 'Network'
 1 | import Network
   |        `- error: no such module 'Network'
 2 |
 3 | public enum DisconnectedReason: Hashable, CustomStringConvertible, Sendable {
[11/12] Compiling SwiftReachability Reachability.swift
/host/spi-builder-workspace/Sources/Connection/DisconnectedReason.swift:1:8: error: no such module 'Network'
 1 | import Network
   |        `- error: no such module 'Network'
 2 |
 3 | public enum DisconnectedReason: Hashable, CustomStringConvertible, Sendable {
[12/12] Compiling SwiftReachability resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Connection/DisconnectedReason.swift:1:8: error: no such module 'Network'
 1 | import Network
   |        `- error: no such module 'Network'
 2 |
 3 | public enum DisconnectedReason: Hashable, CustomStringConvertible, Sendable {
BUILD FAILURE 6.1 wasm