The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Carting with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-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.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/tuist/xcodeproj.git
Fetching https://github.com/JohnSundell/ShellOut.git
[1/678] Fetching shellout
[490/2083] Fetching shellout, pathkit
Fetched https://github.com/kylef/PathKit (0.25s)
Fetching https://github.com/kylef/Spectre.git
[1/19898] Fetching xcodeproj
[5772/20919] Fetching xcodeproj, spectre
Fetched https://github.com/kylef/Spectre.git (0.24s)
Fetching https://github.com/apple/swift-argument-parser
[9154/19898] Fetching xcodeproj
[16318/30742] Fetching xcodeproj, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.70s)
Fetching https://github.com/JohnSundell/Files.git
[1/1231] Fetching files
Fetched https://github.com/JohnSundell/ShellOut.git (1.40s)
Fetching https://github.com/tuist/Shell
Fetched https://github.com/tuist/xcodeproj.git (1.44s)
Fetching https://github.com/tadija/AEXML
warning: 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
Fetched https://github.com/JohnSundell/Files.git (0.30s)
Computing version for https://github.com/tuist/xcodeproj.git
[1/2026] Fetching aexml
Fetched https://github.com/tadija/AEXML (0.28s)
Computed https://github.com/tuist/xcodeproj.git at 7.17.0 (0.29s)
Fetching https://github.com/tuist/XcodeProjCExt
[1/100] Fetching xcodeprojcext
Fetched https://github.com/tuist/XcodeProjCExt (0.22s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.1 (0.28s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.2.0 (1.04s)
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.32s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.4.0 (0.34s)
Computing version for https://github.com/tuist/XcodeProjCExt
Computed https://github.com/tuist/XcodeProjCExt at 0.1.0 (0.32s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.29s)
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/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/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.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/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 3.1.0
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.4.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.7 linux

Build Machine: Linux 2