The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TitanLoggingSwiftyBeaver with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-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/bermudadigitalstudio/titanloggingswiftybeaver.git
Reference: 1.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/bermudadigitalstudio/titanloggingswiftybeaver
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 45e2c1b Support Titan 0.8.0
Cloned https://github.com/bermudadigitalstudio/titanloggingswiftybeaver.git
Revision (git rev-parse @):
45e2c1b057ffc875f99378e4450b1266c789db00
SUCCESS checkout https://github.com/bermudadigitalstudio/titanloggingswiftybeaver.git at 1.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/bermudadigitalstudio/titanloggingswiftybeaver.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/SwiftyBeaver/SwiftyBeaver.git
Fetching https://github.com/bermudadigitalstudio/Titan.git
[1/1161] Fetching titan
[1162/4922] Fetching titan, swiftybeaver
Fetched https://github.com/bermudadigitalstudio/Titan.git from cache (0.41s)
Fetched https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache (0.42s)
Computing version for https://github.com/bermudadigitalstudio/Titan.git
Computed https://github.com/bermudadigitalstudio/Titan.git at 0.8.0 (0.43s)
Computing version for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Computed https://github.com/SwiftyBeaver/SwiftyBeaver.git at 1.4.3 (0.39s)
Creating working copy for https://github.com/bermudadigitalstudio/Titan.git
Working copy of https://github.com/bermudadigitalstudio/Titan.git resolved at 0.8.0
Creating working copy for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Working copy of https://github.com/SwiftyBeaver/SwiftyBeaver.git resolved at 1.4.3
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/18] Compiling SwiftyBeaver SBPlatformDestination.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SBPlatformDestination.swift:277:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
            let session = URLSession(configuration:
                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SBPlatformDestination.swift:278:41: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
                URLSessionConfiguration.default,
                ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SBPlatformDestination.swift:279:27: error: 'nil' requires a contextual type
                delegate: nil, delegateQueue: operationQueue)
                          ^
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SBPlatformDestination.swift:284:28: error: cannot find 'URLRequest' in scope
             var request = URLRequest(url: serverURL,
                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SBPlatformDestination.swift:285:52: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
                                     cachePolicy: .reloadIgnoringLocalAndRemoteCacheData,
                                                  ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SBPlatformDestination.swift:330:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                        status = response.statusCode
                                 ~~~~~~~~ ^~~~~~~~~~
[6/19] Compiling TitanCore TitanResponse.swift
[7/19] Compiling TitanCore TitanRequest.swift
[8/19] Compiling TitanCore TitanError.swift
[9/19] Emitting module TitanCore
[10/19] Compiling TitanCore TitanCore.swift
[11/20] Compiling SwiftyBeaver Filter.swift
[12/20] Compiling SwiftyBeaver FileDestination.swift
[13/20] Compiling SwiftyBeaver ConsoleDestination.swift
[14/20] Compiling SwiftyBeaver GoogleCloudDestination.swift
[16/20] Compiling SwiftyBeaver AES256CBC.swift
[17/20] Compiling SwiftyBeaver Base64.swift
[18/20] Emitting module SwiftyBeaver
[19/20] Compiling SwiftyBeaver BaseDestination.swift
[20/20] Compiling SwiftyBeaver SwiftyBeaver.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] Emitting module SwiftyBeaver
[3/3] Compiling SwiftyBeaver SBPlatformDestination.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SBPlatformDestination.swift:277:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
            let session = URLSession(configuration:
                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SBPlatformDestination.swift:278:41: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
                URLSessionConfiguration.default,
                ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SBPlatformDestination.swift:279:27: error: 'nil' requires a contextual type
                delegate: nil, delegateQueue: operationQueue)
                          ^
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SBPlatformDestination.swift:284:28: error: cannot find 'URLRequest' in scope
             var request = URLRequest(url: serverURL,
                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SBPlatformDestination.swift:285:52: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalAndRemoteCacheData'
                                     cachePolicy: .reloadIgnoringLocalAndRemoteCacheData,
                                                  ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/SBPlatformDestination.swift:330:43: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                        status = response.statusCode
                                 ~~~~~~~~ ^~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1