The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CleanJSON with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Pircate/CleanJSON.git
Reference: master
Cloned https://github.com/Pircate/CleanJSON.git into spi-builder-workspace
SUCCESS checkout https://github.com/Pircate/CleanJSON.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/16] Emitting module CleanJSON
[2/18] Compiling CleanJSON DecodingStrategy.swift
[3/18] Compiling CleanJSON Defaultable.swift
[4/18] Compiling CleanJSON _CleanJSONDecoder+Decode.swift
[5/18] Compiling CleanJSON _CleanJSONDecoder+SingleValueDecodingContainer.swift
[6/18] Compiling CleanJSON _CleanJSONDecoder+Unbox.swift
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:19:27: error: cannot find 'kCFBooleanTrue' in scope
            if number === kCFBooleanTrue as NSNumber {
                          ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:21:34: error: cannot find 'kCFBooleanFalse' in scope
            } else if number === kCFBooleanFalse as NSNumber {
                                 ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:39:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:40:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse else {
                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:56:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:57:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse else {
                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:73:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:74:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse else {
                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:90:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:91:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse else {
                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:107:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:108:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse else {
                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:124:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:125:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse else {
                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:141:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:142:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse else {
                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:158:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:159:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse else {
                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:175:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:176:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse else {
                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:192:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:193:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse else {
                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:209:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:210:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse {
                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:257:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:258:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse {
                       ^~~~~~~~~~~~~~~
[7/18] Compiling CleanJSON _CleanJSONDecoder.swift
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:19:27: error: cannot find 'kCFBooleanTrue' in scope
            if number === kCFBooleanTrue as NSNumber {
                          ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:21:34: error: cannot find 'kCFBooleanFalse' in scope
            } else if number === kCFBooleanFalse as NSNumber {
                                 ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:39:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:40:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse else {
                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:56:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:57:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse else {
                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:73:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:74:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse else {
                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:90:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:91:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse else {
                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:107:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:108:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse else {
                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:124:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:125:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse else {
                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:141:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:142:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse else {
                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:158:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:159:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse else {
                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:175:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:176:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse else {
                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:192:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:193:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse else {
                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:209:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:210:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse {
                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:257:24: error: cannot find 'kCFBooleanTrue' in scope
            number !== kCFBooleanTrue,
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/_CleanJSONDecoder+Unbox.swift:258:24: error: cannot find 'kCFBooleanFalse' in scope
            number !== kCFBooleanFalse {
                       ^~~~~~~~~~~~~~~
[8/18] Compiling CleanJSON CodingKeysConverter.swift
[9/18] Compiling CleanJSON DecodingError+CleanJSON.swift
[10/18] Compiling CleanJSON JSONAdapter.swift
[11/18] Compiling CleanJSON ToJSON.swift
[12/18] Compiling CleanJSON CleanJSONKeyedDecodingContainer.swift
/host/spi-builder-workspace/Sources/CleanJSON/CleanJSONKeyedDecodingContainer.swift:44:9: warning: default will never be executed
        @unknown default:
        ^
[13/18] Compiling CleanJSON CleanJSONUnkeyedDecodingContainer.swift
/host/spi-builder-workspace/Sources/CleanJSON/CleanJSONKeyedDecodingContainer.swift:44:9: warning: default will never be executed
        @unknown default:
        ^
[14/18] Compiling CleanJSON CleanJSONDecodingStorage.swift
[15/18] Compiling CleanJSON CleanJSONKey.swift
[16/18] Compiling CleanJSON CaseDefaultable.swift
/host/spi-builder-workspace/Sources/CleanJSON/CaseDefaultable.swift:42:24: error: cannot find 'kCFBooleanTrue' in scope
            number === kCFBooleanTrue || number === kCFBooleanFalse {
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/CaseDefaultable.swift:42:53: error: cannot find 'kCFBooleanFalse' in scope
            number === kCFBooleanTrue || number === kCFBooleanFalse {
                                                    ^~~~~~~~~~~~~~~
[17/18] Compiling CleanJSON CleanDecoder.swift
/host/spi-builder-workspace/Sources/CleanJSON/CaseDefaultable.swift:42:24: error: cannot find 'kCFBooleanTrue' in scope
            number === kCFBooleanTrue || number === kCFBooleanFalse {
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/CaseDefaultable.swift:42:53: error: cannot find 'kCFBooleanFalse' in scope
            number === kCFBooleanTrue || number === kCFBooleanFalse {
                                                    ^~~~~~~~~~~~~~~
[18/18] Compiling CleanJSON CleanJSONDecoder.swift
/host/spi-builder-workspace/Sources/CleanJSON/CaseDefaultable.swift:42:24: error: cannot find 'kCFBooleanTrue' in scope
            number === kCFBooleanTrue || number === kCFBooleanFalse {
                       ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CleanJSON/CaseDefaultable.swift:42:53: error: cannot find 'kCFBooleanFalse' in scope
            number === kCFBooleanTrue || number === kCFBooleanFalse {
                                                    ^~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1