The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SwiftHook, reference main (c71604), with Swift 5.9 for macOS (SPM) on 15 Mar 2025 05:33:50 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p-x9/swift-hook.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/p-x9/swift-hook
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c71604f Merge pull request #30 from p-x9/dependabot/swift/github.com/p-x9/machokit-spm-0.30.0
Cloned https://github.com/p-x9/swift-hook.git
Revision (git rev-parse @):
c71604f68eff6147bb9c0270facae7e589269ed6
SUCCESS checkout https://github.com/p-x9/swift-hook.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/p-x9/swift-hook.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/10] Copying MachOKitC.framework
[1/10] Copying MachOKit.framework
[2/12] Compiling CEcho ImageInspectionELF.c
[2/12] Compiling CEcho ValueWitnessTable.c
[4/12] Compiling CEcho KnownMetadata.c
[5/12] Compiling CEcho Functions.c
[6/12] Compiling fishhookC fishhook.c
[7/12] Compiling _AtomicsShims.c
[8/12] Compiling CEcho CallAccessor.c
[9/12] Compiling CEcho ImageInspectionMachO.c
[11/26] Compiling Atomics AtomicStrongReference.swift
[12/27] Compiling Atomics AtomicValue.swift
[13/27] Compiling Atomics PointerConformances.swift
[14/27] Compiling Atomics AtomicOptional.swift
[15/27] Compiling Atomics AtomicRawRepresentable.swift
[16/27] Compiling Atomics AtomicInteger.swift
[17/27] Compiling Atomics AtomicMemoryOrderings.swift
[18/27] Emitting module Atomics
[19/27] Compiling Atomics AtomicBool.swift
[20/27] Compiling Atomics HighLevelTypes.swift
[21/27] Compiling Atomics DoubleWord.swift
[22/27] Compiling Atomics AtomicLazyReference.swift
[23/27] Compiling Atomics IntegerConformances.swift
[24/74] Emitting module Echo
[25/79] Compiling Echo HeapGenericLocalVariableMetadata.swift
[26/79] Compiling Echo HeapLocalVariableMetadata.swift
[27/79] Compiling Echo Metadata.swift
[28/79] Compiling Echo MetadataAccessFunction.swift
[29/79] Compiling Echo MetadataRequest.swift
[30/79] Compiling Echo StructDescriptor.swift
[31/79] Compiling Echo TypeContextDescriptor.swift
[32/79] Compiling Echo Echo.swift
[33/79] Compiling Echo ClassMetadata.swift
[34/79] Compiling Echo EnumMetadata.swift
[35/79] Compiling Echo MetadataValues.swift
[36/79] Compiling Echo MetatypeMetadata.swift
[37/79] Compiling Echo ObjCClassWrapperMetadata.swift
[38/79] Compiling Echo OpaqueMetadata.swift
[39/79] Compiling Echo StructMetadata.swift
[40/79] Compiling Echo RelativeIndirectPointer.swift
[41/79] Compiling Echo RelativeIndirectablePointer.swift
[42/79] Compiling Echo RelativeIndirectablePointerIntPair.swift
[43/79] Compiling Echo RelativePointer.swift
[44/79] Compiling Echo SignedPointer.swift
[45/79] Compiling Echo FieldDescriptor.swift
[46/79] Compiling Echo GenericContext.swift
[47/79] Compiling Echo ModuleDescriptor.swift
[48/79] Compiling Echo OpaqueDescriptor.swift
[49/79] Compiling Echo ProtocolDescriptor.swift
[50/79] Compiling Echo AnonymousDescriptor.swift
[51/79] Compiling Echo ClassDescriptor.swift
[52/79] Compiling Echo ContextDescriptor.swift
[53/79] Compiling Echo ContextDescriptorValues.swift
[54/79] Compiling Echo EnumDescriptor.swift
[55/79] Compiling Echo ExtensionDescriptor.swift
[56/79] Compiling Echo RuntimeValues.swift
[57/79] Compiling Echo WitnessTable.swift
[58/79] Compiling Echo FieldType.swift
[59/79] Compiling Echo Misc.swift
[60/79] Compiling Echo RelativeDirectPointer.swift
[61/79] Compiling Echo EnumValueWitnessTable.swift
[62/79] Compiling Echo ExistentialMetadata.swift
[63/79] Compiling Echo ExistentialMetatypeMetadata.swift
[64/79] Compiling Echo ForeignClassMetadata.swift
[65/79] Compiling Echo FunctionMetadata.swift
[66/79] Compiling Echo Functions.swift
[67/79] Compiling Echo HeapObject.swift
[68/79] Compiling Echo ImageInspection.swift
[69/79] Compiling Echo KeyPaths.swift
[70/79] Compiling Echo KnownMetadata.swift
[71/79] Compiling Echo TupleMetadata.swift
[72/79] Compiling Echo TypeMetadata.swift
[73/79] Compiling Echo ValueWitnessTable.swift
[74/79] Compiling Echo ConformanceDescriptor.swift
[75/79] Compiling Echo ExistentialContainer.swift
[76/79] Emitting module fishhook
[77/79] Compiling fishhook fishhook.swift
[78/79] Emitting module _MachOKitSPM
[79/79] Compiling _MachOKitSPM MachOKitSPM.swift
[80/87] Compiling SwiftHook CFunctionHooker.swift
[81/87] Emitting module SwiftHook
[82/87] Compiling SwiftHook SwiftHookError.swift
[83/87] Compiling SwiftHook demangle.swift
[84/87] Compiling SwiftHook SwiftHook+function.swift
[85/87] Compiling SwiftHook SwiftHook.swift
[86/87] Compiling SwiftHook HookFunctionInfo.swift
[87/87] Compiling SwiftHook SwiftHook+method.swift
Build complete! (16.64s)
Fetching https://github.com/p-x9/fishhook
[1/126] Fetching fishhook
Fetched https://github.com/p-x9/fishhook (0.65s)
Fetching https://github.com/p-x9/Echo
[1/975] Fetching echo
Fetched https://github.com/p-x9/Echo (0.85s)
Fetching https://github.com/p-x9/MachOKit-SPM
Fetching https://github.com/apple/swift-atomics.git
[1/214] Fetching machokit-spm
[61/1919] Fetching machokit-spm, swift-atomics
Fetched https://github.com/p-x9/MachOKit-SPM (1.01s)
Fetched https://github.com/apple/swift-atomics.git (1.01s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 0.0.3 (0.51s)
Computing version for https://github.com/p-x9/MachOKit-SPM
Computed https://github.com/p-x9/MachOKit-SPM at 0.30.0 (0.35s)
Creating working copy for https://github.com/p-x9/fishhook
Working copy of https://github.com/p-x9/fishhook resolved at spm
Creating working copy for https://github.com/p-x9/Echo
Working copy of https://github.com/p-x9/Echo resolved at swift5.9
Creating working copy for https://github.com/p-x9/MachOKit-SPM
Working copy of https://github.com/p-x9/MachOKit-SPM resolved at 0.30.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 0.0.3
Downloading binary artifact https://github.com/p-x9/MachOKit/releases/download/0.30.0/MachOKit.xcframework.zip
Downloading binary artifact https://github.com/p-x9/MachOKit/releases/download/0.30.0/MachOKitC.xcframework.zip
[32750/16415362] Downloading https://github.com/p-x9/MachOKit/releases/download/0.30.0/MachOKit.xcframework.zip
[2486272/16699485] Downloading https://github.com/p-x9/MachOKit/releases/download/0.30.0/MachOKit.xcframework.zip, https://github.com/p-x9/MachOKit/releases/download/0.30.0/MachOKitC.xcframework.zip
Downloaded https://github.com/p-x9/MachOKit/releases/download/0.30.0/MachOKitC.xcframework.zip (0.91s)
Downloaded https://github.com/p-x9/MachOKit/releases/download/0.30.0/MachOKit.xcframework.zip (2.41s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "fishhook",
      "requirement" : {
        "branch" : [
          "spm"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/p-x9/fishhook"
    },
    {
      "identity" : "echo",
      "requirement" : {
        "branch" : [
          "swift5.9"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/p-x9/Echo"
    },
    {
      "identity" : "machokit-spm",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.13.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/p-x9/MachOKit-SPM"
    }
  ],
  "manifest_display_name" : "SwiftHook",
  "name" : "SwiftHook",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftHook",
      "targets" : [
        "SwiftHook"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftHookTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftHookTests",
      "path" : "Tests/SwiftHookTests",
      "sources" : [
        "SwiftHookTests.swift",
        "class.swift",
        "functions.swift",
        "struct.swift"
      ],
      "target_dependencies" : [
        "SwiftHook"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftHook",
      "module_type" : "SwiftTarget",
      "name" : "SwiftHook",
      "path" : "Sources/SwiftHook",
      "product_dependencies" : [
        "fishhook",
        "Echo",
        "MachOKit"
      ],
      "product_memberships" : [
        "SwiftHook"
      ],
      "sources" : [
        "CFunctionHooker.swift",
        "Model/HookFunctionInfo.swift",
        "SwiftHook+function.swift",
        "SwiftHook+method.swift",
        "SwiftHook.swift",
        "SwiftHookError.swift",
        "Util/demangle.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.