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-4609320-1":/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.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/artemnovichkov/carting.git
Reference: master
Cloned https://github.com/artemnovichkov/carting.git into spi-builder-workspace
SUCCESS checkout https://github.com/artemnovichkov/carting.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
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.9-latest swift build 2>&1
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/tuist/xcodeproj.git
Fetching https://github.com/tadija/AEXML
[1/1405] Fetching pathkit
[929/3431] Fetching pathkit, aexml
[3432/22819] Fetching pathkit, aexml, xcodeproj
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/JohnSundell/Files.git
Fetched https://github.com/kylef/PathKit (1.22s)
Fetched https://github.com/tadija/AEXML (1.22s)
Fetched https://github.com/tuist/xcodeproj.git (1.24s)
Fetching https://github.com/apple/swift-argument-parser
[1/572] Fetching shellout
[573/1803] Fetching shellout, files
Fetched https://github.com/JohnSundell/ShellOut.git (0.30s)
Fetching https://github.com/tuist/Shell
Fetched https://github.com/JohnSundell/Files.git (0.30s)
Fetching https://github.com/kylef/Spectre.git
[1/10775] Fetching swift-argument-parser
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
[10345/11796] Fetching swift-argument-parser, spectre
Fetched https://github.com/kylef/Spectre.git (0.27s)
Fetched https://github.com/apple/swift-argument-parser (0.63s)
Computing version for https://github.com/tuist/xcodeproj.git
Computed https://github.com/tuist/xcodeproj.git at 7.17.0 (0.31s)
Fetching https://github.com/tuist/XcodeProjCExt
Fetched https://github.com/tuist/XcodeProjCExt (0.25s)
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.10s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 3.1.0 (0.30s)
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.28s)
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/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/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.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/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/XcodeProjCExt
Working copy of https://github.com/tuist/XcodeProjCExt resolved at 0.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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.0.1
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 2