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 InjectionScratch, reference 1.2.13 (678bed), with Swift 5.9 for macOS (SPM) on 1 Feb 2025 17:43:53 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/johnno1962/InjectionScratch.git
Reference: 1.2.13
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/johnno1962/InjectionScratch
 * tag               1.2.13     -> FETCH_HEAD
HEAD is now at 678bedd Sync for iOS18
Cloned https://github.com/johnno1962/InjectionScratch.git
Revision (git rev-parse @):
678bedde8dd628fef27416ff12da4415001278cb
SUCCESS checkout https://github.com/johnno1962/InjectionScratch.git at 1.2.13
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/johnno1962/InjectionScratch.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Compiling InjectionScratch injected_code.s
/Users/admin/builder/spi-builder-workspace/Sources/InjectionScratch/InjectionLoader.mm:93:5: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
    auto *header = (struct mach_header_64 *)scratch;
    ^
1 warning generated.
[1/4] Compiling InjectionScratch InjectionLoader.mm
In file included from /Users/admin/builder/spi-builder-workspace/Sources/InjectionScratch/InjectionScratch.m:11:
/Users/admin/builder/spi-builder-workspace/Sources/InjectionScratch/include/InjectionScratch.h:23:25: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
- (BOOL)readBytes:(void * /*_Nonnull*/)buffer length:(size_t)length cmd:(SEL /*_Nonnull*/)cmd;
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/InjectionScratch/include/InjectionScratch.h:23:25: note: insert '_Nullable' if the pointer may be null
- (BOOL)readBytes:(void * /*_Nonnull*/)buffer length:(size_t)length cmd:(SEL /*_Nonnull*/)cmd;
                        ^
                          _Nullable
/Users/admin/builder/spi-builder-workspace/Sources/InjectionScratch/include/InjectionScratch.h:23:25: note: insert '_Nonnull' if the pointer should never be null
- (BOOL)readBytes:(void * /*_Nonnull*/)buffer length:(size_t)length cmd:(SEL /*_Nonnull*/)cmd;
                        ^
                          _Nonnull
1 warning generated.
[2/4] Compiling InjectionScratch InjectionScratch.m
[3/4] Linking libInjectionScratch.dylib
Build complete! (5.10s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "InjectionScratch",
  "name" : "InjectionScratch",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "InjectionScratch",
      "targets" : [
        "InjectionScratch"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "InjectionScratch",
      "module_type" : "ClangTarget",
      "name" : "InjectionScratch",
      "path" : "Sources/InjectionScratch",
      "product_memberships" : [
        "InjectionScratch"
      ],
      "sources" : [
        "InjectionLoader.mm",
        "InjectionScratch.m",
        "injected_code.s"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.