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 MeterReporter, reference 0.1.0 (302e34), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 21:23:02 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/MeterReporter.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChimeHQ/MeterReporter
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 302e342 Retry and better cleanup support
Cloned https://github.com/ChimeHQ/MeterReporter.git
Revision (git rev-parse @):
302e342a2edccac9c4b47d169703e5f58df73944
SUCCESS checkout https://github.com/ChimeHQ/MeterReporter.git at 0.1.0
Fetching https://github.com/ChimeHQ/Meter
Fetching https://github.com/ChimeHQ/Wells
[1/579] Fetching meter
[123/787] Fetching meter, wells
Fetched https://github.com/ChimeHQ/Meter from cache (0.75s)
Fetched https://github.com/ChimeHQ/Wells from cache (0.75s)
Computing version for https://github.com/ChimeHQ/Wells
Computed https://github.com/ChimeHQ/Wells at 0.3.0 (1.35s)
Computing version for https://github.com/ChimeHQ/Meter
Computed https://github.com/ChimeHQ/Meter at 0.4.0 (0.57s)
Creating working copy for https://github.com/ChimeHQ/Wells
Working copy of https://github.com/ChimeHQ/Wells resolved at 0.3.0
Creating working copy for https://github.com/ChimeHQ/Meter
Working copy of https://github.com/ChimeHQ/Meter resolved at 0.4.0
========================================
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": "meterreporter",
      "name": "MeterReporter",
      "url": "https://github.com/ChimeHQ/MeterReporter.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MeterReporter",
      "dependencies": [
        {
          "identity": "meter",
          "name": "Meter",
          "url": "https://github.com/ChimeHQ/Meter",
          "version": "0.6.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Meter",
          "dependencies": [
          ]
        },
        {
          "identity": "wells",
          "name": "Wells",
          "url": "https://github.com/ChimeHQ/Wells",
          "version": "0.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Wells",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/ChimeHQ/MeterReporter.git
[1/139] Fetching meterreporter
Fetched https://github.com/ChimeHQ/MeterReporter.git from cache (0.65s)
Fetching https://github.com/ChimeHQ/Meter from cache
Fetching https://github.com/ChimeHQ/Wells from cache
Fetched https://github.com/ChimeHQ/Wells from cache (0.39s)
Fetched https://github.com/ChimeHQ/Meter from cache (0.43s)
Computing version for https://github.com/ChimeHQ/Wells
Computed https://github.com/ChimeHQ/Wells at 0.3.0 (0.48s)
Computing version for https://github.com/ChimeHQ/Meter
Computed https://github.com/ChimeHQ/Meter at 0.6.0 (0.46s)
Creating working copy for https://github.com/ChimeHQ/Meter
Working copy of https://github.com/ChimeHQ/Meter resolved at 0.6.0
Creating working copy for https://github.com/ChimeHQ/Wells
Working copy of https://github.com/ChimeHQ/Wells resolved at 0.3.0
Creating working copy for https://github.com/ChimeHQ/MeterReporter.git
Working copy of https://github.com/ChimeHQ/MeterReporter.git resolved at 0.1.0 (302e342)
warning: '.resolve-product-dependencies': dependency 'meterreporter' is not used by any target
Found 2 product dependencies
  - Meter
  - Wells
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ChimeHQ/MeterReporter.git
https://github.com/ChimeHQ/MeterReporter.git
{
  "dependencies" : [
    {
      "identity" : "meter",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChimeHQ/Meter"
    },
    {
      "identity" : "wells",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChimeHQ/Wells"
    }
  ],
  "manifest_display_name" : "MeterReporter",
  "name" : "MeterReporter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "MeterReporter",
      "targets" : [
        "MeterReporter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MeterReporter",
      "module_type" : "SwiftTarget",
      "name" : "MeterReporter",
      "path" : "Sources/MeterReporter",
      "product_dependencies" : [
        "Meter",
        "Wells"
      ],
      "product_memberships" : [
        "MeterReporter"
      ],
      "sources" : [
        "DiagnosticSubscriber.swift",
        "ExceptionLoggingApplication.swift",
        "MeterReporter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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] Write sources
[3/5] Write swift-version-2F0A5646E1D333AE.txt
[4/13] Compiling BinaryImage BinaryImage.m
[6/20] Compiling Meter DiagnosticPayload.swift
[7/20] Compiling Meter Symbolicator.swift
[8/20] Emitting module Meter
[9/20] Compiling Meter CallStackTree.swift
[10/20] Compiling Meter ExceptionInfo.swift
[11/20] Compiling Meter MeterPayloadProvider.swift
[12/20] Compiling Meter DlfcnSymbolicator.swift
[13/20] Compiling Wells ReportLocationProvider.swift
[14/20] Compiling Wells WellsReporter.swift
[15/20] Emitting module Wells
[16/20] Compiling Wells Protocol+Helpers.swift
[17/20] Compiling Wells NetworkResponse.swift
[18/20] Compiling Wells FileManager+Helpers.swift
[19/20] Compiling Wells Data+compression.swift
[20/20] Compiling Wells WellsUploader.swift
[21/24] Compiling MeterReporter ExceptionLoggingApplication.swift
[22/24] Compiling MeterReporter DiagnosticSubscriber.swift
[23/24] Emitting module MeterReporter
/Users/admin/builder/spi-builder-workspace/Sources/MeterReporter/MeterReporter.swift:64:66: warning: reference to class property 'defaultBackgroundIdentifier' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 62 |         public var hostIdentifier: String?
 63 |
 64 |         public var backgroundIdentifier: String? = WellsUploader.defaultBackgroundIdentifier
    |                                                                  `- warning: reference to class property 'defaultBackgroundIdentifier' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 65 |         public var reportsURL: URL = WellsReporter.defaultDirectory
 66 |         public var log: OSLog = OSLog(subsystem: "com.chimehq.MeterReporter", category: "MeterReporter")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Wells/Sources/Wells/WellsUploader.swift:19:23: note: class property declared here
 17 |     public weak var delegate: WellsUploaderDelegate?
 18 |
 19 |     public static var defaultBackgroundIdentifier: String = {
    |                       `- note: class property declared here
 20 |         let bundleId = Bundle.main.bundleIdentifier ?? "com.chimehq.Wells"
 21 |
[24/24] Compiling MeterReporter MeterReporter.swift
/Users/admin/builder/spi-builder-workspace/Sources/MeterReporter/MeterReporter.swift:64:66: warning: reference to class property 'defaultBackgroundIdentifier' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 62 |         public var hostIdentifier: String?
 63 |
 64 |         public var backgroundIdentifier: String? = WellsUploader.defaultBackgroundIdentifier
    |                                                                  `- warning: reference to class property 'defaultBackgroundIdentifier' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 65 |         public var reportsURL: URL = WellsReporter.defaultDirectory
 66 |         public var log: OSLog = OSLog(subsystem: "com.chimehq.MeterReporter", category: "MeterReporter")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Wells/Sources/Wells/WellsUploader.swift:19:23: note: class property declared here
 17 |     public weak var delegate: WellsUploaderDelegate?
 18 |
 19 |     public static var defaultBackgroundIdentifier: String = {
    |                       `- note: class property declared here
 20 |         let bundleId = Bundle.main.bundleIdentifier ?? "com.chimehq.Wells"
 21 |
/Users/admin/builder/spi-builder-workspace/Sources/MeterReporter/MeterReporter.swift:113:22: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
109 |
110 | extension MeterReporter {
111 |     private func configureExceptionLogging() {
    |                  `- note: add '@MainActor' to make instance method 'configureExceptionLogging()' part of global actor 'MainActor'
112 |         #if os(macOS)
113 |         if let app = NSApp as? ExceptionLoggingApplication {
    |                      `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
114 |             app.exceptionInfoURL = exceptionInfoURL
115 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
    |                                                          `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/MeterReporter/MeterReporter.swift:114:17: warning: main actor-isolated property 'exceptionInfoURL' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
109 |
110 | extension MeterReporter {
111 |     private func configureExceptionLogging() {
    |                  `- note: add '@MainActor' to make instance method 'configureExceptionLogging()' part of global actor 'MainActor'
112 |         #if os(macOS)
113 |         if let app = NSApp as? ExceptionLoggingApplication {
114 |             app.exceptionInfoURL = exceptionInfoURL
    |                 `- warning: main actor-isolated property 'exceptionInfoURL' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
115 |         }
116 |         #endif
/Users/admin/builder/spi-builder-workspace/Sources/MeterReporter/ExceptionLoggingApplication.swift:6:16: note: mutation of this property is only permitted within the actor
 4 |
 5 | open class ExceptionLoggingApplication: NSApplication {
 6 |     public var exceptionInfoURL: URL?
   |                `- note: mutation of this property is only permitted within the actor
 7 |
 8 |     public override func reportException(_ exception: NSException) {
Build complete! (10.66s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "meter",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChimeHQ/Meter"
    },
    {
      "identity" : "wells",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChimeHQ/Wells"
    }
  ],
  "manifest_display_name" : "MeterReporter",
  "name" : "MeterReporter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "MeterReporter",
      "targets" : [
        "MeterReporter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MeterReporter",
      "module_type" : "SwiftTarget",
      "name" : "MeterReporter",
      "path" : "Sources/MeterReporter",
      "product_dependencies" : [
        "Meter",
        "Wells"
      ],
      "product_memberships" : [
        "MeterReporter"
      ],
      "sources" : [
        "DiagnosticSubscriber.swift",
        "ExceptionLoggingApplication.swift",
        "MeterReporter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.