The Swift Package Index logo.Swift Package Index

Build Information

Failed to build JWTDecode 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/auth0/JWTDecode.swift.git
Reference: 3.1.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/auth0/JWTDecode.swift
 * tag               3.1.0      -> FETCH_HEAD
HEAD is now at 58af727 Release 3.1.0 (#200)
Cloned https://github.com/auth0/JWTDecode.swift.git
Revision (git rev-parse @):
58af7278797871e460d79496621b3e5366b865b2
SUCCESS checkout https://github.com/auth0/JWTDecode.swift.git at 3.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/auth0/JWTDecode.swift.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/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/14209] Fetching quick
[14210/31500] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.54s)
Fetched https://github.com/Quick/Nimble.git from cache (1.55s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 12.3.0 (0.49s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1236] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.23s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.0 (0.49s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/432] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.20s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.2 (0.50s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 7.4.0 (0.43s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.2
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 7.4.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 12.3.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.0
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Emitting module JWTDecode
[4/6] Compiling JWTDecode JWT.swift
[5/6] Compiling JWTDecode JWTDecodeError.swift
[6/6] Compiling JWTDecode JWTDecode.swift
/host/spi-builder-workspace/JWTDecode/JWTDecode.swift:83:38: error: cannot find type 'CFTypeRef' in scope
        if let value = self.value as CFTypeRef?, CFGetTypeID(value) == CFBooleanGetTypeID() {
                                     ^~~~~~~~~
/host/spi-builder-workspace/JWTDecode/JWTDecode.swift:83:50: error: cannot find 'CFGetTypeID' in scope
        if let value = self.value as CFTypeRef?, CFGetTypeID(value) == CFBooleanGetTypeID() {
                                                 ^~~~~~~~~~~
/host/spi-builder-workspace/JWTDecode/JWTDecode.swift:83:72: error: cannot find 'CFBooleanGetTypeID' in scope
        if let value = self.value as CFTypeRef?, CFGetTypeID(value) == CFBooleanGetTypeID() {
                                                                       ^~~~~~~~~~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] Emitting module JWTDecode
[3/3] Compiling JWTDecode JWTDecode.swift
/host/spi-builder-workspace/JWTDecode/JWTDecode.swift:83:38: error: cannot find type 'CFTypeRef' in scope
        if let value = self.value as CFTypeRef?, CFGetTypeID(value) == CFBooleanGetTypeID() {
                                     ^~~~~~~~~
/host/spi-builder-workspace/JWTDecode/JWTDecode.swift:83:50: error: cannot find 'CFGetTypeID' in scope
        if let value = self.value as CFTypeRef?, CFGetTypeID(value) == CFBooleanGetTypeID() {
                                                 ^~~~~~~~~~~
/host/spi-builder-workspace/JWTDecode/JWTDecode.swift:83:72: error: cannot find 'CFBooleanGetTypeID' in scope
        if let value = self.value as CFTypeRef?, CFGetTypeID(value) == CFBooleanGetTypeID() {
                                                                       ^~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2