The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftCrypto with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-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/jernejstrasner/swiftcrypto.git
Reference: 1.0.3
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/jernejstrasner/swiftcrypto
 * tag               1.0.3      -> FETCH_HEAD
HEAD is now at 2ebc58f Added method for providing Data keys directly
Cloned https://github.com/jernejstrasner/swiftcrypto.git
Revision (git rev-parse @):
2ebc58fa75de1c7d4ef884c609a81398c01655d7
SUCCESS checkout https://github.com/jernejstrasner/swiftcrypto.git at 1.0.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/jernejstrasner/swiftcrypto.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/jernejstrasner/CCommonCrypto.git
[1/28] Fetching ccommoncrypto
Fetched https://github.com/jernejstrasner/CCommonCrypto.git from cache (0.19s)
Computing version for https://github.com/jernejstrasner/CCommonCrypto.git
Computed https://github.com/jernejstrasner/CCommonCrypto.git at 1.1.0 (0.68s)
Creating working copy for https://github.com/jernejstrasner/CCommonCrypto.git
Working copy of https://github.com/jernejstrasner/CCommonCrypto.git resolved at 1.1.0
warning: 'ccommoncrypto': ignoring declared target(s) 'CCommonCrypto' in the system package
warning: 'spi-builder-workspace': dependency 'ccommoncrypto' is not used by any target
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module SwiftCrypto
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CommonCrypto/CommonCrypto.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CCommonCrypto/CommonCrypto/CommonCrypto.h:27:10: error: 'CommonCrypto/CommonCryptor.h' file not found
#include <CommonCrypto/CommonCryptor.h>
         ^
/host/spi-builder-workspace/Sources/SwiftCrypto/SwiftCrypto.swift:24:8: error: could not build C module 'CCommonCrypto'
import CCommonCrypto
       ^
[4/4] Compiling SwiftCrypto SwiftCrypto.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CommonCrypto/CommonCrypto.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CCommonCrypto/CommonCrypto/CommonCrypto.h:27:10: error: 'CommonCrypto/CommonCryptor.h' file not found
#include <CommonCrypto/CommonCryptor.h>
         ^
/host/spi-builder-workspace/Sources/SwiftCrypto/SwiftCrypto.swift:24:8: error: could not build C module 'CCommonCrypto'
import CCommonCrypto
       ^
error: fatalError
warning: 'ccommoncrypto': ignoring declared target(s) 'CCommonCrypto' in the system package
warning: 'spi-builder-workspace': dependency 'ccommoncrypto' is not used by any target
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module SwiftCrypto
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CommonCrypto/CommonCrypto.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CCommonCrypto/CommonCrypto/CommonCrypto.h:27:10: error: 'CommonCrypto/CommonCryptor.h' file not found
#include <CommonCrypto/CommonCryptor.h>
         ^
/host/spi-builder-workspace/Sources/SwiftCrypto/SwiftCrypto.swift:24:8: error: could not build C module 'CCommonCrypto'
import CCommonCrypto
       ^
[3/3] Compiling SwiftCrypto SwiftCrypto.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "CommonCrypto/CommonCrypto.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CCommonCrypto/CommonCrypto/CommonCrypto.h:27:10: error: 'CommonCrypto/CommonCryptor.h' file not found
#include <CommonCrypto/CommonCryptor.h>
         ^
/host/spi-builder-workspace/Sources/SwiftCrypto/SwiftCrypto.swift:24:8: error: could not build C module 'CCommonCrypto'
import CCommonCrypto
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1