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-0":/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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-0":/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/Quick/Quick.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
[1/439] Fetching cwlcatchexception
[440/1686] Fetching cwlcatchexception, cwlpreconditiontesting
[1687/9563] Fetching cwlcatchexception, cwlpreconditiontesting, ohhttpstubs
[2633/24048] Fetching cwlcatchexception, cwlpreconditiontesting, ohhttpstubs, quick
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.27s)
[1609/22801] Fetching cwlcatchexception, ohhttpstubs, quick
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.46s)
Fetched https://github.com/AliSoftware/OHHTTPStubs.git from cache (0.46s)
Fetched https://github.com/Quick/Quick.git from cache (0.62s)
[1/18630] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (1.53s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (0.38s)
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.45s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.2 (0.38s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.2 (0.37s)
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/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/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] Copying PrivacyInfo.xcprivacy
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/42] Compiling PostHog UIViewController.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[5/42] Compiling PostHog Data+Gzip.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[6/42] Compiling PostHog DateUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[7/42] Compiling PostHog DictUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[8/42] Compiling PostHog Errors.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[9/42] Compiling PostHog UIView+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[10/42] Compiling PostHog URLSessionInterceptor.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[11/42] Compiling PostHog URLSessionSwizzler.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[12/42] Compiling PostHog ViewLayoutTracker.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[13/42] Compiling PostHog ViewTreeSnapshotStatus.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[14/42] Compiling PostHog PostHogSessionManager.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[15/42] Compiling PostHog PostHogStorage.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[16/42] Compiling PostHog PostHogSwizzler.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[17/42] Compiling PostHog PostHogVersion.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[18/42] Compiling PostHog CGColor+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[19/42] Compiling PostHog Date+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[20/42] Compiling PostHog MethodSwizzler.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[21/42] Compiling PostHog NetworkSample.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[22/42] Compiling PostHog PostHogReplayIntegration.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[23/42] Compiling PostHog PostHogSessionReplayConfig.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[24/42] Compiling PostHog RRStyle.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[25/42] Compiling PostHog RRWireframe.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[26/42] Compiling PostHog String+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[27/42] Compiling PostHog UIApplicationTracker.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[28/42] Compiling PostHog UIColor+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[29/42] Compiling PostHog UITextInputTraits+Util.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)
[30/47] Emitting module PostHog
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[31/47] Compiling PostHog PostHogEvent.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[32/47] Compiling PostHog PostHogApi.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[33/47] Compiling PostHog PostHogBatchUploadInfo.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[34/47] Compiling PostHog PostHogConfig.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[35/47] Compiling PostHog PostHogConsumerPayload.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[36/47] Compiling PostHog PostHogContext.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[37/47] Compiling PostHog PostHogExtensions.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[38/47] Compiling PostHog PostHogFeatureFlags.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[39/47] Compiling PostHog PostHogFileBackedQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[40/47] Compiling PostHog PostHogLegacyQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[41/47] Compiling PostHog PostHogQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[42/47] Compiling PostHog PostHogSDK.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[43/47] Compiling PostHog FileUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[44/47] Compiling PostHog Hedgelog.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[45/47] Compiling PostHog Reachability.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[46/47] Compiling PostHog ReadWriteLock.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[47/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
           ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/40] Emitting module PostHog
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[3/40] Compiling PostHog PostHogEvent.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[4/40] Compiling PostHog PostHogApi.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[5/40] Compiling PostHog PostHogBatchUploadInfo.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[6/40] Compiling PostHog PostHogConfig.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[7/40] Compiling PostHog PostHogConsumerPayload.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[8/40] Compiling PostHog PostHogContext.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[9/45] Compiling PostHog UIViewController.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[10/45] Compiling PostHog Data+Gzip.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[11/45] Compiling PostHog DateUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[12/45] Compiling PostHog DictUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[13/45] Compiling PostHog Errors.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[14/45] Compiling PostHog MethodSwizzler.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[15/45] Compiling PostHog NetworkSample.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[16/45] Compiling PostHog PostHogReplayIntegration.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[17/45] Compiling PostHog PostHogSessionReplayConfig.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[18/45] Compiling PostHog RRStyle.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[19/45] Compiling PostHog UIView+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[20/45] Compiling PostHog URLSessionInterceptor.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[21/45] Compiling PostHog URLSessionSwizzler.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[22/45] Compiling PostHog ViewLayoutTracker.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[23/45] Compiling PostHog ViewTreeSnapshotStatus.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[24/45] Compiling PostHog PostHogSessionManager.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[25/45] Compiling PostHog PostHogStorage.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[26/45] Compiling PostHog PostHogSwizzler.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[27/45] Compiling PostHog PostHogVersion.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[28/45] Compiling PostHog CGColor+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[29/45] Compiling PostHog Date+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[30/45] Compiling PostHog RRWireframe.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[31/45] Compiling PostHog String+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[32/45] Compiling PostHog UIApplicationTracker.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[33/45] Compiling PostHog UIColor+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[34/45] Compiling PostHog UITextInputTraits+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[35/45] Compiling PostHog PostHogExtensions.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[36/45] Compiling PostHog PostHogFeatureFlags.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[37/45] Compiling PostHog PostHogFileBackedQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[38/45] Compiling PostHog PostHogLegacyQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[39/45] Compiling PostHog PostHogQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[40/45] Compiling PostHog PostHogSDK.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[41/45] Compiling PostHog FileUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[42/45] Compiling PostHog Hedgelog.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[43/45] Compiling PostHog Reachability.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[44/45] Compiling PostHog ReadWriteLock.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[45/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
           ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1