The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftCrypto with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-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/jernejstrasner/swiftcrypto.git
Reference: 1.0.3
Cloned https://github.com/jernejstrasner/swiftcrypto.git into spi-builder-workspace
SUCCESS checkout https://github.com/jernejstrasner/swiftcrypto.git at 1.0.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-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/jernejstrasner/CCommonCrypto.git
Fetched https://github.com/jernejstrasner/CCommonCrypto.git (0.25s)
Computing version for https://github.com/jernejstrasner/CCommonCrypto.git
Computed https://github.com/jernejstrasner/CCommonCrypto.git at 1.1.0 (0.24s)
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...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] 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
       ^
[2/2] 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.9 linux

Build Machine: Linux 1