Build Information
Failed to build Shield with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-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/outfoxx/shield.git
Reference: 3.5.0
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
* tag 3.5.0 -> FETCH_HEAD
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 3.5.0
========================================
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-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/apple/swift-algorithms
[1/3097] Fetching bigint
[2/3391] Fetching bigint, float16
[2742/4848] Fetching bigint, float16, swift-docc-plugin
[3719/10040] Fetching bigint, float16, swift-docc-plugin, swift-algorithms
[3948/12525] Fetching bigint, float16, swift-docc-plugin, swift-algorithms, swift-docc-symbolkit
[12359/26271] Fetching bigint, float16, swift-docc-plugin, swift-algorithms, swift-docc-symbolkit, swift-collections
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.49s)
Fetching https://github.com/sharplet/Regex.git
[11003/23786] Fetching bigint, float16, swift-docc-plugin, swift-algorithms, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git from cache (0.57s)
Fetching https://github.com/outfoxx/PotentCodables.git
[13595/23492] Fetching bigint, swift-docc-plugin, swift-algorithms, swift-collections
Fetched https://github.com/apple/swift-algorithms from cache (0.57s)
Fetching https://github.com/apple/swift-numerics
[8541/18300] Fetching bigint, swift-docc-plugin, swift-collections
Fetched https://github.com/apple/swift-docc-plugin from cache (0.58s)
[7221/16843] Fetching bigint, swift-collections
[7360/18097] Fetching bigint, swift-collections, regex
[11500/23374] Fetching bigint, swift-collections, regex, swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.52s)
[17771/18097] Fetching bigint, swift-collections, regex
Fetched https://github.com/attaswift/BigInt.git from cache (1.36s)
[1/50987] Fetching potentcodables
Fetched https://github.com/apple/swift-collections.git from cache (1.38s)
Fetched https://github.com/sharplet/Regex.git from cache (0.94s)
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.52s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.0.0 (0.44s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (1.26s)
Computing version for https://github.com/outfoxx/PotentCodables.git
Computed https://github.com/outfoxx/PotentCodables.git at 3.0.3 (0.50s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.49s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.45s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.4 (0.47s)
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.42s)
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-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.0.0
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/SusanDoggie/Float16.git
Working copy of https://github.com/SusanDoggie/Float16.git resolved at 1.1.1
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-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.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/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
/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] Compiling _NumericsShims _NumericsShims.c
[20/47] Copying Shield.docc
[20/47] Copying PotentCodables.docc
[23/47] Compiling fy-utf8.c
[24/47] Write swift-version-24593BA9C3E375BF.txt
[25/47] Compiling fy-utils.c
[26/47] Compiling fy-types.c
[27/47] Compiling fy-path.c
[28/47] Compiling fy-token.c
[29/47] Compiling xxhash.c
[30/53] Compiling fy-input.c
[31/115] Compiling fy-walk.c
[32/134] Compiling fy-event.c
[33/134] Compiling fy-parse.c
[34/134] Compiling fy-emit.c
[35/134] Compiling fy-dump.c
[36/134] Compiling fy-docstate.c
[37/134] Compiling fy-docbuilder.c
[38/134] Compiling fy-ctype.c
[39/134] Compiling fy-diag.c
[40/134] Compiling fy-composer.c
[41/134] Compiling fy-doc.c
[42/134] Compiling fy-accel.c
[43/134] Write sources
[44/134] Compiling CFloat16 float16.c
[44/134] Write sources
[46/134] Compiling fy-atom.c
[48/155] Emitting module DequeModule
[49/157] Emitting module OrderedCollections
[50/163] Emitting module RealModule
[51/164] Compiling BigInt Hashable.swift
[52/164] Compiling BigInt Integer Conversion.swift
[53/164] Compiling RealModule RealFunctions.swift
[54/164] Compiling DequeModule _DequeSlot.swift
[55/164] Compiling DequeModule _UnsafeWrappedBuffer.swift
[56/164] Compiling RealModule Real.swift
[57/164] Compiling BigInt Bitwise Ops.swift
[58/164] Compiling BigInt Codable.swift
[59/164] Compiling BigInt Comparable.swift
[60/164] Compiling BigInt Addition.swift
[61/164] Compiling BigInt BigInt.swift
[62/164] Compiling BigInt BigUInt.swift
[63/164] Compiling BigInt Floating Point Conversion.swift
[64/164] Compiling BigInt GCD.swift
[65/164] Compiling BigInt Multiplication.swift
[66/164] Compiling BigInt Prime Test.swift
[67/164] Compiling BigInt Random.swift
[68/164] Compiling BigInt Shifts.swift
[81/166] Compiling BigInt String Conversion.swift
[86/166] Compiling BigInt Data Conversion.swift
[87/166] Compiling BigInt Division.swift
[88/166] Compiling BigInt Exponentiation.swift
[93/167] Compiling OrderedCollections OrderedSet+Hashable.swift
[94/167] Compiling OrderedCollections OrderedSet+Initializers.swift
[95/167] Compiling OrderedCollections OrderedSet+Insertions.swift
[96/167] Compiling OrderedCollections OrderedSet+Invariants.swift
[97/167] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[98/167] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[99/167] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[100/167] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[101/167] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[102/167] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[103/167] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[104/167] Compiling OrderedCollections OrderedSet+SubSequence.swift
[112/167] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[113/167] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.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
[125/167] Compiling BigInt Subtraction.swift
[126/167] Compiling BigInt Words and Bits.swift
[127/167] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[128/167] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[129/167] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[130/167] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[131/167] Compiling RealModule Float16+Real.swift
[132/167] Compiling RealModule Float80+Real.swift
[133/167] Compiling RealModule ElementaryFunctions.swift
[134/167] Compiling RealModule Float+Real.swift
[137/195] Compiling OrderedCollections OrderedSet+Testing.swift
[138/195] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[139/195] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[140/195] Compiling OrderedCollections OrderedSet.swift
[141/195] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[142/195] Compiling OrderedCollections _UnsafeBitset.swift
[144/196] Compiling Float16 Concurrency.swift
[145/196] Compiling Float16 Real.swift
[146/198] Compiling Collections Collections.swift
[147/198] Emitting module Collections
[149/199] Emitting module Float16
[150/199] Compiling Float16 float16.swift
[152/200] Compiling Algorithms Stride.swift
[153/200] Compiling Algorithms Suffix.swift
[154/200] Compiling Algorithms Compacted.swift
[155/200] Compiling Algorithms Cycle.swift
[156/200] Compiling Algorithms EitherSequence.swift
[157/203] Compiling Algorithms Split.swift
[160/203] Compiling Algorithms RandomSample.swift
[161/203] Compiling Algorithms Reductions.swift
[162/203] Compiling Algorithms Rotate.swift
[163/203] Compiling ShieldCrypto HMAC.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[164/203] Emitting module Regex
[165/203] Emitting module BigInt
[166/203] Compiling Algorithms FirstNonNil.swift
[167/203] Compiling Algorithms FlattenCollection.swift
[168/203] Compiling Algorithms Indexed.swift
[172/203] Compiling Algorithms AdjacentPairs.swift
[173/203] Compiling Algorithms Chain.swift
[174/203] Compiling Algorithms Chunked.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[175/203] Emitting module ShieldCrypto
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[176/203] Compiling ShieldCrypto Cryptor.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[177/204] Compiling Regex ThreadLocal.swift
[179/204] Compiling ShieldCrypto Digest.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[180/204] Compiling ShieldCrypto Errors.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[181/204] Compiling ShieldCrypto Random.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[182/204] Compiling ShieldCrypto PBKDF.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[183/204] Compiling Regex MatchResult.swift
[184/204] Compiling Regex Foundation+Ranges.swift
[185/204] Compiling Regex String+ReplaceMatching.swift
[186/204] Compiling Regex Options.swift
[187/204] Compiling Regex Regex.swift
error: fatalError
[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/45] Compiling ShieldCrypto Random.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[5/45] Compiling ShieldCrypto Digest.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[6/45] Compiling ShieldCrypto HMAC.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[7/45] Compiling ShieldCrypto PBKDF.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[8/45] Emitting module Regex
[10/46] Compiling ShieldCrypto Errors.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
[11/46] Compiling ShieldCrypto Cryptor.swift
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/46] Emitting module ShieldCrypto
/host/spi-builder-workspace/Sources/ShieldCrypto/Cryptor.swift:11:8: error: no such module 'CommonCrypto.CommonCryptor'
import CommonCrypto.CommonCryptor
^
error: fatalError
BUILD FAILURE 5.10 linux