The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Carting with Swift 5.10 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/artemnovichkov/carting.git
Reference: master
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/artemnovichkov/carting
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f6d0493 Update README.md
Cloned https://github.com/artemnovichkov/carting.git
Revision (git rev-parse @):
f6d0493ead1dea06b9f64cf3419d116b4fc6f21f
SUCCESS checkout https://github.com/artemnovichkov/carting.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/artemnovichkov/carting.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/tuist/Shell
Fetching https://github.com/tuist/xcodeproj.git
[1/1021] Fetching spectre
[971/1977] Fetching spectre, shellout
[1147/4072] Fetching spectre, shellout, aexml
Fetched https://github.com/kylef/Spectre.git from cache (0.34s)
Fetching https://github.com/kylef/PathKit
[1/20373] Fetching xcodeproj
[4687/31799] Fetching xcodeproj, swift-argument-parser
[10813/33203] Fetching xcodeproj, swift-argument-parser, pathkit
Fetched https://github.com/kylef/PathKit from cache (0.25s)
Fetching https://github.com/JohnSundell/Files.git
[20064/31799] Fetching xcodeproj, swift-argument-parser
[28948/33030] Fetching xcodeproj, swift-argument-parser, files
Fetched https://github.com/JohnSundell/Files.git from cache (0.97s)
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-299454a5'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
Fetched https://github.com/JohnSundell/ShellOut.git from cache (1.60s)
Fetched https://github.com/tadija/AEXML from cache (1.60s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.60s)
Fetched https://github.com/tuist/xcodeproj.git from cache (1.63s)
Computing version for https://github.com/tuist/xcodeproj.git
Computed https://github.com/tuist/xcodeproj.git at 7.17.0 (0.57s)
Fetching https://github.com/tuist/XcodeProjCExt
[1/100] Fetching xcodeprojcext
Fetched https://github.com/tuist/XcodeProjCExt from cache (0.23s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.1 (0.92s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.2.0 (1.35s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 3.1.0 (0.47s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.0 (0.44s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.4.0 (0.51s)
Computing version for https://github.com/tuist/XcodeProjCExt
Computed https://github.com/tuist/XcodeProjCExt at 0.1.0 (0.47s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.53s)
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/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
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/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/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...
[0/21] Write sources
/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.
[8/21] Compiling XcodeProjCExt XCPHashing.c
[8/21] Compiling XcodeProjCExt XCPStringEscape.c
[8/21] Write swift-version-24593BA9C3E375BF.txt
warning: 'spi-builder-workspace': ignoring duplicate product 'Carting'
[0/1] Planning build
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/13] Compiling XcodeProjCExt XCPHashing.c
[0/13] Compiling XcodeProjCExt XCPStringEscape.c
[0/13] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux

Build Machine: Linux 2