The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MetaRouter, reference main (d89f9b), with Swift 6.3 for Wasm on 23 Apr 2026 13:42:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/metarouterio/ios-sdk.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/metarouterio/ios-sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d89f9b8 fix: hardening disk persistence (#40)
Cloned https://github.com/metarouterio/ios-sdk.git
Revision (git rev-parse @):
d89f9b8b66aefc01df29e4ca674e209abbabc5ba
SUCCESS checkout https://github.com/metarouterio/ios-sdk.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/metarouterio/ios-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/29] Emitting module MetaRouter
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[4/32] Compiling MetaRouter LifecycleState.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[5/32] Compiling MetaRouter AppLifecycleObserver.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[6/32] Compiling MetaRouter AsyncMutex.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[7/32] Compiling MetaRouter NetworkMonitor.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[8/32] Compiling MetaRouter DiskStorage.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[9/32] Compiling MetaRouter EventQueue.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[10/32] Compiling MetaRouter PersistentEventQueue.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[11/32] Compiling MetaRouter DateFormatters.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[12/32] Compiling MetaRouter Logger.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[13/32] Compiling MetaRouter MessageIdGenerator.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[14/32] Compiling MetaRouter CircuitBreaker.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[15/32] Compiling MetaRouter DebouncedNetworkMonitor.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[16/32] Compiling MetaRouter Dispatcher.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[17/32] Compiling MetaRouter NetworkClient.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[18/32] Compiling MetaRouter MetaRouter.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[19/32] Compiling MetaRouter Version.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[20/32] Compiling MetaRouter AnalyticsClient.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[21/32] Compiling MetaRouter AnalyticsInterface.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[22/32] Compiling MetaRouter AnalyticsProxy.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[23/32] Compiling MetaRouter CodableValue.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[24/32] Compiling MetaRouter InitOptions.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[25/32] Compiling MetaRouter RealClientStore.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[26/32] Compiling MetaRouter QueueSnapshot.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[27/32] Compiling MetaRouter Event.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[28/32] Compiling MetaRouter EventContext.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[29/32] Compiling MetaRouter DeviceContextProvider.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[30/32] Compiling MetaRouter EventEnrichment.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[31/32] Compiling MetaRouter IdentityManager.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
[32/32] Compiling MetaRouter IdentityStorage.swift
/host/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:2:8: error: no such module 'Network'
  1 | import Foundation
  2 | import Network
    |        `- error: no such module 'Network'
  3 |
  4 | #if canImport(UIKit)
BUILD FAILURE 6.3 wasm