The Swift Package Index logo.Swift Package Index

Build Information

Successful build of MetaRouter, reference main (d89f9b), with Swift 6.3 for macOS (SPM) on 23 Apr 2026 13:54:09 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

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 /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "ios-sdk",
      "name": "MetaRouter",
      "url": "https://github.com/metarouterio/ios-sdk.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ios-sdk",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/metarouterio/ios-sdk.git
[1/1224] Fetching ios-sdk
Fetched https://github.com/metarouterio/ios-sdk.git from cache (0.81s)
Creating working copy for https://github.com/metarouterio/ios-sdk.git
Working copy of https://github.com/metarouterio/ios-sdk.git resolved at main (d89f9b8)
warning: '.resolve-product-dependencies': dependency 'ios-sdk' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/metarouterio/ios-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/30] Emitting module MetaRouter
[4/30] Compiling MetaRouter MetaRouter.swift
[5/30] Compiling MetaRouter Version.swift
[6/30] Compiling MetaRouter AnalyticsClient.swift
[7/32] Compiling MetaRouter AnalyticsInterface.swift
[8/32] Compiling MetaRouter AnalyticsProxy.swift
[9/32] Compiling MetaRouter CodableValue.swift
[10/32] Compiling MetaRouter CircuitBreaker.swift
[11/32] Compiling MetaRouter DebouncedNetworkMonitor.swift
[12/32] Compiling MetaRouter Dispatcher.swift
[13/32] Compiling MetaRouter EventEnrichment.swift
[14/32] Compiling MetaRouter IdentityManager.swift
[15/32] Compiling MetaRouter IdentityStorage.swift
[16/32] Compiling MetaRouter Logger.swift
[17/32] Compiling MetaRouter MessageIdGenerator.swift
[18/32] Compiling MetaRouter EventQueue.swift
[19/32] Compiling MetaRouter PersistentEventQueue.swift
[20/32] Compiling MetaRouter QueueSnapshot.swift
[21/32] Compiling MetaRouter NetworkClient.swift
[22/32] Compiling MetaRouter NetworkMonitor.swift
[23/32] Compiling MetaRouter DiskStorage.swift
[24/32] Compiling MetaRouter AppLifecycleObserver.swift
[25/32] Compiling MetaRouter AsyncMutex.swift
[26/32] Compiling MetaRouter DateFormatters.swift
[27/32] Compiling MetaRouter InitOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:241:16: warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
239 |         var buf = [CChar](repeating: 0, count: Int(size))
240 |         sysctlbyname("hw.model", &buf, &size, nil, 0)
241 |         return String(cString: buf)
    |                `- warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
242 |     }
243 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[28/32] Compiling MetaRouter RealClientStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:241:16: warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
239 |         var buf = [CChar](repeating: 0, count: Int(size))
240 |         sysctlbyname("hw.model", &buf, &size, nil, 0)
241 |         return String(cString: buf)
    |                `- warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
242 |     }
243 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[29/32] Compiling MetaRouter DeviceContextProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetaRouter/context/DeviceContextProvider.swift:241:16: warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
239 |         var buf = [CChar](repeating: 0, count: Int(size))
240 |         sysctlbyname("hw.model", &buf, &size, nil, 0)
241 |         return String(cString: buf)
    |                `- warning: 'init(cString:)' is deprecated: Use String(decoding: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
242 |     }
243 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[30/32] Compiling MetaRouter Event.swift
[31/32] Compiling MetaRouter EventContext.swift
[32/32] Compiling MetaRouter LifecycleState.swift
Build complete! (10.76s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MetaRouter",
  "name" : "MetaRouter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "MetaRouter",
      "targets" : [
        "MetaRouter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MetaRouterTests",
      "module_type" : "SwiftTarget",
      "name" : "MetaRouterTests",
      "path" : "Tests/MetaRouterTests",
      "sources" : [
        "AnalyticsClientTests.swift",
        "AnalyticsProxyTests.swift",
        "CircuitBreakerTests.swift",
        "CodableValueLoggingTests.swift",
        "CodableValueTests.swift",
        "CompilationTests.swift",
        "ContextProviderTests.swift",
        "DebouncedNetworkMonitorTests.swift",
        "DiskStorageTests.swift",
        "DispatcherTests.swift",
        "EventEnrichmentTests.swift",
        "EventQueueTests.swift",
        "Helpers/TestHelpers.swift",
        "IdentityManagerTests.swift",
        "IdentityStorageTests.swift",
        "InitOptionsTests.swift",
        "LoggerTests.swift",
        "MetaRouterIntegrationTests.swift",
        "MetaRouterTests.swift",
        "NetworkClientTests.swift",
        "NetworkMonitorTests.swift",
        "PersistentEventQueueTests.swift",
        "QueueSnapshotTests.swift"
      ],
      "target_dependencies" : [
        "MetaRouter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MetaRouter",
      "module_type" : "SwiftTarget",
      "name" : "MetaRouter",
      "path" : "Sources/MetaRouter",
      "product_memberships" : [
        "MetaRouter"
      ],
      "sources" : [
        "MetaRouter.swift",
        "Version.swift",
        "analytics/AnalyticsClient.swift",
        "analytics/AnalyticsInterface.swift",
        "analytics/AnalyticsProxy.swift",
        "analytics/CodableValue.swift",
        "analytics/InitOptions.swift",
        "analytics/RealClientStore.swift",
        "context/DeviceContextProvider.swift",
        "enrichment/EventEnrichment.swift",
        "identity/IdentityManager.swift",
        "identity/IdentityStorage.swift",
        "network/CircuitBreaker.swift",
        "network/DebouncedNetworkMonitor.swift",
        "network/Dispatcher.swift",
        "network/NetworkClient.swift",
        "network/NetworkMonitor.swift",
        "queue/DiskStorage.swift",
        "queue/EventQueue.swift",
        "queue/PersistentEventQueue.swift",
        "queue/QueueSnapshot.swift",
        "types/Event.swift",
        "types/EventContext.swift",
        "types/LifecycleState.swift",
        "utils/AppLifecycleObserver.swift",
        "utils/AsyncMutex.swift",
        "utils/DateFormatters.swift",
        "utils/Logger.swift",
        "utils/MessageIdGenerator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Done.