Build Information
Failed to build THOTP with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-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.8
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.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/norio-nomura/Base32.git
Fetching https://github.com/ericlewis/URL-QueryItem.git
[1/1168] Fetching base32
[1169/1185] Fetching base32, url-queryitem
Fetched https://github.com/norio-nomura/Base32.git (0.24s)
Fetched https://github.com/ericlewis/URL-QueryItem.git (0.24s)
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 (1.14s)
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 Base32 StringExtension.swift
[3/15] Emitting module URL_QueryItem
[4/15] Compiling URL_QueryItem Collection+URLQueryItem.swift
[5/15] Compiling URL_QueryItem URLQueryItem+CodingKey.swift
[6/15] Compiling URL_QueryItem URL+URLComponents.swift
[7/15] Compiling URL_QueryItem URL+QueryItems.swift
[9/17] Wrapping AST for URL-QueryItem for debugging
[10/17] Archiving libURL-QueryItem.a
[12/17] Compiling Base32 Base16.swift
[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/34] Compiling THOTP Generator.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
^
[20/34] Compiling THOTP Password.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
^
[21/34] Compiling THOTP GeneratorProtocol+Validators.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
^
[22/34] 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)
[23/34] Emitting module THOTP
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
^
[24/34] Compiling THOTP GeneratorAlgorithm.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
^
[25/34] Compiling THOTP IssuerStrategy.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
^
[26/34] Compiling THOTP PasswordProtocol.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 SupportedHashAlgorithm.swift
/host/spi-builder-workspace/Sources/THOTP/Enums/SupportedHashAlgorithm.swift:1:8: error: no such module 'CryptoKit'
import CryptoKit
^
[30/34] Compiling THOTP GeneratorProtocol+Generate.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
^
BUILD FAILURE 5.8 linux