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

Failed to build Mixpanel, reference master (7459dd), with Swift 6.1 for Linux on 6 Aug 2025 23:32:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mixpanel/mixpanel-swift.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/mixpanel/mixpanel-swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7459dd6 Update CHANGELOG
Cloned https://github.com/mixpanel/mixpanel-swift.git
Revision (git rev-parse @):
7459dd6b61665cce9f4f284ccd5dfd1d902aa568
SUCCESS checkout https://github.com/mixpanel/mixpanel-swift.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mixpanel/mixpanel-swift.git
https://github.com/mixpanel/mixpanel-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Mixpanel",
  "name" : "Mixpanel",
  "path" : "/host/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" : "/host/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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/26] Emitting module Mixpanel
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[5/29] Compiling Mixpanel SessionMetadata.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[6/29] Compiling Mixpanel Track.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[7/29] Compiling Mixpanel resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[8/29] Compiling Mixpanel Error.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[9/29] Compiling Mixpanel FeatureFlags.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[10/29] Compiling Mixpanel FileLogging.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[11/29] Compiling Mixpanel AutomaticEvents.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[12/29] Compiling Mixpanel AutomaticProperties.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[13/29] Compiling Mixpanel Constants.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[14/29] Compiling Mixpanel Data+Compression.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[15/29] Compiling Mixpanel Flush.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[16/29] Compiling Mixpanel FlushRequest.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[17/29] Compiling Mixpanel Group.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[18/29] Compiling Mixpanel MixpanelInstance.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[19/29] Compiling Mixpanel MixpanelLogger.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[20/29] Compiling Mixpanel MixpanelOptions.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[21/29] Compiling Mixpanel People.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[22/29] Compiling Mixpanel PrintLogging.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[23/29] Compiling Mixpanel ReadWriteLock.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[24/29] Compiling Mixpanel MixpanelPersistence.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[25/29] Compiling Mixpanel MixpanelType.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[26/29] Compiling Mixpanel Network.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[27/29] Compiling Mixpanel JSONHandler.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[28/29] Compiling Mixpanel MPDB.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[29/29] Compiling Mixpanel Mixpanel.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/24] Compiling Mixpanel Flush.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[3/24] Compiling Mixpanel FlushRequest.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[4/24] Compiling Mixpanel Group.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/24] Emitting module Mixpanel
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[6/24] Compiling Mixpanel AutomaticEvents.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[7/24] Compiling Mixpanel AutomaticProperties.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[8/24] Compiling Mixpanel Constants.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[9/24] Compiling Mixpanel Data+Compression.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[10/24] Compiling Mixpanel Error.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[11/24] Compiling Mixpanel FeatureFlags.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[12/24] Compiling Mixpanel FileLogging.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[13/24] Compiling Mixpanel People.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[14/24] Compiling Mixpanel PrintLogging.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[15/24] Compiling Mixpanel ReadWriteLock.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[16/24] Compiling Mixpanel MixpanelPersistence.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[17/24] Compiling Mixpanel MixpanelType.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[18/24] Compiling Mixpanel Network.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[19/24] Compiling Mixpanel MixpanelInstance.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[20/24] Compiling Mixpanel MixpanelLogger.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[21/24] Compiling Mixpanel MixpanelOptions.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[22/24] Compiling Mixpanel JSONHandler.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[23/24] Compiling Mixpanel MPDB.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[24/24] Compiling Mixpanel Mixpanel.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[25/27] Compiling Mixpanel SessionMetadata.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[26/27] Compiling Mixpanel Track.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
[27/27] Compiling Mixpanel resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Constants.swift:12:10: error: no such module 'UIKit'
10 |
11 | #if !os(OSX)
12 |   import UIKit
   |          `- error: no such module 'UIKit'
13 | #endif  // !os(OSX)
14 |
BUILD FAILURE 6.1 linux