Build Information
Failed to build Shield with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/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/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.10
Building package at path: $workDir
https://github.com/outfoxx/shield.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/outfoxx/PotentCodables.git
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/attaswift/BigInt.git
[1/3097] Fetching bigint
[2417/8374] Fetching bigint, swift-numerics
[2607/10859] Fetching bigint, swift-numerics, swift-docc-symbolkit
[2809/12316] Fetching bigint, swift-numerics, swift-docc-symbolkit, swift-docc-plugin
[5737/17508] Fetching bigint, swift-numerics, swift-docc-symbolkit, swift-docc-plugin, swift-algorithms
Fetched https://github.com/attaswift/BigInt.git from cache (0.62s)
Fetching https://github.com/sharplet/Regex.git
Fetched https://github.com/apple/swift-numerics from cache (0.63s)
Fetching https://github.com/SusanDoggie/Float16.git
Fetched https://github.com/apple/swift-docc-plugin from cache (0.63s)
Fetching https://github.com/apple/swift-collections.git
[1/294] Fetching float16
[295/1548] Fetching float16, regex
[822/52535] Fetching float16, regex, potentcodables
Fetched https://github.com/SusanDoggie/Float16.git from cache (0.25s)
[3366/52241] Fetching regex, potentcodables
[7956/65987] Fetching regex, potentcodables, swift-collections
Fetched https://github.com/sharplet/Regex.git from cache (0.91s)
[35976/64733] Fetching potentcodables, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.49s)
Fetched https://github.com/apple/swift-algorithms from cache (2.69s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (2.69s)
Fetched https://github.com/outfoxx/PotentCodables.git from cache (2.72s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.1.0 (0.46s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.0.0 (0.42s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (1.25s)
Computing version for https://github.com/outfoxx/PotentCodables.git
Computed https://github.com/outfoxx/PotentCodables.git at 3.0.3 (0.51s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.51s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.46s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.4 (0.46s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.63s)
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/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/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/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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
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/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
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/47] Write sources
[20/47] Copying Shield.docc
[21/47] Copying PotentCodables.docc
[22/47] Compiling fy-utf8.c
[23/47] Compiling fy-utils.c
[24/47] Compiling _NumericsShims _NumericsShims.c
[25/47] Compiling fy-types.c
[26/47] Compiling xxhash.c
[27/47] Compiling fy-token.c
[28/47] Write swift-version-24593BA9C3E375BF.txt
[29/47] Compiling fy-path.c
[30/47] Compiling fy-input.c
[31/47] Compiling fy-walk.c
[32/47] Compiling fy-dump.c
[33/53] Compiling fy-event.c
[34/58] Compiling fy-docstate.c
[35/134] Compiling fy-emit.c
[36/134] Compiling fy-docbuilder.c
[37/134] Compiling fy-parse.c
[38/134] Compiling fy-ctype.c
[39/134] Compiling fy-diag.c
[40/134] Compiling fy-composer.c
[42/134] Emitting module RealModule
[42/135] Compiling fy-doc.c
[43/135] Compiling CFloat16 float16.c
[43/135] Write sources
[46/135] Compiling fy-accel.c
[47/135] Compiling fy-atom.c
[49/156] Emitting module BigInt
[50/158] Emitting module DequeModule
[51/160] Compiling BigInt Subtraction.swift
[52/160] Compiling BigInt Words and Bits.swift
[53/160] Compiling DequeModule _DequeSlot.swift
[54/160] Compiling DequeModule _UnsafeWrappedBuffer.swift
[55/160] Compiling RealModule ElementaryFunctions.swift
[57/160] Compiling BigInt String Conversion.swift
[58/160] Compiling BigInt Random.swift
[59/160] Compiling BigInt Shifts.swift
[61/160] Compiling RealModule Real.swift
[62/160] Compiling RealModule RealFunctions.swift
[63/160] Compiling BigInt Data Conversion.swift
[64/160] Compiling BigInt Division.swift
[65/160] Compiling BigInt Exponentiation.swift
[66/160] Compiling BigInt Integer Conversion.swift
[69/160] Compiling BigInt Multiplication.swift
[70/160] Compiling BigInt Prime Test.swift
[71/160] Compiling OrderedCollections OrderedSet+Hashable.swift
[72/160] Compiling OrderedCollections OrderedSet+Initializers.swift
[73/160] Compiling OrderedCollections OrderedSet+Insertions.swift
[74/160] Compiling OrderedCollections OrderedSet+Invariants.swift
[75/160] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[76/160] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[77/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[78/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[79/160] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[80/160] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[81/160] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[82/160] Compiling OrderedCollections OrderedSet+SubSequence.swift
[83/160] Compiling BigInt Bitwise Ops.swift
[84/160] Compiling BigInt Codable.swift
[85/160] Compiling BigInt Comparable.swift
[86/160] Compiling BigInt Floating Point Conversion.swift
[87/160] Compiling BigInt GCD.swift
[88/160] Compiling BigInt Hashable.swift
[89/164] Compiling BigInt Addition.swift
[90/164] Compiling BigInt BigInt.swift
[91/166] Compiling BigInt BigUInt.swift
[92/166] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[93/166] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[94/166] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[95/166] Compiling OrderedCollections OrderedSet+Diffing.swift
[96/166] Compiling OrderedCollections OrderedSet+Equatable.swift
[97/166] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[114/167] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[115/167] Compiling OrderedCollections OrderedDictionary+Values.swift
[116/167] Compiling OrderedCollections OrderedDictionary.swift
[117/167] Compiling OrderedCollections OrderedSet+Codable.swift
[120/167] Compiling RealModule Float16+Real.swift
[135/167] Emitting module OrderedCollections
[136/167] Compiling RealModule Float80+Real.swift
[137/167] Compiling RealModule Float+Real.swift
[140/195] Emitting module Float16
[141/195] Compiling Float16 Concurrency.swift
[142/195] Compiling Float16 Real.swift
[143/195] Compiling Float16 float16.swift
[145/196] Compiling Algorithms Split.swift
[146/196] Compiling Algorithms Stride.swift
[147/196] Compiling Algorithms Suffix.swift
[148/199] Compiling OrderedCollections OrderedSet+Testing.swift
[149/199] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[150/199] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[151/199] Compiling OrderedCollections OrderedSet.swift
[152/199] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[153/199] Compiling OrderedCollections _UnsafeBitset.swift
[155/200] Compiling Algorithms RandomSample.swift
[156/200] Compiling Algorithms Reductions.swift
[157/200] Compiling Algorithms Rotate.swift
[158/200] Compiling Algorithms Partition.swift
[159/200] Compiling Algorithms Permutations.swift
[160/200] Compiling Algorithms Product.swift
[161/200] Compiling ShieldCrypto Errors.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[162/200] Compiling ShieldCrypto HMAC.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[163/202] Compiling Regex Regex.swift
[164/202] Compiling Regex ThreadLocal.swift
[165/202] Compiling Regex Foundation+Ranges.swift
[166/202] Compiling Algorithms Trim.swift
[167/202] Compiling Algorithms Unique.swift
[168/202] Compiling Algorithms Windows.swift
[169/202] Compiling Regex String+ReplaceMatching.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[170/202] Emitting module ShieldCrypto
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[171/202] Compiling ShieldCrypto Cryptor.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[172/202] Compiling ShieldCrypto Digest.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[173/202] Compiling ShieldCrypto Random.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[174/202] Compiling Regex Options.swift
[175/202] Compiling Regex MatchResult.swift
[176/202] Emitting module Regex
[177/202] Compiling Algorithms Indexed.swift
[178/202] Compiling Algorithms Intersperse.swift
[179/202] Compiling Algorithms Joined.swift
[180/202] Compiling ShieldCrypto PBKDF.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
error: fatalError
[181/203] Compiling Algorithms Combinations.swift
[182/203] Compiling Algorithms Compacted.swift
[183/203] Compiling Algorithms Cycle.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...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/25] Emitting module Collections
[5/25] Compiling Collections Collections.swift
[7/27] Compiling ShieldCrypto Random.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[8/31] Compiling ShieldCrypto PBKDF.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[9/31] Compiling ShieldCrypto HMAC.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[10/31] Compiling BigInt Comparable.swift
[11/44] Emitting module Regex
[12/45] Compiling BigInt Bitwise Ops.swift
[14/47] Emitting module BigInt
[15/49] Compiling ShieldCrypto Cryptor.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[16/49] 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 ShieldCrypto Errors.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[18/49] Compiling BigInt GCD.swift
[19/49] Compiling BigInt Hashable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/50] Emitting module ShieldCrypto
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[21/50] Compiling BigInt Codable.swift
[22/52] Compiling BigInt Integer Conversion.swift
[23/52] Compiling BigInt Multiplication.swift
[24/52] Compiling BigInt Floating Point Conversion.swift
[27/52] Compiling Algorithms MinMax.swift
error: fatalError
BUILD FAILURE 5.10 linux