The Swift Package Index logo.Swift Package Index

Build Information

Failed to build THOTP 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/ericlewis/THOTP.git
Reference: master
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/ericlewis/THOTP
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 3d4f649 Merge pull request #16 from goppinath/master
Cloned https://github.com/ericlewis/THOTP.git
Revision (git rev-parse @):
3d4f64936f391552b4f08597c663d70dd44c3f28
SUCCESS checkout https://github.com/ericlewis/THOTP.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/ericlewis/THOTP.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/ericlewis/URL-QueryItem.git
Fetching https://github.com/norio-nomura/Base32.git
[1/1168] Fetching base32
[1169/1185] Fetching base32, url-queryitem
Fetched https://github.com/ericlewis/URL-QueryItem.git from cache (0.25s)
Fetched https://github.com/norio-nomura/Base32.git from cache (0.26s)
Computing version for https://github.com/ericlewis/URL-QueryItem.git
Computed https://github.com/ericlewis/URL-QueryItem.git at 1.0.0 (0.48s)
Computing version for https://github.com/norio-nomura/Base32.git
Computed https://github.com/norio-nomura/Base32.git at 0.9.0 (1.39s)
Creating working copy for https://github.com/norio-nomura/Base32.git
Working copy of https://github.com/norio-nomura/Base32.git resolved at 0.9.0
Creating working copy for https://github.com/ericlewis/URL-QueryItem.git
Working copy of https://github.com/ericlewis/URL-QueryItem.git resolved at 1.0.0
Building for debugging...
[0/11] Write sources
[3/11] Write swift-version-24593BA9C3E375BF.txt
[5/21] Compiling Base32 shim.swift
[6/21] Compiling Base32 StringExtension.swift
[7/21] Compiling URL_QueryItem URLQueryItem+CodingKey.swift
[8/21] Compiling Base32 Base16.swift
[9/21] Emitting module Base32
[10/21] Compiling URL_QueryItem Collection+URLQueryItem.swift
[11/21] Emitting module URL_QueryItem
[12/21] Compiling URL_QueryItem URL+QueryItems.swift
[13/21] Compiling URL_QueryItem URL+URLComponents.swift
[14/22] Wrapping AST for URL-QueryItem for debugging
[15/22] Write Objects.LinkFileList
[16/22] Archiving libURL-QueryItem.a
[18/22] Compiling Base32 Base32.swift
[19/23] Wrapping AST for Base32 for debugging
[21/37] Compiling THOTP GeneratorProtocol.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[22/38] Compiling THOTP Generator.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[23/38] Compiling THOTP Password.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[24/38] Compiling THOTP PasswordProtocol.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/38] Emitting module THOTP
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[26/38] Compiling THOTP Key.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[27/38] Compiling THOTP OTPError.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[28/38] Compiling THOTP GeneratorAlgorithm.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[29/38] Compiling THOTP IssuerStrategy.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[30/38] Compiling THOTP SupportedHashAlgorithm.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[31/38] Compiling THOTP GeneratorProtocol+Generate.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[32/38] Compiling THOTP GeneratorProtocol+Validators.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[33/38] Compiling THOTP PasswordProtocol+CurrentPassword.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[34/38] Compiling THOTP PasswordProtocol+Equatable.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[35/38] Compiling THOTP PasswordProtocol+URL.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/7] Write swift-version-24593BA9C3E375BF.txt
[2/18] Compiling THOTP GeneratorProtocol.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[3/19] Compiling THOTP GeneratorProtocol+Validators.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[4/19] Compiling THOTP PasswordProtocol+CurrentPassword.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/19] Emitting module THOTP
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[6/19] Compiling THOTP GeneratorAlgorithm.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[7/19] Compiling THOTP IssuerStrategy.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[8/19] Compiling THOTP SupportedHashAlgorithm.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[9/19] Compiling THOTP GeneratorProtocol+Generate.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[10/19] Compiling THOTP Key.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[11/19] Compiling THOTP OTPError.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[12/19] Compiling THOTP Generator.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[13/19] Compiling THOTP Password.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[14/19] Compiling THOTP PasswordProtocol+Equatable.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[15/19] Compiling THOTP PasswordProtocol+URL.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[16/19] Compiling THOTP PasswordProtocol.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2