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-4609320-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.32.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PostHog/posthog-ios.git
Reference: 3.2.4
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.2.4      -> FETCH_HEAD
HEAD is now at d127599 Update version
Cloned https://github.com/PostHog/posthog-ios.git
Revision (git rev-parse @):
d127599034e08f12f340e5e2da13090a894d55d6
SUCCESS checkout https://github.com/PostHog/posthog-ios.git at 3.2.4
========================================
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-4609320-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/Quick/Nimble.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
[1/439] Fetching cwlcatchexception
[440/8316] Fetching cwlcatchexception, ohhttpstubs
[1465/9563] Fetching cwlcatchexception, ohhttpstubs, cwlpreconditiontesting
[3097/23844] Fetching cwlcatchexception, ohhttpstubs, cwlpreconditiontesting, quick
Fetched https://github.com/AliSoftware/OHHTTPStubs.git from cache (0.51s)
[1/17427] Fetching nimble
Fetched https://github.com/Quick/Quick.git from cache (0.73s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (1.58s)
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (1.58s)
Fetched https://github.com/Quick/Nimble.git from cache (1.60s)
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.43s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 6.1.0 (0.43s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.2 (0.41s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.2 (0.41s)
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/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/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/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 PostHog
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[5/29] Compiling PostHog Errors.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[6/29] Compiling PostHog FileUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[7/29] Compiling PostHog Hedgelog.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[8/29] Compiling PostHog PostHogStorage.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[9/29] Compiling PostHog PostHogVersion.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[10/29] Compiling PostHog UIViewController.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[11/29] Compiling PostHog PostHogQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[12/29] Compiling PostHog PostHogSDK.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[13/29] Compiling PostHog PostHogSessionManager.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[14/29] Compiling PostHog PostHogConsumerPayload.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[15/29] Compiling PostHog PostHogContext.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[16/29] Compiling PostHog PostHogExtensions.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[17/29] Compiling PostHog Data+Gzip.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[18/29] Compiling PostHog DateUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[19/29] Compiling PostHog DictUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[20/29] Compiling PostHog PostHogFeatureFlags.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[21/29] Compiling PostHog PostHogFileBackedQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[22/29] Compiling PostHog PostHogLegacyQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[23/29] Compiling PostHog Reachability.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[24/29] Compiling PostHog ReadWriteLock.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[25/29] Compiling PostHog resource_bundle_accessor.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[26/29] Compiling PostHog PostHogEvent.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[27/29] Compiling PostHog PostHogApi.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[28/29] Compiling PostHog PostHogBatchUploadInfo.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[29/29] Compiling PostHog PostHogConfig.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/24] Compiling PostHog Errors.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[3/24] Compiling PostHog FileUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[4/24] Compiling PostHog Hedgelog.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[5/27] Compiling PostHog PostHogStorage.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[6/27] Compiling PostHog PostHogVersion.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[7/27] Compiling PostHog UIViewController.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[8/27] Compiling PostHog PostHogConsumerPayload.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[9/27] Compiling PostHog PostHogContext.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[10/27] Compiling PostHog PostHogExtensions.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)
[11/27] Emitting module PostHog
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[12/27] Compiling PostHog PostHogEvent.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[13/27] Compiling PostHog PostHogApi.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[14/27] Compiling PostHog PostHogBatchUploadInfo.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[15/27] Compiling PostHog PostHogConfig.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[16/27] Compiling PostHog PostHogFeatureFlags.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[17/27] Compiling PostHog PostHogFileBackedQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[18/27] Compiling PostHog PostHogLegacyQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[19/27] Compiling PostHog Reachability.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[20/27] Compiling PostHog ReadWriteLock.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[21/27] Compiling PostHog resource_bundle_accessor.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[22/27] Compiling PostHog Data+Gzip.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[23/27] Compiling PostHog DateUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[24/27] Compiling PostHog DictUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[25/27] Compiling PostHog PostHogQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[26/27] Compiling PostHog PostHogSDK.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[27/27] Compiling PostHog PostHogSessionManager.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 2