The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PostHog with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PostHog/posthog-ios.git
Reference: 3.3.0-alpha.2
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/PostHog/posthog-ios
 * tag               3.3.0-alpha.2 -> FETCH_HEAD
HEAD is now at a12c341 Update version
Cloned https://github.com/PostHog/posthog-ios.git
Revision (git rev-parse @):
a12c3418f0f38511b8dc3d8cfb572681785ecf62
SUCCESS checkout https://github.com/PostHog/posthog-ios.git at 3.3.0-alpha.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/PostHog/posthog-ios.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
Fetching https://github.com/Quick/Nimble.git
[1/439] Fetching cwlcatchexception
[392/1686] Fetching cwlcatchexception, cwlpreconditiontesting
[1639/9563] Fetching cwlcatchexception, cwlpreconditiontesting, ohhttpstubs
[2664/24048] Fetching cwlcatchexception, cwlpreconditiontesting, ohhttpstubs, quick
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.49s)
Fetched https://github.com/AliSoftware/OHHTTPStubs.git from cache (0.49s)
[1/18630] Fetching nimble
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (1.54s)
Fetched https://github.com/Quick/Quick.git from cache (1.55s)
Fetched https://github.com/Quick/Nimble.git from cache (1.56s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (0.42s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 12.3.0 (0.40s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 6.1.0 (0.49s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.2 (0.39s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.2 (0.40s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.2
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.1.2
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 12.3.0
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs.git
Working copy of https://github.com/AliSoftware/OHHTTPStubs.git resolved at 9.1.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 6.1.0
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/42] Emitting module PostHog
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[5/47] Compiling PostHog PostHogEvent.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[6/47] Compiling PostHog PostHogApi.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[7/47] Compiling PostHog PostHogBatchUploadInfo.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[8/47] Compiling PostHog PostHogConfig.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[9/47] Compiling PostHog PostHogConsumerPayload.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[10/47] Compiling PostHog PostHogContext.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[11/47] Compiling PostHog UIView+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[12/47] Compiling PostHog URLSessionInterceptor.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[13/47] Compiling PostHog URLSessionSwizzler.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[14/47] Compiling PostHog ViewLayoutTracker.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[15/47] Compiling PostHog ViewTreeSnapshotStatus.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[16/47] Compiling PostHog RRWireframe.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[17/47] Compiling PostHog String+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[18/47] Compiling PostHog UIApplicationTracker.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[19/47] Compiling PostHog UIColor+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[20/47] Compiling PostHog UITextInputTraits+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[21/47] Compiling PostHog PostHogExtensions.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[22/47] Compiling PostHog PostHogFeatureFlags.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[23/47] Compiling PostHog PostHogFileBackedQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[24/47] Compiling PostHog PostHogLegacyQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[25/47] Compiling PostHog PostHogQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[26/47] Compiling PostHog PostHogSDK.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[27/47] Compiling PostHog FileUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[28/47] Compiling PostHog Hedgelog.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[29/47] Compiling PostHog Reachability.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[30/47] Compiling PostHog ReadWriteLock.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[31/47] Compiling PostHog resource_bundle_accessor.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[32/47] Compiling PostHog MethodSwizzler.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[33/47] Compiling PostHog NetworkSample.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[34/47] Compiling PostHog PostHogReplayIntegration.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[35/47] Compiling PostHog PostHogSessionReplayConfig.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[36/47] Compiling PostHog RRStyle.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[37/47] Compiling PostHog PostHogSessionManager.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[38/47] Compiling PostHog PostHogStorage.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[39/47] Compiling PostHog PostHogSwizzler.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[40/47] Compiling PostHog PostHogVersion.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[41/47] Compiling PostHog CGColor+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[42/47] Compiling PostHog Date+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[43/47] Compiling PostHog UIViewController.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[44/47] Compiling PostHog Data+Gzip.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[45/47] Compiling PostHog DateUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[46/47] Compiling PostHog DictUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[47/47] Compiling PostHog Errors.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/40] Compiling PostHog UIView+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[3/40] Compiling PostHog URLSessionInterceptor.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[4/40] Compiling PostHog URLSessionSwizzler.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[5/40] Compiling PostHog ViewLayoutTracker.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[6/40] Compiling PostHog ViewTreeSnapshotStatus.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[7/40] Compiling PostHog RRWireframe.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[8/40] Compiling PostHog String+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[9/40] Compiling PostHog UIApplicationTracker.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[10/40] Compiling PostHog UIColor+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[11/40] Compiling PostHog UITextInputTraits+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[12/40] Compiling PostHog MethodSwizzler.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[13/40] Compiling PostHog NetworkSample.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[14/40] Compiling PostHog PostHogReplayIntegration.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[15/40] Compiling PostHog PostHogSessionReplayConfig.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[16/40] Compiling PostHog RRStyle.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/45] Emitting module PostHog
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[18/45] Compiling PostHog PostHogExtensions.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[19/45] Compiling PostHog PostHogFeatureFlags.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[20/45] Compiling PostHog PostHogFileBackedQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[21/45] Compiling PostHog PostHogLegacyQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[22/45] Compiling PostHog PostHogQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[23/45] Compiling PostHog PostHogSDK.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[24/45] Compiling PostHog PostHogEvent.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[25/45] Compiling PostHog PostHogApi.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[26/45] Compiling PostHog PostHogBatchUploadInfo.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[27/45] Compiling PostHog PostHogConfig.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[28/45] Compiling PostHog PostHogConsumerPayload.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[29/45] Compiling PostHog PostHogContext.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[30/45] Compiling PostHog FileUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[31/45] Compiling PostHog Hedgelog.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[32/45] Compiling PostHog Reachability.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[33/45] Compiling PostHog ReadWriteLock.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[34/45] Compiling PostHog resource_bundle_accessor.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[35/45] Compiling PostHog UIViewController.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[36/45] Compiling PostHog Data+Gzip.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[37/45] Compiling PostHog DateUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[38/45] Compiling PostHog DictUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[39/45] Compiling PostHog Errors.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[40/45] Compiling PostHog PostHogSessionManager.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[41/45] Compiling PostHog PostHogStorage.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[42/45] Compiling PostHog PostHogSwizzler.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[43/45] Compiling PostHog PostHogVersion.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[44/45] Compiling PostHog CGColor+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[45/45] Compiling PostHog Date+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1