The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TelemetryClient with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.28.7
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/TelemetryDeck/SwiftClient.git
Reference: 1.5.1
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/TelemetryDeck/SwiftClient
 * tag               1.5.1      -> FETCH_HEAD
HEAD is now at d20ccc4 Bump Version to 1.5.1
Cloned https://github.com/TelemetryDeck/SwiftClient.git
Revision (git rev-parse @):
d20ccc4b8266cf739eede58cdfc7e9c6ffb41cda
SUCCESS checkout https://github.com/TelemetryDeck/SwiftClient.git at 1.5.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $PWD/checkout
https://github.com/TelemetryDeck/SwiftClient.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Building for debugging...
[0/1] Copying PrivacyInfo.xcprivacy
[2/10] Compiling TelemetryClient SignalManager.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[3/10] Compiling TelemetryClient SignalEnricher.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[4/11] Compiling TelemetryClient resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/11] Emitting module TelemetryClient
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[6/11] Compiling TelemetryClient CryptoHashing.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[7/11] Compiling TelemetryClient JSONFormatting.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[8/11] Compiling TelemetryClient TelemetryClient.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[9/11] Compiling TelemetryClient SignalCache.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[10/11] Compiling TelemetryClient LogHandler.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[11/11] Compiling TelemetryClient Signal.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[0/1] Planning build
Building for debugging...
[1/9] Compiling TelemetryClient SignalCache.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/10] Emitting module TelemetryClient
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[3/10] Compiling TelemetryClient SignalManager.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[4/10] Compiling TelemetryClient SignalEnricher.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[5/10] Compiling TelemetryClient TelemetryClient.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[6/10] Compiling TelemetryClient resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[7/10] Compiling TelemetryClient Signal.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[8/10] Compiling TelemetryClient LogHandler.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[9/10] Compiling TelemetryClient CryptoHashing.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[10/10] Compiling TelemetryClient JSONFormatting.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
BUILD FAILURE 5.8 linux

Build Machine: Linux 1