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 master (e8c878), with Swift 6.0 for macOS (SPM) on 31 May 2025 12:57:00 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mixpanel/mixpanel-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e8c8783 swift-format (#672)
Cloned https://github.com/mixpanel/mixpanel-swift.git
Revision (git rev-parse @):
e8c8783d94f5fa2680f3e6eac202964c3db4d410
SUCCESS checkout https://github.com/mixpanel/mixpanel-swift.git at master
========================================
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
[0/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 ReadWriteLock.swift
[8/29] Compiling Mixpanel SessionMetadata.swift
[9/29] Compiling Mixpanel MixpanelOptions.swift
[10/29] Compiling Mixpanel MixpanelPersistence.swift
[11/29] Compiling Mixpanel MixpanelType.swift
[12/29] Compiling Mixpanel Network.swift
[13/29] Compiling Mixpanel People.swift
[14/29] Compiling Mixpanel PrintLogging.swift
[15/29] Compiling Mixpanel Data+Compression.swift
[16/29] Compiling Mixpanel Error.swift
[17/29] Compiling Mixpanel FeatureFlags.swift
[18/29] Compiling Mixpanel FileLogging.swift
[19/29] Compiling Mixpanel Flush.swift
[20/29] Compiling Mixpanel FlushRequest.swift
[21/29] Compiling Mixpanel Group.swift
[22/29] Compiling Mixpanel JSONHandler.swift
[23/29] Compiling Mixpanel MPDB.swift
[24/29] Compiling Mixpanel AutomaticEvents.swift
[25/29] Compiling Mixpanel AutomaticProperties.swift
[26/29] Compiling Mixpanel Constants.swift
[27/29] Compiling Mixpanel Mixpanel.swift
/Users/admin/builder/spi-builder-workspace/Sources/MixpanelInstance.swift:1290:19: warning: result of call to 'write(closure:)' is unused
1288 |
1289 |   func removeCachedGroup(groupKey: String, groupID: MixpanelType) {
1290 |     readWriteLock.write {
     |                   `- warning: result of call to 'write(closure:)' is unused
1291 |       groups.removeValue(forKey: makeMapKey(groupKey: groupKey, groupID: groupID))
1292 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MixpanelLogger.swift:73:19: 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:19: 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:1290:19: warning: result of call to 'write(closure:)' is unused
1288 |
1289 |   func removeCachedGroup(groupKey: String, groupID: MixpanelType) {
1290 |     readWriteLock.write {
     |                   `- warning: result of call to 'write(closure:)' is unused
1291 |       groups.removeValue(forKey: makeMapKey(groupKey: groupKey, groupID: groupID))
1292 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MixpanelLogger.swift:73:19: 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:19: 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:1290:19: warning: result of call to 'write(closure:)' is unused
1288 |
1289 |   func removeCachedGroup(groupKey: String, groupID: MixpanelType) {
1290 |     readWriteLock.write {
     |                   `- warning: result of call to 'write(closure:)' is unused
1291 |       groups.removeValue(forKey: makeMapKey(groupKey: groupKey, groupID: groupID))
1292 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MixpanelLogger.swift:73:19: 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:19: 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! (7.92s)
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.