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 master (2a6199), with Swift 5.10 for macOS (SPM) on 1 Apr 2025 17:23:25 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.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/623637646/SwiftHook.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/623637646/SwiftHook
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2a6199f Bump new version to 3.5.3
Cloned https://github.com/623637646/SwiftHook.git
Revision (git rev-parse @):
2a6199f90aa2c10cd01b92488639dd246caf277e
SUCCESS checkout https://github.com/623637646/SwiftHook.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/623637646/SwiftHook.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/23] Write swift-version-33747A42983211AE.txt
[1/23] Compiling ffi_armv7.c
[2/23] Compiling sysv_armv7.S
[3/23] Compiling win64_x86_64.S
[3/23] Compiling unix64_x86_64.S
[5/23] Compiling sysv_i386.S
[6/23] Compiling ffi_i386.c
[7/23] Compiling ffiw64_x86_64.c
[8/23] Compiling ffi64_x86_64.c
[9/23] Compiling sysv_arm64.S
[10/23] Compiling debug.c
[11/23] Compiling raw_api.c
[12/23] Compiling ffi_arm64.c
[13/23] Write sources
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/java_raw_api.c:328:46: warning: 'ffi_java_raw_size' is deprecated [-Wdeprecated-declarations]
  ffi_java_raw *raw = (ffi_java_raw*)alloca (ffi_java_raw_size (cif));
                                             ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/include/ffi_arm64.h:328:56: note: 'ffi_java_raw_size' has been explicitly marked deprecated here
size_t ffi_java_raw_size (ffi_cif *cif) __attribute__((deprecated));
                                                       ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/java_raw_api.c:331:3: warning: 'ffi_java_ptrarray_to_raw' is deprecated [-Wdeprecated-declarations]
  ffi_java_ptrarray_to_raw (cif, avalue, raw);
  ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/include/ffi_arm64.h:324:93: note: 'ffi_java_ptrarray_to_raw' has been explicitly marked deprecated here
void ffi_java_ptrarray_to_raw (ffi_cif *cif, void **args, ffi_java_raw *raw) __attribute__((deprecated));
                                                                                            ^
2 warnings generated.
[14/23] Compiling java_raw_api.c
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:3470:27: warning: 'sbrk' is deprecated [-Wdeprecated-declarations]
      char* base = (char*)CALL_MORECORE(0);
                          ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:1417:30: note: expanded from macro 'CALL_MORECORE'
#define CALL_MORECORE(S)     MORECORE(S)
                             ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:548:18: note: expanded from macro 'MORECORE'
#define MORECORE sbrk
                 ^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here
__deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:3478:27: warning: 'sbrk' is deprecated [-Wdeprecated-declarations]
            (br = (char*)(CALL_MORECORE(asize))) == base) {
                          ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:1417:30: note: expanded from macro 'CALL_MORECORE'
#define CALL_MORECORE(S)     MORECORE(S)
                             ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:548:18: note: expanded from macro 'MORECORE'
#define MORECORE sbrk
                 ^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here
__deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:3489:25: warning: 'sbrk' is deprecated [-Wdeprecated-declarations]
          (br = (char*)(CALL_MORECORE(asize))) == ss->base+ss->size) {
                        ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:1417:30: note: expanded from macro 'CALL_MORECORE'
#define CALL_MORECORE(S)     MORECORE(S)
                             ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:548:18: note: expanded from macro 'MORECORE'
#define MORECORE sbrk
                 ^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here
__deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:3501:32: warning: 'sbrk' is deprecated [-Wdeprecated-declarations]
            char* end = (char*)CALL_MORECORE(esize);
                               ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:1417:30: note: expanded from macro 'CALL_MORECORE'
#define CALL_MORECORE(S)     MORECORE(S)
                             ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:548:18: note: expanded from macro 'MORECORE'
#define MORECORE sbrk
                 ^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here
__deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:3505:21: warning: 'sbrk' is deprecated [-Wdeprecated-declarations]
              (void)CALL_MORECORE(-asize);
                    ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:1417:30: note: expanded from macro 'CALL_MORECORE'
#define CALL_MORECORE(S)     MORECORE(S)
                             ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:548:18: note: expanded from macro 'MORECORE'
#define MORECORE sbrk
                 ^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here
__deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:3541:20: warning: 'sbrk' is deprecated [-Wdeprecated-declarations]
      br = (char*)(CALL_MORECORE(asize));
                   ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:1417:30: note: expanded from macro 'CALL_MORECORE'
#define CALL_MORECORE(S)     MORECORE(S)
                             ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:548:18: note: expanded from macro 'MORECORE'
#define MORECORE sbrk
                 ^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here
__deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:3542:21: warning: 'sbrk' is deprecated [-Wdeprecated-declarations]
      end = (char*)(CALL_MORECORE(0));
                    ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:1417:30: note: expanded from macro 'CALL_MORECORE'
#define CALL_MORECORE(S)     MORECORE(S)
                             ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:548:18: note: expanded from macro 'MORECORE'
#define MORECORE sbrk
                 ^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here
__deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:3697:36: warning: 'sbrk' is deprecated [-Wdeprecated-declarations]
            char* old_br = (char*)(CALL_MORECORE(0));
                                   ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:1417:30: note: expanded from macro 'CALL_MORECORE'
#define CALL_MORECORE(S)     MORECORE(S)
                             ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:548:18: note: expanded from macro 'MORECORE'
#define MORECORE sbrk
                 ^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here
__deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:3699:38: warning: 'sbrk' is deprecated [-Wdeprecated-declarations]
              char* rel_br = (char*)(CALL_MORECORE(-extra));
                                     ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:1417:30: note: expanded from macro 'CALL_MORECORE'
#define CALL_MORECORE(S)     MORECORE(S)
                             ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:548:18: note: expanded from macro 'MORECORE'
#define MORECORE sbrk
                 ^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here
__deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:3700:38: warning: 'sbrk' is deprecated [-Wdeprecated-declarations]
              char* new_br = (char*)(CALL_MORECORE(0));
                                     ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:1417:30: note: expanded from macro 'CALL_MORECORE'
#define CALL_MORECORE(S)     MORECORE(S)
                             ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libffi/Sources/libffi_apple/src/dlmalloc.c:548:18: note: expanded from macro 'MORECORE'
#define MORECORE sbrk
                 ^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here
__deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
^
/Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/cdefs.h:214:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
10 warnings generated.
[15/23] Compiling dlmalloc.c
[16/23] Compiling prep_cif.c
[17/23] Compiling tramp.c
[18/23] Compiling types.c
[19/23] Compiling closures.c
[20/23] Compiling SwiftHookOCSources SHMethodSignature.m
[21/23] Compiling SwiftHookOCSources SHObjectiveCUtilities.m
[22/23] Compiling SwiftHookOCSources SHFFITypeContext.m
[24/43] Emitting module SwiftHook
[25/45] Compiling SwiftHook Signature.swift
[26/45] Compiling SwiftHook Utilities.swift
[27/45] Compiling SwiftHook FFICIFContext.swift
[28/45] Compiling SwiftHook FFIClosureContext.swift
[29/45] Compiling SwiftHook DynamicClass.swift
[30/45] Compiling SwiftHook HookCommonOC.swift
[31/45] Compiling SwiftHook HookSpecificInstanceOC.swift
[32/45] Compiling SwiftHook TargetObjectExtension.swift
[33/45] Compiling SwiftHook ParametersCheck.swift
[34/45] Compiling SwiftHook HookInternal.swift
[35/45] Compiling SwiftHook InsteadHookClosureExtension.swift
[36/45] Compiling SwiftHook HookAllInstancesOC.swift
[37/45] Compiling SwiftHook HookClassMethodsOC.swift
[38/45] Compiling SwiftHook KVOWrapper.swift
[39/45] Compiling SwiftHook OverrideSuperMethod.swift
[40/45] Compiling SwiftHook HookAllInstances.swift
[41/45] Compiling SwiftHook HookClassMethods.swift
[42/45] Compiling SwiftHook HookCommon.swift
[43/45] Compiling SwiftHook HookSpecificInstance.swift
[44/45] Compiling SwiftHook HookContext.swift
[45/45] Compiling SwiftHook HookDeallocAfterDelegate.swift
Build complete! (9.33s)
Fetching https://github.com/623637646/libffi.git
[1/15566] Fetching libffi
Fetched https://github.com/623637646/libffi.git from cache (2.03s)
Computing version for https://github.com/623637646/libffi.git
Computed https://github.com/623637646/libffi.git at 3.4.7 (0.36s)
Creating working copy for https://github.com/623637646/libffi.git
Working copy of https://github.com/623637646/libffi.git resolved at 3.4.7
Build complete.
{
  "dependencies" : [
    {
      "identity" : "libffi",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.4.7",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/623637646/libffi.git"
    }
  ],
  "manifest_display_name" : "SwiftHook",
  "name" : "SwiftHook",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftHook",
      "targets" : [
        "SwiftHook"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftHookOCSources",
      "module_type" : "ClangTarget",
      "name" : "SwiftHookOCSources",
      "path" : "SwiftHook/Classes/OCSources",
      "product_dependencies" : [
        "libffi_apple"
      ],
      "product_memberships" : [
        "SwiftHook"
      ],
      "sources" : [
        "SHFFITypeContext.m",
        "SHMethodSignature.m",
        "SHObjectiveCUtilities.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftHook",
      "module_type" : "SwiftTarget",
      "name" : "SwiftHook",
      "path" : "SwiftHook/Classes",
      "product_dependencies" : [
        "libffi_apple"
      ],
      "product_memberships" : [
        "SwiftHook"
      ],
      "sources" : [
        "FFI/FFICIFContext.swift",
        "FFI/FFIClosureContext.swift",
        "Hook/DynamicClass.swift",
        "Hook/HookContext.swift",
        "Hook/HookDeallocAfterDelegate.swift",
        "Hook/HookInternal.swift",
        "Hook/InsteadHookClosureExtension.swift",
        "Hook/KVOWrapper.swift",
        "Hook/OverrideSuperMethod.swift",
        "Hook/TargetObjectExtension.swift",
        "Parameters/ParametersCheck.swift",
        "Public/HookAllInstances.swift",
        "Public/HookClassMethods.swift",
        "Public/HookCommon.swift",
        "Public/HookSpecificInstance.swift",
        "PublicObjectiveCAPI/HookAllInstancesOC.swift",
        "PublicObjectiveCAPI/HookClassMethodsOC.swift",
        "PublicObjectiveCAPI/HookCommonOC.swift",
        "PublicObjectiveCAPI/HookSpecificInstanceOC.swift",
        "Signature/Signature.swift",
        "Utilities/Utilities.swift"
      ],
      "target_dependencies" : [
        "SwiftHookOCSources"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.