The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Carting with Swift 5.8 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/artemnovichkov/carting.git
Reference: 2.1.6
Cloned https://github.com/artemnovichkov/carting.git into spi-builder-workspace
SUCCESS checkout https://github.com/artemnovichkov/carting.git at 2.1.6
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/JohnSundell/Files.git
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/tuist/xcodeproj.git
[1/1231] Fetching files
[1232/3257] Fetching files, aexml
Fetching https://github.com/kylef/Spectre.git
Fetched https://github.com/JohnSundell/Files.git (0.27s)
Fetched https://github.com/tadija/AEXML (0.27s)
Fetching https://github.com/kylef/PathKit
[1/19898] Fetching xcodeproj
[5573/20919] Fetching xcodeproj, spectre
[6630/22324] Fetching xcodeproj, spectre, pathkit
Fetched https://github.com/kylef/Spectre.git (0.25s)
Fetching https://github.com/JohnSundell/ShellOut.git
[9763/21303] Fetching xcodeproj, pathkit
Fetched https://github.com/kylef/PathKit (0.25s)
Fetching https://github.com/apple/swift-argument-parser
[8557/19898] Fetching xcodeproj
[19899/30742] Fetching xcodeproj, swift-argument-parser
Fetched https://github.com/tuist/xcodeproj.git (1.51s)
Fetching https://github.com/tuist/Shell
Fetched https://github.com/apple/swift-argument-parser (1.00s)
warning: 'shell': skipping cache due to an error: Failed to clone repository https://github.com/tuist/Shell:
    Cloning into bare repository '/root/.cache/org.swift.swiftpm/repositories/Shell-b87622c0'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
[1/678] Fetching shellout
Fetched https://github.com/JohnSundell/ShellOut.git (1.27s)
Computing version for https://github.com/tuist/xcodeproj.git
Computed https://github.com/tuist/xcodeproj.git at 7.17.0 (0.34s)
Fetching https://github.com/tuist/XcodeProjCExt
[1/100] Fetching xcodeprojcext
Fetched https://github.com/tuist/XcodeProjCExt (0.30s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.1 (0.33s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.2.0 (1.11s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 3.1.0 (0.29s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.0 (0.30s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.4.0 (0.31s)
Computing version for https://github.com/tuist/XcodeProjCExt
Computed https://github.com/tuist/XcodeProjCExt at 0.1.0 (0.33s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.30s)
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.2.0
Creating working copy for https://github.com/tuist/xcodeproj.git
Working copy of https://github.com/tuist/xcodeproj.git resolved at 7.17.0
Creating working copy for https://github.com/tuist/XcodeProjCExt
Working copy of https://github.com/tuist/XcodeProjCExt resolved at 0.1.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.0.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.0
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.4.0
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.0
Creating working copy for https://github.com/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 3.1.0
warning: 'spi-builder-workspace': ignoring duplicate product 'Carting'
Building for debugging...
/host/spi-builder-workspace/.build/checkouts/XcodeProjCExt/Sources/XcodeProjCExt/XCPHashing.c:9:10: fatal error: 'CommonCrypto/CommonCrypto.h' file not found
#include <CommonCrypto/CommonCrypto.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/11] Compiling XcodeProjCExt XCPHashing.c
[0/11] Compiling XcodeProjCExt XCPStringEscape.c
BUILD FAILURE 5.8 linux

Build Machine: Linux 2