Build Information
Failed to build Mixpanel, reference master (671496
), with Swift 6.0 for Linux on 25 Apr 2025 15:01:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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 6714969 Update CHANGELOG
Cloned https://github.com/mixpanel/mixpanel-swift.git
Revision (git rev-parse @):
6714969ad44cc1a6537a0f132dd4d0251ad3b599
SUCCESS checkout https://github.com/mixpanel/mixpanel-swift.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/mixpanel/mixpanel-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/3] Write sources
[0/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/25] Emitting module Mixpanel
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
[5/27] Compiling Mixpanel Track.swift
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
[6/27] Compiling Mixpanel resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
[7/27] Compiling Mixpanel Data+Compression.swift
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
[8/27] Compiling Mixpanel Error.swift
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
[9/27] Compiling Mixpanel FileLogging.swift
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
[10/27] Compiling Mixpanel AutomaticEvents.swift
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
[11/27] Compiling Mixpanel AutomaticProperties.swift
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
[12/27] Compiling Mixpanel Constants.swift
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
[13/27] Compiling Mixpanel MixpanelType.swift
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
[14/27] Compiling Mixpanel Network.swift
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
[15/27] Compiling Mixpanel People.swift
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
[16/27] Compiling Mixpanel Flush.swift
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
[17/27] Compiling Mixpanel FlushRequest.swift
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
[18/27] Compiling Mixpanel Group.swift
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
[19/27] Compiling Mixpanel MixpanelInstance.swift
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
[20/27] Compiling Mixpanel MixpanelLogger.swift
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
[21/27] Compiling Mixpanel MixpanelPersistence.swift
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
[22/27] Compiling Mixpanel PrintLogging.swift
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
[23/27] Compiling Mixpanel ReadWriteLock.swift
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
[24/27] Compiling Mixpanel SessionMetadata.swift
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
[25/27] Compiling Mixpanel JSONHandler.swift
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
[26/27] Compiling Mixpanel MPDB.swift
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
[27/27] Compiling Mixpanel Mixpanel.swift
/host/spi-builder-workspace/Sources/Constants.swift:11:8: error: no such module 'UIKit'
9 | import Foundation
10 | #if !os(OSX)
11 | import UIKit
| `- error: no such module 'UIKit'
12 | #endif // !os(OSX)
13 |
BUILD FAILURE 6.0 linux