The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Carting with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/JohnSundell/Files.git
Fetching https://github.com/tuist/Shell
[1/1231] Fetching files
[1232/3257] Fetching files, aexml
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
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/JohnSundell/ShellOut.git
Fetched https://github.com/JohnSundell/Files.git (0.27s)
Fetched https://github.com/tadija/AEXML (0.27s)
Fetching https://github.com/apple/swift-argument-parser
[1/678] Fetching shellout
[585/2083] Fetching shellout, pathkit
Fetched https://github.com/JohnSundell/ShellOut.git (0.26s)
Fetching https://github.com/tuist/xcodeproj.git
Fetched https://github.com/kylef/PathKit (0.27s)
Fetching https://github.com/kylef/Spectre.git
[1/10844] Fetching swift-argument-parser
[1303/11865] Fetching swift-argument-parser, spectre
Fetched https://github.com/kylef/Spectre.git (0.21s)
[9652/10844] Fetching swift-argument-parser
[10845/30742] Fetching swift-argument-parser, xcodeproj
Fetched https://github.com/apple/swift-argument-parser (0.63s)
[7562/19898] Fetching xcodeproj
Fetched https://github.com/tuist/xcodeproj.git (1.29s)
Computing version for https://github.com/tuist/xcodeproj.git
Computed https://github.com/tuist/xcodeproj.git at 7.17.0 (0.33s)
Fetching https://github.com/tuist/XcodeProjCExt
[1/100] Fetching xcodeprojcext
Fetched https://github.com/tuist/XcodeProjCExt (0.20s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.1 (0.31s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.2.0 (2.08s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 3.1.0 (0.62s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.0 (0.60s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.4.0 (0.35s)
Computing version for https://github.com/tuist/XcodeProjCExt
Computed https://github.com/tuist/XcodeProjCExt at 0.1.0 (0.26s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.26s)
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/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/XcodeProjCExt
Working copy of https://github.com/tuist/XcodeProjCExt resolved at 0.1.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/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.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
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/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.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.9 linux

Build Machine: Linux 1