The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build DFService, reference v0.6.1 (fe6a17), with Swift 6.1 for Linux on 29 Apr 2025 22:24:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/foxdock/DFService.git
Reference: v0.6.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/foxdock/DFService
 * tag               v0.6.1     -> FETCH_HEAD
HEAD is now at fe6a17c chore(main): release 0.6.1 (#18)
Cloned https://github.com/foxdock/DFService.git
Revision (git rev-parse @):
fe6a17c74dc744a8e2a24fe062be9fe7d0715f9b
SUCCESS checkout https://github.com/foxdock/DFService.git at v0.6.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/foxdock/DFService.git
https://github.com/foxdock/DFService.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DFService",
  "name" : "DFService",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DFService",
      "targets" : [
        "DFService"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DFServiceTests",
      "module_type" : "SwiftTarget",
      "name" : "DFServiceTests",
      "path" : "Tests/DFServiceTests",
      "sources" : [
        "DFServiceTests.swift"
      ],
      "target_dependencies" : [
        "DFService"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DFService",
      "module_type" : "SwiftTarget",
      "name" : "DFService",
      "path" : "Sources/DFService",
      "product_memberships" : [
        "DFService"
      ],
      "sources" : [
        "Constant.swift",
        "ServiceContainer.swift",
        "ServiceError.swift",
        "ServiceHandler.swift",
        "ServiceKey.swift",
        "ServiceManager.swift",
        "framework/AnyCodable.swift",
        "framework/provider/Service.swift",
        "framework/provider/ServiceFactory.swift",
        "framework/provider/ServiceInterceptor.swift",
        "framework/provider/ServicePromise.swift",
        "framework/provider/ServiceResult.swift",
        "framework/provider/service/impl/ServiceMock.swift",
        "key/LogService.swift",
        "key/RouteService.swift",
        "swiftui/PageRoute.swift",
        "swiftui/ScaffoldView.swift",
        "swiftui/ServiceApp.swift",
        "swiftui/WindowRouteContent.swift",
        "swiftui/iOSNavigationView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-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/21] Emitting module DFService
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[4/23] Compiling DFService ScaffoldView.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[5/23] Compiling DFService ServiceApp.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[6/23] Compiling DFService WindowRouteContent.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[7/23] Compiling DFService iOSNavigationView.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[8/23] Compiling DFService Constant.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[9/23] Compiling DFService ServiceContainer.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[10/23] Compiling DFService ServiceError.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[11/23] Compiling DFService ServiceInterceptor.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[12/23] Compiling DFService ServicePromise.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[13/23] Compiling DFService ServiceResult.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[14/23] Compiling DFService AnyCodable.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[15/23] Compiling DFService Service.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[16/23] Compiling DFService ServiceFactory.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[17/23] Compiling DFService RouteService.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[18/23] Compiling DFService PageRoute.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[19/23] Compiling DFService ServiceHandler.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[20/23] Compiling DFService ServiceKey.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[21/23] Compiling DFService ServiceManager.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[22/23] Compiling DFService ServiceMock.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[23/23] Compiling DFService LogService.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/20] Compiling DFService ServiceHandler.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[3/20] Compiling DFService ServiceKey.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[4/20] Compiling DFService ServiceManager.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/22] Emitting module DFService
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[6/22] Compiling DFService Constant.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[7/22] Compiling DFService ServiceContainer.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[8/22] Compiling DFService ServiceError.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[9/22] Compiling DFService ScaffoldView.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[10/22] Compiling DFService ServiceApp.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[11/22] Compiling DFService ServiceMock.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[12/22] Compiling DFService LogService.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[13/22] Compiling DFService RouteService.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[14/22] Compiling DFService PageRoute.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[15/22] Compiling DFService AnyCodable.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[16/22] Compiling DFService Service.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[17/22] Compiling DFService ServiceFactory.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[18/22] Compiling DFService ServiceInterceptor.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[19/22] Compiling DFService ServicePromise.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[20/22] Compiling DFService ServiceResult.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[21/22] Compiling DFService WindowRouteContent.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
[22/22] Compiling DFService iOSNavigationView.swift
/host/spi-builder-workspace/Sources/DFService/ServiceHandler.swift:2:8: error: no such module 'SwiftUI'
1 | import Foundation
2 | import SwiftUI
  |        `- error: no such module 'SwiftUI'
3 |
4 | ///// 定义服务实现
BUILD FAILURE 6.1 linux