The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Mixpanel, reference v5.1.0 (82d1ce), with Swift 6.0 for macOS (SPM) on 31 May 2025 12:59:47 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mixpanel/mixpanel-swift.git
Reference: v5.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mixpanel/mixpanel-swift
 * tag               v5.1.0     -> FETCH_HEAD
HEAD is now at 82d1ce4 Update docs
Cloned https://github.com/mixpanel/mixpanel-swift.git
Revision (git rev-parse @):
82d1ce415b38b138ceb8adc4e0c15a26f14121d1
SUCCESS checkout https://github.com/mixpanel/mixpanel-swift.git at v5.1.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] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
[4/27] Emitting module Mixpanel
[5/29] Compiling Mixpanel Track.swift
[6/29] Compiling Mixpanel resource_bundle_accessor.swift
[7/29] Compiling Mixpanel MixpanelOptions.swift
[8/29] Compiling Mixpanel MixpanelPersistence.swift
[9/29] Compiling Mixpanel MixpanelType.swift
[10/29] Compiling Mixpanel Network.swift
[11/29] Compiling Mixpanel People.swift
[12/29] Compiling Mixpanel PrintLogging.swift
[13/29] Compiling Mixpanel Data+Compression.swift
[14/29] Compiling Mixpanel Error.swift
[15/29] Compiling Mixpanel FeatureFlags.swift
[16/29] Compiling Mixpanel Group.swift
[17/29] Compiling Mixpanel JSONHandler.swift
[18/29] Compiling Mixpanel MPDB.swift
[19/29] Compiling Mixpanel AutomaticEvents.swift
[20/29] Compiling Mixpanel AutomaticProperties.swift
[21/29] Compiling Mixpanel Constants.swift
[22/29] Compiling Mixpanel FileLogging.swift
[23/29] Compiling Mixpanel Flush.swift
[24/29] Compiling Mixpanel FlushRequest.swift
[25/29] Compiling Mixpanel ReadWriteLock.swift
[26/29] Compiling Mixpanel SessionMetadata.swift
[27/29] Compiling Mixpanel Mixpanel.swift
/Users/admin/builder/spi-builder-workspace/Sources/MixpanelInstance.swift:1248:23: warning: result of call to 'write(closure:)' is unused
1246 |
1247 |     func removeCachedGroup(groupKey: String, groupID: MixpanelType) {
1248 |         readWriteLock.write {
     |                       `- warning: result of call to 'write(closure:)' is unused
1249 |             groups.removeValue(forKey: makeMapKey(groupKey: groupKey, groupID: groupID))
1250 |         }
/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 |         }
[28/29] Compiling Mixpanel MixpanelInstance.swift
/Users/admin/builder/spi-builder-workspace/Sources/MixpanelInstance.swift:1248:23: warning: result of call to 'write(closure:)' is unused
1246 |
1247 |     func removeCachedGroup(groupKey: String, groupID: MixpanelType) {
1248 |         readWriteLock.write {
     |                       `- warning: result of call to 'write(closure:)' is unused
1249 |             groups.removeValue(forKey: makeMapKey(groupKey: groupKey, groupID: groupID))
1250 |         }
/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 |         }
[29/29] Compiling Mixpanel MixpanelLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/MixpanelInstance.swift:1248:23: warning: result of call to 'write(closure:)' is unused
1246 |
1247 |     func removeCachedGroup(groupKey: String, groupID: MixpanelType) {
1248 |         readWriteLock.write {
     |                       `- warning: result of call to 'write(closure:)' is unused
1249 |             groups.removeValue(forKey: makeMapKey(groupKey: groupKey, groupID: groupID))
1250 |         }
/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 |         }
Build complete! (8.20s)
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",
        "FeatureFlags.swift",
        "FileLogging.swift",
        "Flush.swift",
        "FlushRequest.swift",
        "Group.swift",
        "JSONHandler.swift",
        "MPDB.swift",
        "Mixpanel.swift",
        "MixpanelInstance.swift",
        "MixpanelLogger.swift",
        "MixpanelOptions.swift",
        "MixpanelPersistence.swift",
        "MixpanelType.swift",
        "Network.swift",
        "People.swift",
        "PrintLogging.swift",
        "ReadWriteLock.swift",
        "SessionMetadata.swift",
        "Track.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.