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 main (6c158c), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 12:25:41 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnno1962/InjectionScratch.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/johnno1962/InjectionScratch
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6c158cd Merge pull request #2 from johnno1962/injection-loader
Cloned https://github.com/johnno1962/InjectionScratch.git
Revision (git rev-parse @):
6c158cd2e9233dad709f1ac0b4e6ed6e4d3e6184
SUCCESS checkout https://github.com/johnno1962/InjectionScratch.git at main
========================================
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
[1/69] Fetching injectionscratch
Fetched https://github.com/johnno1962/InjectionScratch.git from cache (1.03s)
Creating working copy for https://github.com/johnno1962/InjectionScratch.git
Working copy of https://github.com/johnno1962/InjectionScratch.git resolved at main (6c158cd)
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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
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
[2/5] Compiling InjectionScratch InjectionScratch.m
[3/5] Write Objects.LinkFileList
[4/5] Linking libInjectionScratch.dylib
Build complete! (2.21s)
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.