The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Shield with Swift 5.9 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.28.8
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/outfoxx/shield.git
Reference: main
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/outfoxx/shield
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7d19bf6 Merge pull request #82 from outfoxx/feature/pkcs8pem
Cloned https://github.com/outfoxx/shield.git
Revision (git rev-parse @):
7d19bf67a55985217a5db9393d99631b5c5ff362
SUCCESS checkout https://github.com/outfoxx/shield.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD/checkout
https://github.com/outfoxx/shield.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/outfoxx/PotentCodables.git
Fetching https://github.com/SusanDoggie/Float16.git
[1/294] Fetching float16
[295/5458] Fetching float16, swift-algorithms
Fetching https://github.com/apple/swift-docc-plugin
Fetched https://github.com/SusanDoggie/Float16.git (0.28s)
[207/5164] Fetching swift-algorithms
[5165/6621] Fetching swift-algorithms, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin (0.43s)
Fetching https://github.com/sharplet/Regex.git
[1/50987] Fetching potentcodables
[7650/52241] Fetching potentcodables, regex
Fetched https://github.com/sharplet/Regex.git (0.81s)
Fetching https://github.com/attaswift/BigInt.git
[49968/50987] Fetching potentcodables
[50988/54084] Fetching potentcodables, bigint
Fetched https://github.com/attaswift/BigInt.git (0.60s)
Fetching https://github.com/apple/swift-numerics
[1/5273] Fetching swift-numerics
Fetched https://github.com/apple/swift-algorithms (2.63s)
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/outfoxx/PotentCodables.git (2.67s)
Fetching https://github.com/apple/swift-docc-symbolkit
Computing version for https://github.com/apple/swift-docc-plugin
Fetched https://github.com/apple/swift-numerics (0.56s)
[1/12708] Fetching swift-collections
[637/15155] Fetching swift-collections, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit (0.41s)
[4321/12708] Fetching swift-collections
Computed https://github.com/apple/swift-docc-plugin at 1.1.0 (1.01s)
Computing version for https://github.com/apple/swift-algorithms
Fetched https://github.com/apple/swift-collections.git (1.07s)
Computed https://github.com/apple/swift-algorithms at 1.0.0 (0.39s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (1.19s)
Computing version for https://github.com/outfoxx/PotentCodables.git
Computed https://github.com/outfoxx/PotentCodables.git at 3.0.3 (0.46s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.45s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.41s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.4 (0.45s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.44s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (0.50s)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.3.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
Creating working copy for https://github.com/outfoxx/PotentCodables.git
Working copy of https://github.com/outfoxx/PotentCodables.git resolved at 3.0.3
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.1.0
Creating working copy for https://github.com/SusanDoggie/Float16.git
Working copy of https://github.com/SusanDoggie/Float16.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.0.0
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/26] Copying Shield.docc
[3/26] Copying PotentCodables.docc
[4/26] Compiling _NumericsShims _NumericsShims.c
[5/26] Compiling fy-utf8.c
[6/26] Compiling fy-utils.c
[7/26] Compiling xxhash.c
[8/27] Compiling fy-path.c
[9/28] Compiling fy-types.c
[10/33] Compiling fy-input.c
[11/40] Compiling fy-token.c
[12/134] Compiling fy-walk.c
[13/134] Compiling fy-parse.c
[14/134] Compiling fy-event.c
[16/134] Emitting module RealModule
[16/135] Compiling fy-dump.c
[17/135] Compiling fy-emit.c
[18/135] Compiling fy-docstate.c
[20/135] Emitting module Regex
[20/135] Compiling fy-docbuilder.c
[21/135] Compiling fy-doc.c
[22/135] Compiling fy-ctype.c
[23/135] Compiling fy-diag.c
[24/135] Compiling fy-composer.c
[25/135] Compiling fy-atom.c
[26/135] Compiling fy-accel.c
[27/135] Compiling CFloat16 float16.c
[29/135] Compiling RealModule ElementaryFunctions.swift
[30/135] Compiling RealModule RealFunctions.swift
[31/135] Emitting module OrderedCollections
[32/139] Compiling BigInt Data Conversion.swift
[33/139] Compiling BigInt Division.swift
[34/139] Compiling BigInt Exponentiation.swift
[35/141] Emitting module DequeModule
[36/141] Compiling BigInt Addition.swift
[37/141] Compiling BigInt BigInt.swift
[38/141] Compiling BigInt BigUInt.swift
[39/141] Compiling BigInt Strideable.swift
[40/141] Compiling BigInt String Conversion.swift
[41/143] Compiling BigInt Bitwise Ops.swift
[42/143] Compiling BigInt Codable.swift
[43/143] Compiling BigInt Comparable.swift
[44/144] Compiling BigInt Floating Point Conversion.swift
[45/144] Compiling BigInt GCD.swift
[48/145] Compiling BigInt Hashable.swift
[50/145] Compiling BigInt Integer Conversion.swift
[51/145] Compiling BigInt Multiplication.swift
[52/145] Compiling BigInt Prime Test.swift
[53/145] Compiling BigInt Random.swift
[54/145] Compiling BigInt Shifts.swift
[64/145] Compiling DequeModule _DequeSlot.swift
[68/145] Compiling BigInt Subtraction.swift
[69/145] Compiling BigInt Words and Bits.swift
[70/145] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[71/145] Compiling OrderedCollections OrderedSet+Diffing.swift
[72/145] Compiling OrderedCollections OrderedSet+Equatable.swift
[73/145] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[74/145] Emitting module BigInt
[80/145] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[81/145] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[82/145] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[83/145] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[84/145] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[85/145] Compiling OrderedCollections OrderedSet+SubSequence.swift
[91/145] Compiling DequeModule _UnsafeWrappedBuffer.swift
[99/145] Compiling RealModule Real.swift
[102/145] Compiling RealModule Float+Real.swift
[103/145] Compiling RealModule Float16+Real.swift
[104/145] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[105/145] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[106/145] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[107/145] Compiling OrderedCollections OrderedDictionary+Values.swift
[108/145] Compiling OrderedCollections OrderedDictionary.swift
[109/145] Compiling OrderedCollections OrderedSet+Codable.swift
[110/145] Compiling OrderedCollections OrderedSet+Hashable.swift
[111/145] Compiling OrderedCollections OrderedSet+Initializers.swift
[112/145] Compiling OrderedCollections OrderedSet+Insertions.swift
[113/145] Compiling OrderedCollections OrderedSet+Invariants.swift
[114/145] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[115/145] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[116/145] Compiling RealModule Float80+Real.swift
[123/176] Compiling Float16 Real.swift
[124/176] Compiling Float16 Concurrency.swift
[125/176] Compiling OrderedCollections OrderedSet+Testing.swift
[126/176] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[127/176] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[128/176] Compiling OrderedCollections OrderedSet.swift
[129/176] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[130/176] Compiling OrderedCollections _UnsafeBitset.swift
[131/177] Compiling ShieldCrypto Random.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[132/177] Compiling Float16 float16.swift
[133/177] Compiling Regex String+ReplaceMatching.swift
[134/177] Compiling Algorithms Combinations.swift
[135/177] Compiling Algorithms Compacted.swift
[136/177] Compiling Algorithms Cycle.swift
[138/178] Compiling ShieldCrypto Digest.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[140/178] Compiling Regex MatchResult.swift
[141/178] Compiling Regex Options.swift
[142/178] Compiling Regex Foundation+Ranges.swift
[143/178] Compiling Regex Regex.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[144/178] Emitting module ShieldCrypto
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[145/178] Compiling ShieldCrypto Cryptor.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[146/178] Compiling ShieldCrypto Errors.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[147/178] Compiling ShieldCrypto PBKDF.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[148/178] Compiling ShieldCrypto HMAC.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[149/178] Compiling Algorithms Permutations.swift
[150/178] Compiling Algorithms Product.swift
error: fatalError
[151/178] Compiling Regex ThreadLocal.swift
[0/1] Planning build
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[3/11] Emitting module Collections
[4/11] Compiling Collections Collections.swift
[6/42] Compiling ShieldCrypto Random.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[8/42] Emitting module Regex
[9/43] Compiling BigInt Comparable.swift
[10/52] Compiling ShieldCrypto HMAC.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[11/52] Compiling ShieldCrypto PBKDF.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[14/57] Emitting module BigInt
[15/59] Compiling BigInt Bitwise Ops.swift
[16/61] Compiling BigInt GCD.swift
[17/61] Compiling BigInt Hashable.swift
[18/61] Compiling BigInt Integer Conversion.swift
[19/64] Compiling ShieldCrypto Digest.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[20/64] Compiling ShieldCrypto Cryptor.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[21/64] Compiling ShieldCrypto Errors.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[22/64] Emitting module Float16
[24/66] Compiling BigInt Codable.swift
[26/68] Compiling BigInt Division.swift
[27/68] Compiling BigInt Exponentiation.swift
[28/68] Compiling BigInt Floating Point Conversion.swift
[29/68] Compiling BigInt Prime Test.swift
[30/68] Compiling BigInt Random.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/68] Emitting module ShieldCrypto
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[33/68] Compiling BigInt Multiplication.swift
error: fatalError
[34/68] Compiling BigInt String Conversion.swift
[35/68] Compiling BigInt Subtraction.swift
[36/68] Compiling BigInt Words and Bits.swift
BUILD FAILURE 5.9 linux

Build Machine: Linux 2