The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PostHog with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-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.8
Building package at path:  $workDir
https://github.com/PostHog/posthog-ios.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-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/Quick/Nimble.git
[1/1247] Fetching cwlpreconditiontesting
[1248/15732] Fetching cwlpreconditiontesting, quick
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.65s)
Fetched https://github.com/Quick/Quick.git (0.65s)
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
[1/18630] Fetching nimble
[12111/19069] Fetching nimble, cwlcatchexception
[13668/26946] Fetching nimble, cwlcatchexception, ohhttpstubs
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.29s)
[19209/26507] Fetching nimble, ohhttpstubs
Fetched https://github.com/AliSoftware/OHHTTPStubs.git (0.76s)
[17885/18630] Fetching nimble
Fetched https://github.com/Quick/Nimble.git (2.19s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (0.40s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 12.3.0 (0.39s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 6.1.0 (1.03s)
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.37s)
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
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/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.1.2
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.2
Building for debugging...
[0/1] Copying PrivacyInfo.xcprivacy
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/45] Compiling PostHog PostHogEvent.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[4/45] Compiling PostHog PostHogApi.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[5/45] Compiling PostHog PostHogBatchUploadInfo.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[6/45] Compiling PostHog PostHogConfig.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[7/45] Compiling PostHog PostHogConsumerPayload.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[8/45] 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 RRWireframe.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[10/45] Compiling PostHog String+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[11/45] Compiling PostHog UIApplicationTracker.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[12/45] Compiling PostHog UIColor+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[13/45] Compiling PostHog UITextInputTraits+Util.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 PostHogSessionManager.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[20/45] Compiling PostHog PostHogStorage.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[21/45] Compiling PostHog PostHogSwizzler.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[22/45] Compiling PostHog PostHogVersion.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[23/45] Compiling PostHog CGColor+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[24/45] Compiling PostHog Date+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[25/45] Compiling PostHog FileUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[26/45] Compiling PostHog Hedgelog.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[27/45] Compiling PostHog Reachability.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[28/45] Compiling PostHog ReadWriteLock.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[29/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
           ^
[30/45] Compiling PostHog UIViewController.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[31/45] Compiling PostHog Data+Gzip.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[32/45] Compiling PostHog DateUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[33/45] Compiling PostHog DictUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[34/45] Compiling PostHog Errors.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[35/45] Compiling PostHog UIView+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[36/45] Compiling PostHog URLSessionInterceptor.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[37/45] Compiling PostHog URLSessionSwizzler.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[38/45] Compiling PostHog ViewLayoutTracker.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[39/45] Compiling PostHog ViewTreeSnapshotStatus.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[40/45] Compiling PostHog PostHogExtensions.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[41/45] Compiling PostHog PostHogFeatureFlags.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[42/45] Compiling PostHog PostHogFileBackedQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[43/45] Compiling PostHog PostHogLegacyQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[44/45] Compiling PostHog PostHogQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[45/45] Compiling PostHog PostHogSDK.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[0/1] Planning build
Building for debugging...
[1/39] Compiling PostHog MethodSwizzler.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[2/39] Compiling PostHog NetworkSample.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[3/39] Compiling PostHog PostHogReplayIntegration.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[4/39] Compiling PostHog PostHogSessionReplayConfig.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[5/39] Compiling PostHog RRStyle.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[6/44] Compiling PostHog RRWireframe.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[7/44] Compiling PostHog String+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[8/44] Compiling PostHog UIApplicationTracker.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[9/44] Compiling PostHog UIColor+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[10/44] Compiling PostHog UITextInputTraits+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[11/44] Compiling PostHog PostHogSessionManager.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[12/44] Compiling PostHog PostHogStorage.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[13/44] Compiling PostHog PostHogSwizzler.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[14/44] Compiling PostHog PostHogVersion.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[15/44] Compiling PostHog CGColor+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[16/44] Compiling PostHog Date+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[17/44] Compiling PostHog PostHogEvent.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[18/44] Compiling PostHog PostHogApi.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[19/44] Compiling PostHog PostHogBatchUploadInfo.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[20/44] Compiling PostHog PostHogConfig.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[21/44] Compiling PostHog PostHogConsumerPayload.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[22/44] Compiling PostHog PostHogContext.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)
[23/44] Emitting module PostHog
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[24/44] Compiling PostHog FileUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[25/44] Compiling PostHog Hedgelog.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[26/44] Compiling PostHog Reachability.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[27/44] Compiling PostHog ReadWriteLock.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[28/44] Compiling PostHog resource_bundle_accessor.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[29/44] Compiling PostHog PostHogExtensions.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[30/44] Compiling PostHog PostHogFeatureFlags.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[31/44] Compiling PostHog PostHogFileBackedQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[32/44] Compiling PostHog PostHogLegacyQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[33/44] Compiling PostHog PostHogQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[34/44] Compiling PostHog PostHogSDK.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[35/44] Compiling PostHog UIViewController.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[36/44] Compiling PostHog Data+Gzip.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[37/44] Compiling PostHog DateUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[38/44] Compiling PostHog DictUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[39/44] Compiling PostHog Errors.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[40/44] Compiling PostHog UIView+Util.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[41/44] Compiling PostHog URLSessionInterceptor.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[42/44] Compiling PostHog URLSessionSwizzler.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[43/44] Compiling PostHog ViewLayoutTracker.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[44/44] Compiling PostHog ViewTreeSnapshotStatus.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
BUILD FAILURE 5.8 linux

Build Machine: Linux 2