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 main (3d33a4), with Swift 6.1 for Wasm on 14 Jun 2025 14:43:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p-x9/MachOKit-SPM.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/p-x9/MachOKit-SPM
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3d33a40 version 0.35.1
Cloned https://github.com/p-x9/MachOKit-SPM.git
Revision (git rev-parse @):
3d33a40319f5a7be4df867e8a6d722c73264cd00
SUCCESS checkout https://github.com/p-x9/MachOKit-SPM.git at main
========================================
Build
========================================
Selected platform:         wasm
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-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:1f4a86c2403dd7f046762c8271002f713e736861711b4d7bb001b0e60ed1e881
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Downloading binary artifact https://github.com/p-x9/MachOKit/releases/download/0.35.1/MachOKit.xcframework.zip
Downloading binary artifact https://github.com/p-x9/MachOKit/releases/download/0.35.1/MachOKitC.xcframework.zip
[1369/16882944] Downloading https://github.com/p-x9/MachOKit/releases/download/0.35.1/MachOKit.xcframework.zip
[17887/17173997] Downloading https://github.com/p-x9/MachOKit/releases/download/0.35.1/MachOKit.xcframework.zip, https://github.com/p-x9/MachOKit/releases/download/0.35.1/MachOKitC.xcframework.zip
Downloaded https://github.com/p-x9/MachOKit/releases/download/0.35.1/MachOKitC.xcframework.zip (0.53s)
Downloaded https://github.com/p-x9/MachOKit/releases/download/0.35.1/MachOKit.xcframework.zip (3.84s)
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-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:1f4a86c2403dd7f046762c8271002f713e736861711b4d7bb001b0e60ed1e881
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/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 |
BUILD FAILURE 6.1 wasm