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 ComposableKeychain, reference 0.0.2 (3ebddf), with Swift 6.1 for Linux on 27 Apr 2025 02:11:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/binaryscraping/swift-composable-keychain.git
Reference: 0.0.2
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/binaryscraping/swift-composable-keychain
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at 3ebddfe Remove TCA dependency and add XCTestDynamicOverlay
Cloned https://github.com/binaryscraping/swift-composable-keychain.git
Revision (git rev-parse @):
3ebddfe9e9232218bada99ab6d6b3ca1fd94f112
SUCCESS checkout https://github.com/binaryscraping/swift-composable-keychain.git at 0.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/binaryscraping/swift-composable-keychain.git
https://github.com/binaryscraping/swift-composable-keychain.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "keychainaccess",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.2.2",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kishikawakatsumi/KeychainAccess"
    },
    {
      "identity" : "xctest-dynamic-overlay",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/xctest-dynamic-overlay"
    }
  ],
  "manifest_display_name" : "ComposableKeychain",
  "name" : "ComposableKeychain",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "ComposableKeychain",
      "targets" : [
        "ComposableKeychain"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ComposableKeychainTests",
      "module_type" : "SwiftTarget",
      "name" : "ComposableKeychainTests",
      "path" : "Tests/ComposableKeychainTests",
      "sources" : [
        "ComposableKeychainTests.swift"
      ],
      "target_dependencies" : [
        "ComposableKeychain"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ComposableKeychain",
      "module_type" : "SwiftTarget",
      "name" : "ComposableKeychain",
      "path" : "Sources/ComposableKeychain",
      "product_dependencies" : [
        "KeychainAccess",
        "XCTestDynamicOverlay"
      ],
      "product_memberships" : [
        "ComposableKeychain"
      ],
      "sources" : [
        "Interface.swift",
        "Live.swift",
        "Mocks.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/kishikawakatsumi/KeychainAccess
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/4386] Fetching keychainaccess
[3554/9774] Fetching keychainaccess, xctest-dynamic-overlay
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (0.52s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.57s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (1.06s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.67s)
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess
Working copy of https://github.com/kishikawakatsumi/KeychainAccess resolved at 4.2.2
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/14] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/15] 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
[7/15] 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
[8/15] Compiling XCTestDynamicOverlay Unimplemented.swift
[9/15] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[10/15] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[11/15] Compiling XCTestDynamicOverlay XCTFail.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/11] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[3/12] Compiling XCTestDynamicOverlay XCTFail.swift
[4/12] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[5/12] Emitting module XCTestDynamicOverlay
[6/12] Compiling XCTestDynamicOverlay Deprecations.swift
[7/12] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[8/12] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[9/12] Compiling XCTestDynamicOverlay Unimplemented.swift
[10/12] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/13] 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
[13/13] 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
BUILD FAILURE 6.1 linux