Build Information
Successful build of SwiftHook, reference master (2a6199
), with Swift 5.9 for macOS (SPM) on 1 Apr 2025 17:21:46 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/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.9
Building package at path: $PWD
https://github.com/623637646/SwiftHook.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/21] Compiling sysv_i386.S
[1/21] Compiling unix64_x86_64.S
[1/21] Compiling win64_x86_64.S
[1/21] Compiling sysv_armv7.S
[4/21] Compiling ffi_armv7.c
[4/21] Compiling ffiw64_x86_64.c
[6/21] Compiling ffi_i386.c
[7/21] Compiling ffi64_x86_64.c
[8/21] Compiling sysv_arm64.S
[9/21] Compiling types.c
[10/21] Compiling debug.c
[11/21] Compiling tramp.c
[12/21] Compiling prep_cif.c
[13/21] Compiling closures.c
/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/21] Compiling java_raw_api.c
[15/21] Compiling ffi_arm64.c
[16/21] Compiling 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.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here
__deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/sys/cdefs.h:211: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.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here
__deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/sys/cdefs.h:211: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.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here
__deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/sys/cdefs.h:211: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.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here
__deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/sys/cdefs.h:211: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.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here
__deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/sys/cdefs.h:211: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.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here
__deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/sys/cdefs.h:211: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.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here
__deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/sys/cdefs.h:211: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.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here
__deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/sys/cdefs.h:211: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.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here
__deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/sys/cdefs.h:211: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.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/unistd.h:582:1: note: 'sbrk' has been explicitly marked deprecated here
__deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED
^
/Applications/Xcode-15.2.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/sys/cdefs.h:211:40: note: expanded from macro '__deprecated'
#define __deprecated __attribute__((__deprecated__))
^
10 warnings generated.
[17/21] Compiling dlmalloc.c
[18/21] Compiling SwiftHookOCSources SHObjectiveCUtilities.m
[19/21] Compiling SwiftHookOCSources SHMethodSignature.m
[20/21] Compiling SwiftHookOCSources SHFFITypeContext.m
[22/41] Emitting module SwiftHook
[23/43] Compiling SwiftHook HookCommonOC.swift
[24/43] Compiling SwiftHook HookSpecificInstanceOC.swift
[25/43] Compiling SwiftHook TargetObjectExtension.swift
[26/43] Compiling SwiftHook ParametersCheck.swift
[27/43] Compiling SwiftHook HookAllInstances.swift
[28/43] Compiling SwiftHook HookClassMethods.swift
[29/43] Compiling SwiftHook HookInternal.swift
[30/43] Compiling SwiftHook InsteadHookClosureExtension.swift
[31/43] Compiling SwiftHook FFICIFContext.swift
[32/43] Compiling SwiftHook FFIClosureContext.swift
[33/43] Compiling SwiftHook DynamicClass.swift
[34/43] Compiling SwiftHook KVOWrapper.swift
[35/43] Compiling SwiftHook OverrideSuperMethod.swift
[36/43] Compiling SwiftHook HookAllInstancesOC.swift
[37/43] Compiling SwiftHook HookClassMethodsOC.swift
[38/43] Compiling SwiftHook HookCommon.swift
[39/43] Compiling SwiftHook HookSpecificInstance.swift
[40/43] Compiling SwiftHook HookContext.swift
[41/43] Compiling SwiftHook HookDeallocAfterDelegate.swift
[42/43] Compiling SwiftHook Signature.swift
[43/43] Compiling SwiftHook Utilities.swift
Build complete! (10.36s)
Fetching https://github.com/623637646/libffi.git
[1/15566] Fetching libffi
Fetched https://github.com/623637646/libffi.git (2.08s)
Computing version for https://github.com/623637646/libffi.git
Computed https://github.com/623637646/libffi.git at 3.4.7 (0.35s)
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.