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 HotReloading, reference main (592ef2), with Swift 6.1 for Linux on 7 Jun 2025 10:03:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnno1962/HotReloading.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/johnno1962/HotReloading
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 592ef22 Client connections.
Cloned https://github.com/johnno1962/HotReloading.git
Revision (git rev-parse @):
592ef227cef758e77c34d3a79fb0c2671ac3a6dc
SUCCESS checkout https://github.com/johnno1962/HotReloading.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/johnno1962/HotReloading.git
https://github.com/johnno1962/HotReloading.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++11",
  "dependencies" : [
    {
      "identity" : "swifttrace",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.6.1",
            "upper_bound" : "8.7.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnno1962/SwiftTrace"
    },
    {
      "identity" : "swiftregex5",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.1.2",
            "upper_bound" : "6.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnno1962/SwiftRegex5"
    },
    {
      "identity" : "xprobeplugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.9.10",
            "upper_bound" : "2.10.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnno1962/XprobePlugin"
    },
    {
      "identity" : "remote",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.5",
            "upper_bound" : "2.4.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnno1962/Remote"
    },
    {
      "identity" : "profileswiftui",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.3",
            "upper_bound" : "1.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnno1962/ProfileSwiftUI"
    }
  ],
  "manifest_display_name" : "HotReloading",
  "name" : "HotReloading",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "HotReloading",
      "targets" : [
        "HotReloading"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HotReloadingGuts",
      "targets" : [
        "HotReloadingGuts"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "injectiondGuts",
      "targets" : [
        "injectiondGuts"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "injectiond",
      "targets" : [
        "injectiond"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "injectiondGuts",
      "module_type" : "ClangTarget",
      "name" : "injectiondGuts",
      "path" : "Sources/injectiondGuts",
      "product_memberships" : [
        "injectiondGuts",
        "injectiond"
      ],
      "sources" : [
        "SignerService.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "injectiond",
      "module_type" : "SwiftTarget",
      "name" : "injectiond",
      "path" : "Sources/injectiond",
      "product_dependencies" : [
        "SwiftRegex",
        "XprobeUI",
        "RemoteUI"
      ],
      "product_memberships" : [
        "injectiond"
      ],
      "sources" : [
        "AppDelegate.swift",
        "DeviceServer.swift",
        "Experimental.swift",
        "FileWatcher.swift",
        "InjectionServer.swift",
        "SwiftEval.swift",
        "UnhidingEval.swift",
        "UpdateCheck.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "HotReloadingGuts",
        "injectiondGuts"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "HotReloadingGuts",
      "module_type" : "ClangTarget",
      "name" : "HotReloadingGuts",
      "path" : "Sources/HotReloadingGuts",
      "product_memberships" : [
        "HotReloading",
        "HotReloadingGuts",
        "injectiond"
      ],
      "sources" : [
        "ClientBoot.mm",
        "SimpleSocket.mm",
        "Unhide.mm"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HotReloading",
      "module_type" : "SwiftTarget",
      "name" : "HotReloading",
      "path" : "Sources/HotReloading",
      "product_dependencies" : [
        "SwiftTraceD",
        "Xprobe",
        "SwiftRegex",
        "ProfileSwiftUI"
      ],
      "product_memberships" : [
        "HotReloading"
      ],
      "sources" : [
        "DeviceInjection.swift",
        "DynamicCast.swift",
        "FileWatcher.swift",
        "InjectionClient.swift",
        "InjectionStats.swift",
        "ObjcInjection.swift",
        "ReducerInjection.swift",
        "StandaloneInjection.swift",
        "SwiftEval.swift",
        "SwiftInjection.swift",
        "SwiftInterpose.swift",
        "SwiftKeyPath.swift",
        "SwiftSweeper.swift",
        "UnhidingEval.swift",
        "Vaccine.swift"
      ],
      "target_dependencies" : [
        "HotReloadingGuts"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:2b296aa7156f49efc57252cdf9ed4bb21d0f92fc98d88800e255491ba2db3116
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/johnno1962/Remote
Fetching https://github.com/johnno1962/SwiftTrace
Fetching https://github.com/johnno1962/ProfileSwiftUI
Fetching https://github.com/johnno1962/SwiftRegex5
Fetching https://github.com/johnno1962/XprobePlugin
[1/209] Fetching swiftregex5
[210/283] Fetching swiftregex5, profileswiftui
[284/1193] Fetching swiftregex5, profileswiftui, remote
[503/3166] Fetching swiftregex5, profileswiftui, remote, xprobeplugin
[1632/5233] Fetching swiftregex5, profileswiftui, remote, xprobeplugin, swifttrace
Fetched https://github.com/johnno1962/SwiftRegex5 from cache (0.38s)
[4886/5024] Fetching profileswiftui, remote, xprobeplugin, swifttrace
Fetched https://github.com/johnno1962/ProfileSwiftUI from cache (0.51s)
Fetched https://github.com/johnno1962/Remote from cache (0.51s)
Fetched https://github.com/johnno1962/SwiftTrace from cache (0.52s)
Fetched https://github.com/johnno1962/XprobePlugin from cache (0.52s)
Computing version for https://github.com/johnno1962/ProfileSwiftUI
Computed https://github.com/johnno1962/ProfileSwiftUI at 1.1.3 (1.00s)
Fetching https://github.com/johnno1962/DLKit
[1/399] Fetching dlkit
Fetched https://github.com/johnno1962/DLKit from cache (0.21s)
Computing version for https://github.com/johnno1962/Remote
Computed https://github.com/johnno1962/Remote at 2.3.5 (0.71s)
Computing version for https://github.com/johnno1962/XprobePlugin
Computed https://github.com/johnno1962/XprobePlugin at 2.9.10 (0.48s)
Computing version for https://github.com/johnno1962/SwiftTrace
Computed https://github.com/johnno1962/SwiftTrace at 8.6.1 (0.49s)
Computing version for https://github.com/johnno1962/SwiftRegex5
Computed https://github.com/johnno1962/SwiftRegex5 at 6.1.3 (0.49s)
Computing version for https://github.com/johnno1962/DLKit
Computed https://github.com/johnno1962/DLKit at 3.4.8 (0.49s)
Fetching https://github.com/johnno1962/fishhook
[1/169] Fetching fishhook
Fetched https://github.com/johnno1962/fishhook from cache (0.20s)
Computing version for https://github.com/johnno1962/fishhook
Computed https://github.com/johnno1962/fishhook at 1.2.1 (0.67s)
Creating working copy for https://github.com/johnno1962/SwiftRegex5
Working copy of https://github.com/johnno1962/SwiftRegex5 resolved at 6.1.3
Creating working copy for https://github.com/johnno1962/DLKit
Working copy of https://github.com/johnno1962/DLKit resolved at 3.4.8
Creating working copy for https://github.com/johnno1962/SwiftTrace
Working copy of https://github.com/johnno1962/SwiftTrace resolved at 8.6.1
Creating working copy for https://github.com/johnno1962/Remote
Working copy of https://github.com/johnno1962/Remote resolved at 2.3.5
Creating working copy for https://github.com/johnno1962/ProfileSwiftUI
Working copy of https://github.com/johnno1962/ProfileSwiftUI resolved at 1.1.3
Creating working copy for https://github.com/johnno1962/XprobePlugin
Working copy of https://github.com/johnno1962/XprobePlugin resolved at 2.9.10
Creating working copy for https://github.com/johnno1962/fishhook
Working copy of https://github.com/johnno1962/fishhook resolved at 1.2.1
Building for debugging...
[0/44] Write sources
[4/44] Compiling XprobeSweep XprobeSweep.m
In file included from /host/spi-builder-workspace/.build/checkouts/XprobePlugin/Sources/XprobeUI/XprobePluginMenuController.m:11:
/host/spi-builder-workspace/.build/checkouts/XprobePlugin/Sources/XprobeUI/include/XprobePluginMenuController.h:11:9: fatal error: 'Cocoa/Cocoa.h' file not found
   11 | #import <Cocoa/Cocoa.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Sources/injectiondGuts/SignerService.m:11:
/host/spi-builder-workspace/Sources/injectiondGuts/include/SignerService.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[5/44] Compiling injectiondGuts SignerService.m
[5/44] Compiling XprobeUI XprobePluginMenuController.m
[5/44] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x86.s
In file included from /host/spi-builder-workspace/.build/checkouts/XprobePlugin/Sources/XprobeUI/XprobeConsole.m:11:
/host/spi-builder-workspace/.build/checkouts/XprobePlugin/Sources/XprobeUI/include/XprobePluginMenuController.h:11:9: fatal error: 'Cocoa/Cocoa.h' file not found
   11 | #import <Cocoa/Cocoa.h>
      |         ^~~~~~~~~~~~~~~
[5/44] Compiling XprobeUI XprobeConsole.m
In file included from /host/spi-builder-workspace/Sources/HotReloadingGuts/SimpleSocket.mm:17:
/host/spi-builder-workspace/Sources/HotReloadingGuts/include/SimpleSocket.h:11:9: fatal error: 'Foundation/Foundation.h' file not found
   11 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[5/44] Compiling HotReloadingGuts SimpleSocket.mm
In file included from /host/spi-builder-workspace/Sources/HotReloadingGuts/ClientBoot.mm:14:
/host/spi-builder-workspace/Sources/HotReloadingGuts/include/InjectionClient.h:13:9: fatal error: 'Foundation/Foundation.h' file not found
   13 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[5/44] Compiling HotReloadingGuts ClientBoot.mm
/host/spi-builder-workspace/Sources/HotReloadingGuts/Unhide.mm:14:9: fatal error: 'Foundation/Foundation.h' file not found
   14 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[5/44] Compiling HotReloadingGuts Unhide.mm
[5/44] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:2b296aa7156f49efc57252cdf9ed4bb21d0f92fc98d88800e255491ba2db3116
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/39] Write sources
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x64.s:10:8: error: alignment must be a power of 2
.align 12
       ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x64.s:17:8: error: alignment must be a power of 2
.align 12
       ^
[2/39] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x64.s
In file included from /host/spi-builder-workspace/.build/checkouts/Remote/Sources/RemoteCapture/RemoteImpl.m:11:
/host/spi-builder-workspace/.build/checkouts/Remote/Sources/RemoteCapture/include/RemoteCapture.h:37:9: fatal error: 'sys/sysctl.h' file not found
   37 | #import <sys/sysctl.h>
      |         ^~~~~~~~~~~~~~
[2/39] Compiling RemoteCapture RemoteImpl.m
[2/39] Compiling DLKitCD DLKitC.c
[2/39] Compiling DLKitCD trie_dlops.mm
[2/39] Compiling DLKitCD trie_dladdr.mm
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:9:8: error: alignment must be a power of 2
.align 12
       ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:17:5: error: instruction requires: Not 64-bit mode
    popl %eax           // pop saved pc (address of first of the three nops)
    ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:18:5: error: instruction requires: Not 64-bit mode
    pushl %ebp          // save frame pointer
    ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:21:5: error: instruction requires: Not 64-bit mode
    pushl %eax          // save pointer to trampoline data (func+data)
    ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:23:5: error: instruction requires: Not 64-bit mode
    pushl %eax          // save pointer to user data
    ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:26:5: error: instruction requires: Not 64-bit mode
    popl %ebp
    ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:27:5: error: instruction requires: Not 64-bit mode
    popl %ebp
    ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:28:5: error: instruction requires: Not 64-bit mode
    popl %ebp           // restore frame pointer
    ^
/host/spi-builder-workspace/.build/checkouts/SwiftTrace/SwiftTraceGutsD/xt_forwarding_trampoline_x86.s:29:5: error: instruction requires: Not 64-bit mode
    jmpl *%eax          // pass on to original implementation
    ^
[2/39] Compiling SwiftTraceGutsD xt_forwarding_trampoline_x86.s
In file included from /host/spi-builder-workspace/.build/checkouts/XprobePlugin/Sources/XprobeUI/XprobePluginMenuController.m:11:
/host/spi-builder-workspace/.build/checkouts/XprobePlugin/Sources/XprobeUI/include/XprobePluginMenuController.h:11:9: fatal error: 'Cocoa/Cocoa.h' file not found
   11 | #import <Cocoa/Cocoa.h>
      |         ^~~~~~~~~~~~~~~
[2/39] Compiling XprobeUI XprobePluginMenuController.m
In file included from /host/spi-builder-workspace/.build/checkouts/XprobePlugin/Sources/XprobeUI/XprobeConsole.m:11:
/host/spi-builder-workspace/.build/checkouts/XprobePlugin/Sources/XprobeUI/include/XprobePluginMenuController.h:11:9: fatal error: 'Cocoa/Cocoa.h' file not found
   11 | #import <Cocoa/Cocoa.h>
      |         ^~~~~~~~~~~~~~~
[2/39] Compiling XprobeUI XprobeConsole.m
BUILD FAILURE 6.1 linux