The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Shield with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-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.8
Building package at path:  $PWD/checkout
https://github.com/outfoxx/shield.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-algorithms
[1/294] Fetching float16
[295/5458] Fetching float16, swift-algorithms
[450/18166] Fetching float16, swift-algorithms, swift-collections
Fetching https://github.com/apple/swift-numerics
Fetched https://github.com/apple/swift-algorithms (0.43s)
[4615/13002] Fetching float16, swift-collections
[8937/18275] Fetching float16, swift-collections, swift-numerics
Fetched https://github.com/apple/swift-numerics (0.44s)
Fetching https://github.com/apple/swift-docc-symbolkit
Fetched https://github.com/SusanDoggie/Float16.git (1.04s)
Fetching https://github.com/sharplet/Regex.git
Fetched https://github.com/apple/swift-collections.git (1.06s)
Fetching https://github.com/outfoxx/PotentCodables.git
[1/2447] Fetching swift-docc-symbolkit
[2448/3701] Fetching swift-docc-symbolkit, regex
Fetched https://github.com/apple/swift-docc-symbolkit (0.38s)
Fetching https://github.com/attaswift/BigInt.git
[276/1254] Fetching regex
[854/4351] Fetching regex, bigint
Fetched https://github.com/attaswift/BigInt.git (0.41s)
Fetching https://github.com/apple/swift-docc-plugin
Fetched https://github.com/sharplet/Regex.git (0.81s)
[1/50987] Fetching potentcodables
[2551/52444] Fetching potentcodables, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin (0.43s)
[12237/50987] Fetching potentcodables
Fetched https://github.com/outfoxx/PotentCodables.git (2.63s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.1.0 (0.56s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.0.0 (0.38s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (1.18s)
Computing version for https://github.com/outfoxx/PotentCodables.git
Computed https://github.com/outfoxx/PotentCodables.git at 3.0.3 (0.42s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.39s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.38s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.4 (0.37s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.36s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (0.36s)
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/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/outfoxx/PotentCodables.git
Working copy of https://github.com/outfoxx/PotentCodables.git resolved at 3.0.3
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.0.0
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/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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.4
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/26] Compiling _NumericsShims _NumericsShims.c
[2/26] Copying Shield.docc
[4/26] Copying PotentCodables.docc
[5/26] Compiling fy-ctype.c
[6/26] Compiling fy-utils.c
[7/26] Compiling fy-composer.c
[8/26] Compiling fy-utf8.c
[9/26] Compiling xxhash.c
[10/26] Compiling fy-diag.c
[11/26] Compiling fy-types.c
[12/26] Compiling fy-atom.c
[13/50] Compiling fy-path.c
[14/50] Compiling fy-walk.c
[15/50] Compiling fy-token.c
[16/134] Compiling fy-input.c
[17/134] Compiling fy-event.c
[18/134] Compiling fy-parse.c
[20/134] Emitting module Regex
[21/134] Emitting module BigInt
[21/136] Compiling fy-dump.c
[22/136] Compiling fy-emit.c
[23/136] Compiling fy-docstate.c
[25/136] Compiling BigInt Strideable.swift
[26/136] Compiling BigInt String Conversion.swift
[27/136] Compiling BigInt Codable.swift
[28/136] Compiling BigInt Comparable.swift
[29/136] Compiling BigInt Prime Test.swift
[30/136] Compiling BigInt Bitwise Ops.swift
[31/136] Compiling BigInt Data Conversion.swift
[32/136] Compiling BigInt Division.swift
[33/136] Compiling BigInt Exponentiation.swift
[34/138] Emitting module DequeModule
[35/138] Compiling BigInt Floating Point Conversion.swift
[36/138] Compiling BigInt GCD.swift
[37/138] Compiling BigInt Hashable.swift
[38/138] Compiling BigInt Addition.swift
[39/138] Compiling BigInt BigInt.swift
[40/138] Compiling BigInt BigUInt.swift
[42/138] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[43/138] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[44/138] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[45/138] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[46/138] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[47/138] Compiling OrderedCollections OrderedSet+SubSequence.swift
[54/144] Compiling RealModule Real.swift
[55/144] Compiling BigInt Integer Conversion.swift
[56/144] Compiling BigInt Multiplication.swift
[57/144] Compiling BigInt Random.swift
[58/144] Compiling BigInt Shifts.swift
[59/145] Compiling OrderedCollections OrderedSet+Hashable.swift
[60/145] Compiling OrderedCollections OrderedSet+Initializers.swift
[61/145] Compiling OrderedCollections OrderedSet+Insertions.swift
[62/145] Compiling OrderedCollections OrderedSet+Invariants.swift
[63/145] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[64/145] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[65/145] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[66/145] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[67/145] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[68/145] Compiling OrderedCollections OrderedSet+Diffing.swift
[69/145] Compiling OrderedCollections OrderedSet+Equatable.swift
[70/145] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[70/145] Compiling fy-docbuilder.c
[78/145] Compiling BigInt Subtraction.swift
[79/145] Compiling BigInt Words and Bits.swift
[80/145] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[81/145] Compiling OrderedCollections OrderedDictionary+Values.swift
[82/145] Compiling OrderedCollections OrderedDictionary.swift
[83/145] Compiling OrderedCollections OrderedSet+Codable.swift
[88/145] Compiling DequeModule _DequeSlot.swift
[89/145] Compiling DequeModule _UnsafeWrappedBuffer.swift
[91/145] Compiling RealModule Float16+Real.swift
[92/145] Compiling RealModule Float80+Real.swift
[93/145] Compiling RealModule RealFunctions.swift
[96/145] Compiling RealModule ElementaryFunctions.swift
[99/145] Compiling RealModule Float+Real.swift
[100/145] Emitting module RealModule
error: emit-module command failed with exit code 1 (use -v to see invocation)
[101/146] Emitting module ShieldCrypto
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[116/147] Emitting module OrderedCollections
[116/147] Compiling fy-accel.c
[118/170] Compiling Algorithms Reductions.swift
[119/170] Compiling Algorithms Rotate.swift
[119/171] Compiling CFloat16 float16.c
[122/176] Compiling fy-doc.c
[124/176] Compiling Float16 Concurrency.swift
[125/176] Compiling Algorithms Stride.swift
[126/176] Compiling Algorithms Suffix.swift
[127/176] Compiling OrderedCollections OrderedSet+Testing.swift
[128/176] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[129/176] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[130/176] Compiling OrderedCollections OrderedSet.swift
[131/176] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[132/176] Compiling OrderedCollections _UnsafeBitset.swift
[133/177] Emitting module Float16
[134/177] Compiling Algorithms Split.swift
[138/181] Compiling Algorithms RandomSample.swift
[142/181] Compiling Algorithms Compacted.swift
[143/181] Compiling Algorithms Cycle.swift
[144/181] Compiling Algorithms EitherSequence.swift
[145/181] Compiling Float16 Real.swift
[146/181] Compiling Float16 float16.swift
[149/185] Compiling Collections Collections.swift
[150/185] Emitting module Collections
[153/187] Compiling ShieldCrypto Random.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[154/187] Compiling Regex ThreadLocal.swift
[155/187] Compiling ShieldCrypto Digest.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[156/187] Compiling ShieldCrypto Cryptor.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[157/187] Compiling ShieldCrypto HMAC.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[158/187] Compiling ShieldCrypto PBKDF.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[159/187] Compiling ShieldCrypto Errors.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[160/187] Compiling Regex String+ReplaceMatching.swift
[161/187] Compiling Regex MatchResult.swift
[162/187] Compiling Regex Foundation+Ranges.swift
[163/187] Compiling Algorithms MinMax.swift
[164/187] Compiling Algorithms Partition.swift
[165/187] Compiling Algorithms Permutations.swift
[166/187] Compiling Regex Options.swift
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[3/22] Compiling ShieldCrypto Random.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[4/34] Emitting module Regex
[5/34] Compiling ShieldCrypto HMAC.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[6/34] Compiling ShieldCrypto PBKDF.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[7/34] Compiling ShieldCrypto Cryptor.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[8/34] Compiling Regex Foundation+Ranges.swift
[9/34] Compiling Regex MatchResult.swift
[10/34] Compiling Regex String+ReplaceMatching.swift
[11/34] Compiling BigInt Exponentiation.swift
[12/42] Compiling Regex Regex.swift
[13/42] Compiling Regex Options.swift
[15/48] Compiling ShieldCrypto Errors.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[16/48] Compiling ShieldCrypto Digest.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
[17/49] Compiling BigInt Random.swift
[18/49] Compiling Algorithms Trim.swift
[20/51] Emitting module BigInt
[21/53] Compiling BigInt Hashable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/53] Compiling BigInt Prime Test.swift
[23/53] Emitting module ShieldCrypto
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
       ^
BUILD FAILURE 5.8 linux

Build Machine: Linux 2