The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TelemetryClient with Swift 5.7 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.33.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/TelemetryDeck/SwiftClient.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/TelemetryDeck/SwiftClient
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ab7455c Replace fatalError with assertionFailure (#146)
Cloned https://github.com/TelemetryDeck/SwiftClient.git
Revision (git rev-parse @):
ab7455cc763da7f0b9d8803682a362ac78aafdec
SUCCESS checkout https://github.com/TelemetryDeck/SwiftClient.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  $workDir
https://github.com/TelemetryDeck/SwiftClient.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
[0/1] Copying PrivacyInfo.xcprivacy
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 CryptoHashing.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[4/10] Compiling TelemetryClient JSONFormatting.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/11] Compiling TelemetryClient SignalManager.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[7/11] Compiling TelemetryClient Signal.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[8/11] Compiling TelemetryClient SignalCache.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[9/11] Compiling TelemetryClient SignalEnricher.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 resource_bundle_accessor.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
       ^
[2/10] Compiling TelemetryClient TelemetryClient.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)[3/10] Emitting module TelemetryClient
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[4/10] Compiling TelemetryClient Signal.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[5/10] Compiling TelemetryClient LogHandler.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[6/10] Compiling TelemetryClient CryptoHashing.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[7/10] Compiling TelemetryClient JSONFormatting.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[8/10] Compiling TelemetryClient SignalManager.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[9/10] Compiling TelemetryClient resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
[10/10] Compiling TelemetryClient SignalEnricher.swift
/host/spi-builder-workspace/Sources/TelemetryClient/CryptoHashing.swift:4:8: error: no such module 'CommonCrypto'
import CommonCrypto
       ^
BUILD FAILURE 5.7 linux

Build Machine: Linux 2