The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PostHog with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.9
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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
[1/7877] Fetching ohhttpstubs
[1026/22158] Fetching ohhttpstubs, quick
[22017/22597] Fetching ohhttpstubs, quick, cwlcatchexception
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetched https://github.com/AliSoftware/OHHTTPStubs.git (0.67s)
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.73s)
Fetching https://github.com/Quick/Nimble.git
Fetched https://github.com/Quick/Quick.git (0.76s)
[1/1247] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.31s)
[1/17427] Fetching nimble
Fetched https://github.com/Quick/Nimble.git (1.26s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (0.36s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 12.3.0 (0.38s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 6.1.0 (0.37s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.2 (0.35s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.2 (0.36s)
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/1] Copying PrivacyInfo.xcprivacy
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/24] Emitting module PostHog
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[3/27] Compiling PostHog Reachability.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[4/27] Compiling PostHog ReadWriteLock.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[5/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
           ^
[6/27] Compiling PostHog PostHogConsumerPayload.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[7/27] Compiling PostHog PostHogContext.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[8/27] Compiling PostHog PostHogExtensions.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[9/27] Compiling PostHog PostHogStorage.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[10/27] Compiling PostHog PostHogVersion.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[11/27] Compiling PostHog UIViewController.swift
/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 PostHogQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[17/27] Compiling PostHog PostHogSDK.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[18/27] Compiling PostHog PostHogSessionManager.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[19/27] Compiling PostHog PostHogFeatureFlags.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[20/27] Compiling PostHog PostHogFileBackedQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[21/27] Compiling PostHog PostHogLegacyQueue.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 Errors.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[26/27] Compiling PostHog FileUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[27/27] Compiling PostHog Hedgelog.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...
[1/23] Compiling PostHog Errors.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[2/23] Compiling PostHog FileUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[3/23] Compiling PostHog Hedgelog.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)
[4/26] Emitting module PostHog
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[5/26] Compiling PostHog PostHogEvent.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[6/26] Compiling PostHog PostHogApi.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[7/26] Compiling PostHog PostHogBatchUploadInfo.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[8/26] Compiling PostHog PostHogConfig.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[9/26] Compiling PostHog PostHogFeatureFlags.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[10/26] Compiling PostHog PostHogFileBackedQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[11/26] Compiling PostHog PostHogLegacyQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[12/26] Compiling PostHog Reachability.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[13/26] Compiling PostHog ReadWriteLock.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[14/26] Compiling PostHog resource_bundle_accessor.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[15/26] Compiling PostHog PostHogConsumerPayload.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[16/26] Compiling PostHog PostHogContext.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[17/26] Compiling PostHog PostHogExtensions.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[18/26] Compiling PostHog PostHogQueue.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[19/26] Compiling PostHog PostHogSDK.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[20/26] Compiling PostHog PostHogSessionManager.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[21/26] Compiling PostHog PostHogStorage.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[22/26] Compiling PostHog PostHogVersion.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[23/26] Compiling PostHog UIViewController.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[24/26] Compiling PostHog Data+Gzip.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[25/26] Compiling PostHog DateUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
[26/26] Compiling PostHog DictUtils.swift
/host/spi-builder-workspace/PostHog/Utils/Data+Gzip.swift:35:12: error: no such module 'zlibLinux'
    import zlibLinux
           ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1