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 RouterService, reference 1.1.0 (6dae64), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 01:31:41 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rockbruno/RouterService.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rockbruno/RouterService
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 6dae64e Bump
Cloned https://github.com/rockbruno/RouterService.git
Revision (git rev-parse @):
6dae64e98aba011d50e352ed193dfe0c3c59e155
SUCCESS checkout https://github.com/rockbruno/RouterService.git at 1.1.0
========================================
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": "routerservice",
      "name": "RouterService",
      "url": "https://github.com/rockbruno/RouterService.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RouterService",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/rockbruno/RouterService.git
[1/797] Fetching routerservice
Fetched https://github.com/rockbruno/RouterService.git from cache (0.80s)
Creating working copy for https://github.com/rockbruno/RouterService.git
Working copy of https://github.com/rockbruno/RouterService.git resolved at 1.1.0 (6dae64e)
warning: '.resolve-product-dependencies': dependency 'routerservice' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/rockbruno/RouterService.git
https://github.com/rockbruno/RouterService.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RouterService",
  "name" : "RouterService",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "RouterServiceInterface",
      "targets" : [
        "RouterServiceInterface"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "RouterService",
      "targets" : [
        "RouterService"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RouterServiceTests",
      "module_type" : "SwiftTarget",
      "name" : "RouterServiceTests",
      "path" : "Tests/RouterServiceTests",
      "sources" : [
        "AnyRouteTests.swift",
        "DependencyTests.swift",
        "RouteStringTests.swift",
        "RouterServiceDoubles.swift",
        "RouterServiceTests.swift",
        "StoreTests.swift"
      ],
      "target_dependencies" : [
        "RouterService"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RouterServiceInterface",
      "module_type" : "SwiftTarget",
      "name" : "RouterServiceInterface",
      "path" : "Sources/RouterServiceInterface",
      "product_memberships" : [
        "RouterServiceInterface",
        "RouterService"
      ],
      "sources" : [
        "AnyRoute.swift",
        "Dependency.swift",
        "Feature.swift",
        "PresentationStyle.swift",
        "Route.swift",
        "RouteHandler.swift",
        "RouterServiceProtocol.swift",
        "StoreInterface.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RouterService",
      "module_type" : "SwiftTarget",
      "name" : "RouterService",
      "path" : "Sources/RouterService",
      "product_memberships" : [
        "RouterService"
      ],
      "sources" : [
        "AnyRouteType.swift",
        "FeatureBuilding.swift",
        "RouteExtensions.swift",
        "RouteString.swift",
        "RouterService.swift",
        "Store.swift"
      ],
      "target_dependencies" : [
        "RouterServiceInterface"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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/7] Write sources
[2/7] Write swift-version-2F0A5646E1D333AE.txt
[4/16] Compiling RouterServiceInterface StoreInterface.swift
/Users/admin/builder/spi-builder-workspace/Sources/RouterServiceInterface/Feature.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Feature {
[5/16] Compiling RouterServiceInterface AnyRoute.swift
/Users/admin/builder/spi-builder-workspace/Sources/RouterServiceInterface/Feature.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Feature {
[6/16] Compiling RouterServiceInterface Route.swift
/Users/admin/builder/spi-builder-workspace/Sources/RouterServiceInterface/Feature.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Feature {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/16] Compiling RouterServiceInterface PresentationStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/RouterServiceInterface/Feature.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Feature {
[8/16] Emitting module RouterServiceInterface
/Users/admin/builder/spi-builder-workspace/Sources/RouterServiceInterface/Feature.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Feature {
[9/16] Compiling RouterServiceInterface RouterServiceProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/RouterServiceInterface/Feature.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Feature {
[10/16] Compiling RouterServiceInterface Dependency.swift
/Users/admin/builder/spi-builder-workspace/Sources/RouterServiceInterface/Feature.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Feature {
[11/16] Compiling RouterServiceInterface Feature.swift
/Users/admin/builder/spi-builder-workspace/Sources/RouterServiceInterface/Feature.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Feature {
[12/16] Compiling RouterServiceInterface RouteHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/RouterServiceInterface/Feature.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Feature {
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-2F0A5646E1D333AE.txt
[2/14] Compiling RouterServiceInterface RouterServiceProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/RouterServiceInterface/Feature.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Feature {
[3/14] Compiling RouterServiceInterface StoreInterface.swift
/Users/admin/builder/spi-builder-workspace/Sources/RouterServiceInterface/Feature.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Feature {
[4/14] Compiling RouterServiceInterface PresentationStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/RouterServiceInterface/Feature.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Feature {
[5/14] Compiling RouterServiceInterface Route.swift
/Users/admin/builder/spi-builder-workspace/Sources/RouterServiceInterface/Feature.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Feature {
[6/14] Compiling RouterServiceInterface RouteHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/RouterServiceInterface/Feature.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Feature {
[7/14] Compiling RouterServiceInterface Feature.swift
/Users/admin/builder/spi-builder-workspace/Sources/RouterServiceInterface/Feature.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Feature {
[8/14] Compiling RouterServiceInterface Dependency.swift
/Users/admin/builder/spi-builder-workspace/Sources/RouterServiceInterface/Feature.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Feature {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/14] Emitting module RouterServiceInterface
/Users/admin/builder/spi-builder-workspace/Sources/RouterServiceInterface/Feature.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Feature {
[10/14] Compiling RouterServiceInterface AnyRoute.swift
/Users/admin/builder/spi-builder-workspace/Sources/RouterServiceInterface/Feature.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Feature {
BUILD FAILURE 6.1 macosSpm