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 PerfectNewRelic, reference master (ef1adb), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 17:05:29 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/perfectlysoft/perfect-newrelic-linux.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/perfectlysoft/perfect-newrelic-linux
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ef1adb9 Update README.md
Cloned https://github.com/perfectlysoft/perfect-newrelic-linux.git
Revision (git rev-parse @):
ef1adb98e3a970c0d53755d6d3947fb776752151
SUCCESS checkout https://github.com/perfectlysoft/perfect-newrelic-linux.git at master
========================================
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": "perfect-newrelic-linux",
      "name": "PerfectNewRelic",
      "url": "https://github.com/perfectlysoft/perfect-newrelic-linux.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/perfect-newrelic-linux",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/perfectlysoft/perfect-newrelic-linux.git
[1/123] Fetching perfect-newrelic-linux
Fetched https://github.com/perfectlysoft/perfect-newrelic-linux.git from cache (0.69s)
Creating working copy for https://github.com/perfectlysoft/perfect-newrelic-linux.git
Working copy of https://github.com/perfectlysoft/perfect-newrelic-linux.git resolved at master (ef1adb9)
warning: '.resolve-product-dependencies': dependency 'perfect-newrelic-linux' 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/perfectlysoft/perfect-newrelic-linux.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/4] Emitting module PerfectNewRelic
/Users/admin/builder/spi-builder-workspace/Sources/PerfectNewRelic/PerfectNewRelic.swift:108:41: warning: using '!' is not allowed here; treating this as '?' instead
106 |   internal var newrelic_record_metric: funcSDI
107 |
108 |   typealias funcCVIV = @convention(c) ( ( (UnsafeRawPointer) -> UnsafeRawPointer)! ) -> Void
    |                                         `- warning: using '!' is not allowed here; treating this as '?' instead
109 |   internal var newrelic_register_message_handler: funcCVIV
110 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectNewRelic/PerfectNewRelic.swift:120:39: warning: using '!' is not allowed here; treating this as '?' instead
118 |   internal var newrelic_message_handler: funcVPV
119 |
120 |   typealias funcVC = @convention(c) ( ((Int32) -> Void)! ) -> Void
    |                                       `- warning: using '!' is not allowed here; treating this as '?' instead
121 |   internal var newrelic_register_status_callback: funcVC
122 |
[4/4] Compiling PerfectNewRelic PerfectNewRelic.swift
/Users/admin/builder/spi-builder-workspace/Sources/PerfectNewRelic/PerfectNewRelic.swift:108:41: warning: using '!' is not allowed here; treating this as '?' instead
106 |   internal var newrelic_record_metric: funcSDI
107 |
108 |   typealias funcCVIV = @convention(c) ( ( (UnsafeRawPointer) -> UnsafeRawPointer)! ) -> Void
    |                                         `- warning: using '!' is not allowed here; treating this as '?' instead
109 |   internal var newrelic_register_message_handler: funcCVIV
110 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectNewRelic/PerfectNewRelic.swift:120:39: warning: using '!' is not allowed here; treating this as '?' instead
118 |   internal var newrelic_message_handler: funcVPV
119 |
120 |   typealias funcVC = @convention(c) ( ((Int32) -> Void)! ) -> Void
    |                                       `- warning: using '!' is not allowed here; treating this as '?' instead
121 |   internal var newrelic_register_status_callback: funcVC
122 |
Build complete! (6.04s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PerfectNewRelic",
  "name" : "PerfectNewRelic",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PerfectNewRelic",
      "targets" : [
        "PerfectNewRelic"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PerfectNewRelicTests",
      "module_type" : "SwiftTarget",
      "name" : "PerfectNewRelicTests",
      "path" : "Tests/PerfectNewRelicTests",
      "sources" : [
        "PerfectNewRelicTests.swift"
      ],
      "target_dependencies" : [
        "PerfectNewRelic"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PerfectNewRelic",
      "module_type" : "SwiftTarget",
      "name" : "PerfectNewRelic",
      "path" : "Sources/PerfectNewRelic",
      "product_memberships" : [
        "PerfectNewRelic"
      ],
      "sources" : [
        "PerfectNewRelic.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.