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 InterposeKit, reference 0.0.2 (17853a), with Swift 6.1 for Wasm on 27 May 2025 13:09:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/steipete/InterposeKit.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/steipete/InterposeKit
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at 17853ad Update README.md
Cloned https://github.com/steipete/InterposeKit.git
Revision (git rev-parse @):
17853ad69961a5114e25c60c3ce7600feac0eabd
SUCCESS checkout https://github.com/steipete/InterposeKit.git at 0.0.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/steipete/InterposeKit.git
https://github.com/steipete/InterposeKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "InterposeKit",
  "name" : "InterposeKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    }
  ],
  "products" : [
    {
      "name" : "InterposeKit",
      "targets" : [
        "InterposeKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SuperBuilder",
      "module_type" : "ClangTarget",
      "name" : "SuperBuilder",
      "path" : "Sources/SuperBuilder",
      "product_memberships" : [
        "InterposeKit"
      ],
      "sources" : [
        "src/ITKSuperBuilder.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "InterposeKitTests",
      "module_type" : "SwiftTarget",
      "name" : "InterposeKitTests",
      "path" : "Tests/InterposeKitTests",
      "sources" : [
        "InterposeKitTestCase.swift",
        "InterposeKitTests.swift",
        "KVOTests.swift",
        "MultipleInterposing.swift",
        "ObjectInterposeTests.swift",
        "TestClass.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "InterposeKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "InterposeKit",
      "module_type" : "SwiftTarget",
      "name" : "InterposeKit",
      "path" : "Sources/InterposeKit",
      "product_memberships" : [
        "InterposeKit"
      ],
      "sources" : [
        "AnyHook.swift",
        "ClassHook.swift",
        "InterposeError.swift",
        "InterposeKit.swift",
        "LinuxCompileSupport.swift",
        "ObjectHook.swift",
        "Watcher.swift"
      ],
      "target_dependencies" : [
        "SuperBuilder"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/3] Write sources
[1/3] Compiling ITKSuperBuilder.m
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling InterposeKit Watcher.swift
/host/spi-builder-workspace/Sources/InterposeKit/Watcher.swift:4:8: error: no such module 'MachO.dyld'
  2 |
  3 | #if !os(Linux)
  4 | import MachO.dyld
    |        `- error: no such module 'MachO.dyld'
  5 | #endif
  6 |
[5/11] Compiling InterposeKit ObjectHook.swift
/host/spi-builder-workspace/Sources/InterposeKit/Watcher.swift:4:8: error: no such module 'MachO.dyld'
  2 |
  3 | #if !os(Linux)
  4 | import MachO.dyld
    |        `- error: no such module 'MachO.dyld'
  5 | #endif
  6 |
[6/11] Compiling InterposeKit LinuxCompileSupport.swift
/host/spi-builder-workspace/Sources/InterposeKit/Watcher.swift:4:8: error: no such module 'MachO.dyld'
  2 |
  3 | #if !os(Linux)
  4 | import MachO.dyld
    |        `- error: no such module 'MachO.dyld'
  5 | #endif
  6 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/11] Emitting module InterposeKit
/host/spi-builder-workspace/Sources/InterposeKit/Watcher.swift:4:8: error: no such module 'MachO.dyld'
  2 |
  3 | #if !os(Linux)
  4 | import MachO.dyld
    |        `- error: no such module 'MachO.dyld'
  5 | #endif
  6 |
[8/11] Compiling InterposeKit InterposeKit.swift
/host/spi-builder-workspace/Sources/InterposeKit/Watcher.swift:4:8: error: no such module 'MachO.dyld'
  2 |
  3 | #if !os(Linux)
  4 | import MachO.dyld
    |        `- error: no such module 'MachO.dyld'
  5 | #endif
  6 |
[9/11] Compiling InterposeKit InterposeError.swift
/host/spi-builder-workspace/Sources/InterposeKit/Watcher.swift:4:8: error: no such module 'MachO.dyld'
  2 |
  3 | #if !os(Linux)
  4 | import MachO.dyld
    |        `- error: no such module 'MachO.dyld'
  5 | #endif
  6 |
[10/11] Compiling InterposeKit ClassHook.swift
/host/spi-builder-workspace/Sources/InterposeKit/Watcher.swift:4:8: error: no such module 'MachO.dyld'
  2 |
  3 | #if !os(Linux)
  4 | import MachO.dyld
    |        `- error: no such module 'MachO.dyld'
  5 | #endif
  6 |
[11/11] Compiling InterposeKit AnyHook.swift
/host/spi-builder-workspace/Sources/InterposeKit/Watcher.swift:4:8: error: no such module 'MachO.dyld'
  2 |
  3 | #if !os(Linux)
  4 | import MachO.dyld
    |        `- error: no such module 'MachO.dyld'
  5 | #endif
  6 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/9] Emitting module InterposeKit
/host/spi-builder-workspace/Sources/InterposeKit/Watcher.swift:4:8: error: no such module 'MachO.dyld'
  2 |
  3 | #if !os(Linux)
  4 | import MachO.dyld
    |        `- error: no such module 'MachO.dyld'
  5 | #endif
  6 |
[3/9] Compiling InterposeKit ClassHook.swift
/host/spi-builder-workspace/Sources/InterposeKit/Watcher.swift:4:8: error: no such module 'MachO.dyld'
  2 |
  3 | #if !os(Linux)
  4 | import MachO.dyld
    |        `- error: no such module 'MachO.dyld'
  5 | #endif
  6 |
[4/9] Compiling InterposeKit AnyHook.swift
/host/spi-builder-workspace/Sources/InterposeKit/Watcher.swift:4:8: error: no such module 'MachO.dyld'
  2 |
  3 | #if !os(Linux)
  4 | import MachO.dyld
    |        `- error: no such module 'MachO.dyld'
  5 | #endif
  6 |
[5/9] Compiling InterposeKit Watcher.swift
/host/spi-builder-workspace/Sources/InterposeKit/Watcher.swift:4:8: error: no such module 'MachO.dyld'
  2 |
  3 | #if !os(Linux)
  4 | import MachO.dyld
    |        `- error: no such module 'MachO.dyld'
  5 | #endif
  6 |
[6/9] Compiling InterposeKit InterposeError.swift
/host/spi-builder-workspace/Sources/InterposeKit/Watcher.swift:4:8: error: no such module 'MachO.dyld'
  2 |
  3 | #if !os(Linux)
  4 | import MachO.dyld
    |        `- error: no such module 'MachO.dyld'
  5 | #endif
  6 |
[7/9] Compiling InterposeKit InterposeKit.swift
/host/spi-builder-workspace/Sources/InterposeKit/Watcher.swift:4:8: error: no such module 'MachO.dyld'
  2 |
  3 | #if !os(Linux)
  4 | import MachO.dyld
    |        `- error: no such module 'MachO.dyld'
  5 | #endif
  6 |
[8/9] Compiling InterposeKit ObjectHook.swift
/host/spi-builder-workspace/Sources/InterposeKit/Watcher.swift:4:8: error: no such module 'MachO.dyld'
  2 |
  3 | #if !os(Linux)
  4 | import MachO.dyld
    |        `- error: no such module 'MachO.dyld'
  5 | #endif
  6 |
[9/9] Compiling InterposeKit LinuxCompileSupport.swift
/host/spi-builder-workspace/Sources/InterposeKit/Watcher.swift:4:8: error: no such module 'MachO.dyld'
  2 |
  3 | #if !os(Linux)
  4 | import MachO.dyld
    |        `- error: no such module 'MachO.dyld'
  5 | #endif
  6 |
BUILD FAILURE 6.1 wasm