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 MachOKitSPM, reference 0.43.0 (1982da), with Swift 6.1 for Linux on 13 Dec 2025 23:40:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p-x9/MachOKit-SPM.git
Reference: 0.43.0
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/p-x9/MachOKit-SPM
 * tag               0.43.0     -> FETCH_HEAD
HEAD is now at 1982da8 version 0.43.0
Cloned https://github.com/p-x9/MachOKit-SPM.git
Revision (git rev-parse @):
1982da8ba523d6f5131da92cfb8279b3e39ed6d9
SUCCESS checkout https://github.com/p-x9/MachOKit-SPM.git at 0.43.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/p-x9/MachOKit-SPM.git
https://github.com/p-x9/MachOKit-SPM.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MachOKitSPM",
  "name" : "MachOKitSPM",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "MachOKit",
      "targets" : [
        "MachOKitBin",
        "MachOKitCBin",
        "_MachOKitSPM"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "_MachOKitSPM",
      "module_type" : "SwiftTarget",
      "name" : "_MachOKitSPM",
      "path" : "Sources/_MachOKitSPM",
      "product_memberships" : [
        "MachOKit"
      ],
      "sources" : [
        "MachOKitSPM.swift"
      ],
      "target_dependencies" : [
        "MachOKitBin",
        "MachOKitCBin"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MachOKitSPMTests",
      "module_type" : "SwiftTarget",
      "name" : "MachOKitSPMTests",
      "path" : "Tests/MachOKitSPMTests",
      "sources" : [
        "MachOKitSPMTests.swift"
      ],
      "target_dependencies" : [
        "_MachOKitSPM"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MachOKitCBin",
      "module_type" : "BinaryTarget",
      "name" : "MachOKitCBin",
      "path" : "remote/archive/MachOKitC.xcframework.zip",
      "product_memberships" : [
        "MachOKit"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "MachOKitBin",
      "module_type" : "BinaryTarget",
      "name" : "MachOKitBin",
      "path" : "remote/archive/MachOKit.xcframework.zip",
      "product_memberships" : [
        "MachOKit"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:7a52ddccc7ba366c24bb516637054305dd0c5fa0b57dff9877b95decd3e21586
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Downloading binary artifact https://github.com/p-x9/MachOKit/releases/download/0.43.0/MachOKitC.xcframework.zip
Downloading binary artifact https://github.com/p-x9/MachOKit/releases/download/0.43.0/MachOKit.xcframework.zip
[1397/290577] Downloading https://github.com/p-x9/MachOKit/releases/download/0.43.0/MachOKitC.xcframework.zip
[9824/18689467] Downloading https://github.com/p-x9/MachOKit/releases/download/0.43.0/MachOKitC.xcframework.zip, https://github.com/p-x9/MachOKit/releases/download/0.43.0/MachOKit.xcframework.zip
Downloaded https://github.com/p-x9/MachOKit/releases/download/0.43.0/MachOKitC.xcframework.zip (0.80s)
[7438172/18398890] Downloading https://github.com/p-x9/MachOKit/releases/download/0.43.0/MachOKit.xcframework.zip
Downloaded https://github.com/p-x9/MachOKit/releases/download/0.43.0/MachOKit.xcframework.zip (4.87s)
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/4] Emitting module _MachOKitSPM
/host/spi-builder-workspace/Sources/_MachOKitSPM/MachOKitSPM.swift:1:19: error: no such module 'MachOKit'
1 | @_exported import MachOKit
  |                   `- error: no such module 'MachOKit'
2 | @_exported import MachOKitC
3 |
[4/4] Compiling _MachOKitSPM MachOKitSPM.swift
/host/spi-builder-workspace/Sources/_MachOKitSPM/MachOKitSPM.swift:1:19: error: no such module 'MachOKit'
1 | @_exported import MachOKit
  |                   `- error: no such module 'MachOKit'
2 | @_exported import MachOKitC
3 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:7a52ddccc7ba366c24bb516637054305dd0c5fa0b57dff9877b95decd3e21586
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module _MachOKitSPM
/host/spi-builder-workspace/Sources/_MachOKitSPM/MachOKitSPM.swift:1:19: error: no such module 'MachOKit'
1 | @_exported import MachOKit
  |                   `- error: no such module 'MachOKit'
2 | @_exported import MachOKitC
3 |
[3/3] Compiling _MachOKitSPM MachOKitSPM.swift
/host/spi-builder-workspace/Sources/_MachOKitSPM/MachOKitSPM.swift:1:19: error: no such module 'MachOKit'
1 | @_exported import MachOKit
  |                   `- error: no such module 'MachOKit'
2 | @_exported import MachOKitC
3 |
BUILD FAILURE 6.1 linux