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 Cobalt, reference v10.1.4 (33c8f0), with Swift 6.1 for Linux on 28 Apr 2025 20:24:33 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/e-sites/Cobalt.git
Reference: v10.1.4
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/e-sites/Cobalt
 * tag               v10.1.4    -> FETCH_HEAD
HEAD is now at 33c8f0d isAuthRequesting
Cloned https://github.com/e-sites/Cobalt.git
Revision (git rev-parse @):
33c8f0d791fa213efc731edce842ef0219dc5c4b
SUCCESS checkout https://github.com/e-sites/Cobalt.git at v10.1.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/e-sites/Cobalt.git
https://github.com/e-sites/Cobalt.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "alamofire",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.2.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Alamofire/Alamofire.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "keychainaccess",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.2.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kishikawakatsumi/KeychainAccess.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "11.0.0",
            "upper_bound" : "12.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    },
    {
      "identity" : "debugmasking",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/UnlockAgency/DebugMasking.git"
    }
  ],
  "manifest_display_name" : "Cobalt",
  "name" : "Cobalt",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Cobalt",
      "targets" : [
        "Cobalt"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CobaltCache",
      "targets" : [
        "CobaltCache"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CobaltStubbing",
      "targets" : [
        "CobaltStubbing"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "CobaltTesting",
      "module_type" : "SwiftTarget",
      "name" : "CobaltTesting",
      "path" : "CobaltTests",
      "product_dependencies" : [
        "Nimble"
      ],
      "sources" : [
        "CobaltTests-Authentication.swift",
        "CobaltTests-Cache.swift",
        "CobaltTests-Parsing.swift",
        "CobaltTests-Requests.swift",
        "CobaltTests-Stubbing.swift",
        "CobaltTests.swift"
      ],
      "target_dependencies" : [
        "Cobalt",
        "CobaltStubbing",
        "CobaltCache"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CobaltStubbing",
      "module_type" : "SwiftTarget",
      "name" : "CobaltStubbing",
      "path" : "Sources/Stubbing",
      "product_dependencies" : [
        "Alamofire"
      ],
      "product_memberships" : [
        "CobaltStubbing"
      ],
      "sources" : [
        "Client+Stubbing.swift",
        "ClientService+Stubbing.swift",
        "Stub.swift",
        "StubbingManager.swift"
      ],
      "target_dependencies" : [
        "Cobalt"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CobaltCache",
      "module_type" : "SwiftTarget",
      "name" : "CobaltCache",
      "path" : "Sources/Cache",
      "product_memberships" : [
        "CobaltCache"
      ],
      "sources" : [
        "CacheManager.swift",
        "CachePolicy.swift",
        "Client+Cache.swift",
        "ClientService+Cache.swift",
        "Request+Cache.swift"
      ],
      "target_dependencies" : [
        "Cobalt"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Cobalt",
      "module_type" : "SwiftTarget",
      "name" : "Cobalt",
      "path" : "Sources/Core",
      "product_dependencies" : [
        "Alamofire",
        "KeychainAccess",
        "Logging",
        "DebugMasking"
      ],
      "product_memberships" : [
        "Cobalt",
        "CobaltCache",
        "CobaltStubbing"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Core/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Authentication/AccessToken.swift",
        "Authentication/Authentication.swift",
        "Authentication/AuthenticationProvider.swift",
        "Authentication/AuthorizationCodeRequest.swift",
        "Base/ClientService.swift",
        "Base/CobaltClient.swift",
        "Base/CobaltConfig.swift",
        "Base/CobaltError.swift",
        "Base/CobaltRequest.swift",
        "Base/CobaltResponse.swift",
        "Base/RequestQueue.swift",
        "Extensions/Optional.swift",
        "Extensions/String+Extension.swift",
        "Logging/LoggingOption.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
Fetching https://github.com/UnlockAgency/DebugMasking.git
Fetching https://github.com/Alamofire/Alamofire.git
[1/19] Fetching debugmasking
[20/3855] Fetching debugmasking, swift-log
[3856/8241] Fetching debugmasking, swift-log, keychainaccess
[6664/27808] Fetching debugmasking, swift-log, keychainaccess, nimble
[6708/57945] Fetching debugmasking, swift-log, keychainaccess, nimble, alamofire
Fetched https://github.com/UnlockAgency/DebugMasking.git from cache (1.56s)
[52803/57926] Fetching swift-log, keychainaccess, nimble, alamofire
Fetched https://github.com/apple/swift-log.git from cache (1.56s)
[49269/54090] Fetching keychainaccess, nimble, alamofire
Fetched https://github.com/Quick/Nimble.git from cache (1.59s)
[30907/34523] Fetching keychainaccess, alamofire
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (3.51s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.58s)
Computing version for https://github.com/UnlockAgency/DebugMasking.git
Computed https://github.com/UnlockAgency/DebugMasking.git at 1.0.1 (4.19s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 4.2.2 (0.57s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 11.2.2 (0.77s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.27s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.90s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.25s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.85s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.61s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.99s)
Creating working copy for https://github.com/UnlockAgency/DebugMasking.git
Working copy of https://github.com/UnlockAgency/DebugMasking.git resolved at 1.0.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 11.2.2
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at 4.2.2
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Building for debugging...
[0/10] Write sources
[6/10] Copying PrivacyInfo.xcprivacy
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/60] Compiling Logging MetadataProvider.swift
[12/60] Compiling Logging LogHandler.swift
[13/60] Emitting module Logging
[14/60] Compiling Logging Locks.swift
[15/60] Compiling Logging Logging.swift
[16/61] Compiling DebugMasking DebugMasking.swift
[17/61] Emitting module DebugMasking
[18/61] Compiling DebugMasking DebugMasking.Config.swift
[19/61] Compiling DebugMasking DebugMasking.MaskOption.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/62] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
  25 |
  26 | import Foundation
  27 | import Security
     |        `- error: no such module 'Security'
  28 | #if os(iOS) || os(OSX)
  29 | import LocalAuthentication
[22/62] Compiling KeychainAccess Keychain.swift
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
  25 |
  26 | import Foundation
  27 | import Security
     |        `- error: no such module 'Security'
  28 | #if os(iOS) || os(OSX)
  29 | import LocalAuthentication
[23/62] Compiling Alamofire NetworkReachabilityManager.swift
[24/62] Compiling Alamofire RedirectHandler.swift
[25/62] Compiling Alamofire RequestCompression.swift
[26/62] Compiling Alamofire RequestInterceptor.swift
[27/62] Compiling Alamofire ResponseSerialization.swift
[28/62] Compiling Alamofire URLRequest+Alamofire.swift
[29/62] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[30/62] Compiling Alamofire AlamofireExtended.swift
[31/62] Compiling Alamofire AuthenticationInterceptor.swift
[32/62] Compiling Alamofire CachedResponseHandler.swift
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
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/CobaltTests/Info.plist
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/51] Compiling Logging MetadataProvider.swift
[3/51] Emitting module DebugMasking
[4/51] Compiling DebugMasking DebugMasking.MaskOption.swift
[5/51] Compiling DebugMasking DebugMasking.swift
[6/51] Compiling DebugMasking DebugMasking.Config.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/52] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
  25 |
  26 | import Foundation
  27 | import Security
     |        `- error: no such module 'Security'
  28 | #if os(iOS) || os(OSX)
  29 | import LocalAuthentication
[9/52] Compiling KeychainAccess Keychain.swift
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
  25 |
  26 | import Foundation
  27 | import Security
     |        `- error: no such module 'Security'
  28 | #if os(iOS) || os(OSX)
  29 | import LocalAuthentication
[10/52] Compiling Alamofire NetworkReachabilityManager.swift
[11/52] Compiling Alamofire RedirectHandler.swift
[12/52] Compiling Alamofire RequestCompression.swift
[13/52] Compiling Alamofire RequestInterceptor.swift
[14/52] Compiling Alamofire ResponseSerialization.swift
[15/57] Compiling Logging LogHandler.swift
[16/57] Emitting module Logging
[17/57] Compiling Logging Locks.swift
BUILD FAILURE 6.1 linux