The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build THOTP with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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 0a97ed7 Update README.md
Cloned https://github.com/ericlewis/THOTP.git
Revision (git rev-parse @):
0a97ed714dd7b2da6c8f3285a9c69395b83129c0
SUCCESS checkout https://github.com/ericlewis/THOTP.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/ericlewis/THOTP.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/ericlewis/URL-QueryItem.git
Fetching https://github.com/norio-nomura/Base32.git
[1/1168] Fetching base32
[142/1185] Fetching base32, url-queryitem
Fetched https://github.com/norio-nomura/Base32.git (0.20s)
Fetched https://github.com/ericlewis/URL-QueryItem.git (0.20s)
Computing version for https://github.com/ericlewis/URL-QueryItem.git
Computed https://github.com/ericlewis/URL-QueryItem.git at 1.0.0 (0.34s)
Computing version for https://github.com/norio-nomura/Base32.git
Computed https://github.com/norio-nomura/Base32.git at 0.9.0 (0.94s)
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...
[1/15] Compiling Base32 shim.swift
[2/15] Compiling URL_QueryItem URL+URLComponents.swift
[3/15] Compiling URL_QueryItem URLQueryItem+CodingKey.swift
[4/15] Compiling URL_QueryItem URL+QueryItems.swift
[5/15] Compiling Base32 Base16.swift
[6/15] Emitting module URL_QueryItem
[7/15] Compiling URL_QueryItem Collection+URLQueryItem.swift
[10/17] Compiling Base32 StringExtension.swift
[10/17] Wrapping AST for URL-QueryItem for debugging
[11/17] Archiving libURL-QueryItem.a
[13/17] Emitting module Base32
[14/17] Compiling Base32 Base32.swift
[16/19] Wrapping AST for Base32 for debugging
[18/33] Compiling THOTP GeneratorProtocol.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[19/33] Compiling THOTP Generator.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[20/33] Compiling THOTP Password.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)
[21/34] Emitting module THOTP
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[22/34] Compiling THOTP GeneratorAlgorithm.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[23/34] Compiling THOTP IssuerStrategy.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[24/34] Compiling THOTP PasswordProtocol.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[25/34] Compiling THOTP SupportedHashAlgorithm.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[26/34] Compiling THOTP GeneratorProtocol+Generate.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[27/34] Compiling THOTP Key.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[28/34] Compiling THOTP OTPError.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[29/34] Compiling THOTP GeneratorProtocol+Validators.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[30/34] Compiling THOTP PasswordProtocol+CurrentPassword.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[31/34] Compiling THOTP PasswordProtocol+Equatable.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
       ^
[32/34] 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
BUILD FAILURE 5.9 linux