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 Mixpanel, reference v5.0.0 (e26192), with Swift 6.0 for macOS (SPM) on 25 Apr 2025 14:52:21 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mixpanel/mixpanel-swift.git
Reference: v5.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mixpanel/mixpanel-swift
 * tag               v5.0.0     -> FETCH_HEAD
HEAD is now at e261928 Update docs
Cloned https://github.com/mixpanel/mixpanel-swift.git
Revision (git rev-parse @):
e2619282894502f9378abe04c7f7d92fc523484a
SUCCESS checkout https://github.com/mixpanel/mixpanel-swift.git at v5.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mixpanel/mixpanel-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Copying PrivacyInfo.xcprivacy
[1/3] Write sources
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
[4/25] Emitting module Mixpanel
[5/27] Compiling Mixpanel Track.swift
[6/27] Compiling Mixpanel resource_bundle_accessor.swift
[7/27] Compiling Mixpanel People.swift
[8/27] Compiling Mixpanel PrintLogging.swift
[9/27] Compiling Mixpanel MixpanelType.swift
[10/27] Compiling Mixpanel Network.swift
[11/27] Compiling Mixpanel ReadWriteLock.swift
[12/27] Compiling Mixpanel SessionMetadata.swift
[13/27] Compiling Mixpanel Flush.swift
[14/27] Compiling Mixpanel FlushRequest.swift
[15/27] Compiling Mixpanel Group.swift
[16/27] Compiling Mixpanel MixpanelLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/MixpanelLogger.swift:73:23: warning: result of call to 'write(closure:)' is unused
 71 |     /// Enable log messages of a specific `LogLevel` to be added to the log
 72 |     class func enableLevel(_ level: MixpanelLogLevel) {
 73 |         readWriteLock.write {
    |                       `- warning: result of call to 'write(closure:)' is unused
 74 |             enabledLevels.insert(level)
 75 |         }
/Users/admin/builder/spi-builder-workspace/Sources/MixpanelLogger.swift:80:23: warning: result of call to 'write(closure:)' is unused
 78 |     /// Disable log messages of a specific `LogLevel` to prevent them from being logged
 79 |     class func disableLevel(_ level: MixpanelLogLevel) {
 80 |         readWriteLock.write {
    |                       `- warning: result of call to 'write(closure:)' is unused
 81 |             enabledLevels.remove(level)
 82 |         }
[17/27] Compiling Mixpanel MixpanelPersistence.swift
/Users/admin/builder/spi-builder-workspace/Sources/MixpanelLogger.swift:73:23: warning: result of call to 'write(closure:)' is unused
 71 |     /// Enable log messages of a specific `LogLevel` to be added to the log
 72 |     class func enableLevel(_ level: MixpanelLogLevel) {
 73 |         readWriteLock.write {
    |                       `- warning: result of call to 'write(closure:)' is unused
 74 |             enabledLevels.insert(level)
 75 |         }
/Users/admin/builder/spi-builder-workspace/Sources/MixpanelLogger.swift:80:23: warning: result of call to 'write(closure:)' is unused
 78 |     /// Disable log messages of a specific `LogLevel` to prevent them from being logged
 79 |     class func disableLevel(_ level: MixpanelLogLevel) {
 80 |         readWriteLock.write {
    |                       `- warning: result of call to 'write(closure:)' is unused
 81 |             enabledLevels.remove(level)
 82 |         }
[18/27] Compiling Mixpanel Data+Compression.swift
[19/27] Compiling Mixpanel Error.swift
[20/27] Compiling Mixpanel FileLogging.swift
[21/27] Compiling Mixpanel JSONHandler.swift
[22/27] Compiling Mixpanel MPDB.swift
[23/27] Compiling Mixpanel AutomaticEvents.swift
[24/27] Compiling Mixpanel AutomaticProperties.swift
[25/27] Compiling Mixpanel Constants.swift
[26/27] Compiling Mixpanel Mixpanel.swift
/Users/admin/builder/spi-builder-workspace/Sources/MixpanelInstance.swift:1203:23: warning: result of call to 'write(closure:)' is unused
1201 |
1202 |     func removeCachedGroup(groupKey: String, groupID: MixpanelType) {
1203 |         readWriteLock.write {
     |                       `- warning: result of call to 'write(closure:)' is unused
1204 |             groups.removeValue(forKey: makeMapKey(groupKey: groupKey, groupID: groupID))
1205 |         }
[27/27] Compiling Mixpanel MixpanelInstance.swift
/Users/admin/builder/spi-builder-workspace/Sources/MixpanelInstance.swift:1203:23: warning: result of call to 'write(closure:)' is unused
1201 |
1202 |     func removeCachedGroup(groupKey: String, groupID: MixpanelType) {
1203 |         readWriteLock.write {
     |                       `- warning: result of call to 'write(closure:)' is unused
1204 |             groups.removeValue(forKey: makeMapKey(groupKey: groupKey, groupID: groupID))
1205 |         }
Build complete! (7.82s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Mixpanel",
  "name" : "Mixpanel",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "Mixpanel",
      "targets" : [
        "Mixpanel"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Mixpanel",
      "module_type" : "SwiftTarget",
      "name" : "Mixpanel",
      "path" : "Sources",
      "product_memberships" : [
        "Mixpanel"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Mixpanel/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AutomaticEvents.swift",
        "AutomaticProperties.swift",
        "Constants.swift",
        "Data+Compression.swift",
        "Error.swift",
        "FileLogging.swift",
        "Flush.swift",
        "FlushRequest.swift",
        "Group.swift",
        "JSONHandler.swift",
        "MPDB.swift",
        "Mixpanel.swift",
        "MixpanelInstance.swift",
        "MixpanelLogger.swift",
        "MixpanelPersistence.swift",
        "MixpanelType.swift",
        "Network.swift",
        "People.swift",
        "PrintLogging.swift",
        "ReadWriteLock.swift",
        "SessionMetadata.swift",
        "Track.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.