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 6.0 for macOS (SPM) on 1 Feb 2025 17:42:22 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -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

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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "injectionscratch",
      "name": "InjectionScratch",
      "url": "https://github.com/johnno1962/InjectionScratch.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/InjectionScratch",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/johnno1962/InjectionScratch.git
[2/77] Fetching injectionscratch
Fetched https://github.com/johnno1962/InjectionScratch.git from cache (1.07s)
Creating working copy for https://github.com/johnno1962/InjectionScratch.git
Working copy of https://github.com/johnno1962/InjectionScratch.git resolved at 1.2.13 (678bedd)
warning: '.resolve-product-dependencies': dependency 'injectionscratch' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/johnno1962/InjectionScratch.git
https://github.com/johnno1962/InjectionScratch.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/5] 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]
   93 |     auto *header = (struct mach_header_64 *)scratch;
      |     ^
1 warning generated.
[1/5] 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]
   23 | - (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
   23 | - (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
   23 | - (BOOL)readBytes:(void * /*_Nonnull*/)buffer length:(size_t)length cmd:(SEL /*_Nonnull*/)cmd;
      |                         ^
      |                           _Nonnull
1 warning generated.
[2/5] Compiling InjectionScratch InjectionScratch.m
[3/5] Write Objects.LinkFileList
[4/5] Linking libInjectionScratch.dylib
Build complete! (2.63s)
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.