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 CtrlHub, reference main (fcec08), with Swift 6.1 for Linux on 1 May 2025 03:14:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ctrl-hub/sdk.swift.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/ctrl-hub/sdk.swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fcec087 nil by default
Cloned https://github.com/ctrl-hub/sdk.swift.git
Revision (git rev-parse @):
fcec087381b15526c0f160fda818611beb6c0c39
SUCCESS checkout https://github.com/ctrl-hub/sdk.swift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ctrl-hub/sdk.swift.git
https://github.com/ctrl-hub/sdk.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-jsonapi",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/DataDog/swift-jsonapi.git"
    },
    {
      "identity" : "keychain-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "24.0.0",
            "upper_bound" : "25.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/evgenyneu/keychain-swift.git"
    }
  ],
  "manifest_display_name" : "CtrlHub",
  "name" : "CtrlHub",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "CtrlHub",
      "targets" : [
        "CtrlHub"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CtrlHubTests",
      "module_type" : "SwiftTarget",
      "name" : "CtrlHubTests",
      "path" : "Tests/CtrlHubTests",
      "sources" : [
        "CtrlHubTests.swift"
      ],
      "target_dependencies" : [
        "CtrlHub"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CtrlHub",
      "module_type" : "SwiftTarget",
      "name" : "CtrlHub",
      "path" : "Source",
      "product_dependencies" : [
        "JSONAPI",
        "KeychainSwift"
      ],
      "product_memberships" : [
        "CtrlHub"
      ],
      "sources" : [
        "Core/APIError.swift",
        "Core/Config.swift",
        "Core/Log.swift",
        "Core/Router.swift",
        "CtrlHub.swift",
        "Features/Models/EquipmentModels.swift",
        "Features/Models/IAMModels.swift",
        "Features/Models/OperationsModels.swift",
        "Features/Models/OrganisationModels.swift",
        "Features/Models/PermissionModels.swift",
        "Features/Models/PropertyModels.swift",
        "Features/Models/RoleModels.swift",
        "Features/Models/SchemeModels.swift",
        "Features/Models/ServiceAccountModels.swift",
        "Features/Models/Shared/Label.swift",
        "Features/Models/Shared/Location.swift",
        "Features/Models/Shared/Meta.swift",
        "Features/Models/StreetModels.swift",
        "Features/Models/VehicleInspectionModels.swift",
        "Features/Models/VehicleModels.swift",
        "Features/Models/WorkOrderModels.swift",
        "Features/Routers/AuthRouter.swift",
        "Features/Routers/EquipmentExposuresRouter.swift",
        "Features/Routers/EquipmentRouter.swift",
        "Features/Routers/IAMRouter.swift",
        "Features/Routers/OrganisationRouter.swift",
        "Features/Routers/PermissionRouter.swift",
        "Features/Routers/PropertyRouter.swift",
        "Features/Routers/RoleRouter.swift",
        "Features/Routers/SchemeRouter.swift",
        "Features/Routers/ServiceAccountRouter.swift",
        "Features/Routers/StreetRouter.swift",
        "Features/Routers/VehiclesInspectionsRouter.swift",
        "Features/Routers/VehiclesRouter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 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
Fetching https://github.com/DataDog/swift-jsonapi.git
Fetching https://github.com/evgenyneu/keychain-swift.git
[1/931] Fetching swift-jsonapi
[932/3132] Fetching swift-jsonapi, keychain-swift
Fetched https://github.com/DataDog/swift-jsonapi.git from cache (0.49s)
Fetched https://github.com/evgenyneu/keychain-swift.git from cache (0.48s)
Computing version for https://github.com/evgenyneu/keychain-swift.git
Computed https://github.com/evgenyneu/keychain-swift.git at 24.0.0 (3.81s)
Computing version for https://github.com/DataDog/swift-jsonapi.git
Computed https://github.com/DataDog/swift-jsonapi.git at 0.1.2 (0.82s)
Fetching https://github.com/swiftlang/swift-syntax
[1/70291] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (7.66s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 510.0.3 (8.89s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 510.0.3
Creating working copy for https://github.com/evgenyneu/keychain-swift.git
Working copy of https://github.com/evgenyneu/keychain-swift.git resolved at 24.0.0
Creating working copy for https://github.com/DataDog/swift-jsonapi.git
Working copy of https://github.com/DataDog/swift-jsonapi.git resolved at 0.1.2
warning: 'keychain-swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/PrivacyInfo.xcprivacy
Building for debugging...
[0/34] Write sources
[17/34] Write swift-version-24593BA9C3E375BF.txt
[19/42] Emitting module SwiftSyntax509
[20/42] Compiling SwiftSyntax509 Empty.swift
[21/43] Wrapping AST for SwiftSyntax509 for debugging
[23/43] Emitting module SwiftSyntax510
[24/43] Compiling SwiftSyntax510 Empty.swift
[25/44] Wrapping AST for SwiftSyntax510 for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/104] Compiling KeychainSwift TegKeychainConstants.swift
/host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/KeychainSwift.swift:1:8: error: no such module 'Security'
  1 | import Security
    |        `- error: no such module 'Security'
  2 | import Foundation
  3 |
[28/104] Compiling KeychainSwift KeychainSwift.swift
/host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/KeychainSwift.swift:1:8: error: no such module 'Security'
  1 | import Security
    |        `- error: no such module 'Security'
  2 | import Foundation
  3 |
[29/104] Emitting module KeychainSwift
/host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/KeychainSwift.swift:1:8: error: no such module 'Security'
  1 | import Security
    |        `- error: no such module 'Security'
  2 | import Foundation
  3 |
[30/104] Compiling KeychainSwift KeychainSwiftAccessOptions.swift
/host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/KeychainSwift.swift:1:8: error: no such module 'Security'
  1 | import Security
    |        `- error: no such module 'Security'
  2 | import Foundation
  3 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
warning: 'keychain-swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/PrivacyInfo.xcprivacy
[0/1] Planning build
Building for debugging...
[0/17] Write swift-version-24593BA9C3E375BF.txt
[2/25] Compiling SwiftSyntax509 Empty.swift
[3/25] Emitting module SwiftSyntax509
[4/26] Emitting module SwiftSyntax510
[5/26] Compiling SwiftSyntax510 Empty.swift
[6/27] Compiling KeychainSwift TegKeychainConstants.swift
/host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/KeychainSwift.swift:1:8: error: no such module 'Security'
  1 | import Security
    |        `- error: no such module 'Security'
  2 | import Foundation
  3 |
[7/27] Compiling KeychainSwift KeychainSwiftAccessOptions.swift
/host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/KeychainSwift.swift:1:8: error: no such module 'Security'
  1 | import Security
    |        `- error: no such module 'Security'
  2 | import Foundation
  3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/27] Emitting module KeychainSwift
/host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/KeychainSwift.swift:1:8: error: no such module 'Security'
  1 | import Security
    |        `- error: no such module 'Security'
  2 | import Foundation
  3 |
[11/27] Compiling KeychainSwift KeychainSwift.swift
/host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/KeychainSwift.swift:1:8: error: no such module 'Security'
  1 | import Security
    |        `- error: no such module 'Security'
  2 | import Foundation
  3 |
BUILD FAILURE 6.1 linux