The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CDKOraccInterface with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-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/ckanchan/CDKOraccInterface.git
Reference: 0.0.3
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/ckanchan/CDKOraccInterface
 * tag               0.0.3      -> FETCH_HEAD
HEAD is now at 8c75fb2 Updated CDKOraccProject to use automatically synthesized `Hashable` and `Equatable` conformances
Cloned https://github.com/ckanchan/CDKOraccInterface.git
Revision (git rev-parse @):
8c75fb2d3bd6007c44f63659dbfacf998ec3a4ce
SUCCESS checkout https://github.com/ckanchan/CDKOraccInterface.git at 0.0.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/ckanchan/CDKOraccInterface.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/ckanchan/CDKSwiftOracc
[1/1528] Fetching cdkswiftoracc
Fetched https://github.com/ckanchan/CDKSwiftOracc from cache (0.32s)
Fetching https://github.com/weichsel/ZIPFoundation/
[1/5092] Fetching zipfoundation
Fetched https://github.com/weichsel/ZIPFoundation/ from cache (0.51s)
Computing version for https://github.com/weichsel/ZIPFoundation/
Computed https://github.com/weichsel/ZIPFoundation/ at 0.9.9 (1.07s)
Creating working copy for https://github.com/weichsel/ZIPFoundation/
Working copy of https://github.com/weichsel/ZIPFoundation/ resolved at 0.9.9
Creating working copy for https://github.com/ckanchan/CDKSwiftOracc
Working copy of https://github.com/ckanchan/CDKSwiftOracc resolved at master (3d91c1d)
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/34] Compiling CDKSwiftOracc OraccLanguages.swift
[6/34] Compiling CDKSwiftOracc XISReference.swift
[7/34] Compiling CDKSwiftOracc Cuneifier.swift
[8/34] Compiling CDKSwiftOracc CuneiformSignReading.swift
[9/34] Compiling CDKSwiftOracc GraphemeDescription+Codable.swift
[10/34] Compiling CDKSwiftOracc GraphemeDescription.swift
[11/37] Compiling CDKSwiftOracc TextSearchCollection.swift
[12/37] Compiling CDKSwiftOracc TextSetProtocol.swift
[13/37] Compiling CDKSwiftOracc OraccGlossary.swift
[14/37] Emitting module CDKSwiftOracc
[15/37] Compiling CDKSwiftOracc NodeReference.swift
[16/37] Compiling CDKSwiftOracc OraccCDLNode+Codable.swift
[17/37] Compiling CDKSwiftOracc OraccCDLNode+ExtendedAttributes.swift
[18/37] Compiling CDKSwiftOracc OraccCDLNode.swift
[19/37] Compiling CDKSwiftOracc OraccWordForm.swift
[20/37] Compiling CDKSwiftOracc OraccCatalog.swift
[21/37] Compiling ZIPFoundation Data+Serialization.swift
[22/37] Compiling CDKSwiftOracc OraccCatalogueEntry+Codable.swift
[23/37] Compiling CDKSwiftOracc OraccCatalogueEntry.swift
[24/37] Compiling CDKSwiftOracc TextID.swift
[25/37] Compiling ZIPFoundation Data+Compression.swift
[26/37] Compiling ZIPFoundation Archive.swift
[27/37] Compiling ZIPFoundation Archive+Reading.swift
[28/37] Emitting module ZIPFoundation
[29/37] Compiling ZIPFoundation Archive+Writing.swift
[30/37] Compiling CDKSwiftOracc OraccGlobalSignList.swift
[31/37] Compiling CDKSwiftOracc String+CuneiformHelpers.swift
[32/37] Compiling CDKSwiftOracc NSAttributedStringKey+OraccAttributes.swift
[33/37] Compiling ZIPFoundation Entry.swift
[34/37] Compiling ZIPFoundation FileManager+ZIP.swift
[36/38] Compiling CDKSwiftOracc OraccHTML5Formatter.swift
[37/38] Compiling CDKSwiftOracc OraccTextEdition.swift
[38/38] Compiling CDKSwiftOracc TextEditionFormatting.swift
[40/44] Compiling CDKOraccInterface CDKOraccGithubArchivetoSwift.swift
/host/spi-builder-workspace/Sources/CDKOraccInterface/CDKOraccGithubArchivetoSwift.swift:48:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    let session = URLSession(configuration: .default)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/CDKOraccInterface/CDKOraccGithubArchivetoSwift.swift:48:46: error: cannot infer contextual base in reference to member 'default'
    let session = URLSession(configuration: .default)
                                            ~^~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/44] Emitting module CDKOraccInterface
/host/spi-builder-workspace/Sources/CDKOraccInterface/CDKOraccGithubArchivetoSwift.swift:48:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    let session = URLSession(configuration: .default)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/CDKOraccInterface/CDKOraccGithubArchivetoSwift.swift:48:46: error: cannot infer contextual base in reference to member 'default'
    let session = URLSession(configuration: .default)
                                            ~^~~~~~~
[42/44] Compiling CDKOraccInterface CDKOraccProject.swift
[43/44] Compiling CDKOraccInterface CDKOraccInterface.swift
[44/44] Compiling CDKOraccInterface CDKOraccInterfaceProtocol.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module CDKOraccInterface
/host/spi-builder-workspace/Sources/CDKOraccInterface/CDKOraccGithubArchivetoSwift.swift:48:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    let session = URLSession(configuration: .default)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/CDKOraccInterface/CDKOraccGithubArchivetoSwift.swift:48:46: error: cannot infer contextual base in reference to member 'default'
    let session = URLSession(configuration: .default)
                                            ~^~~~~~~
[3/3] Compiling CDKOraccInterface CDKOraccGithubArchivetoSwift.swift
/host/spi-builder-workspace/Sources/CDKOraccInterface/CDKOraccGithubArchivetoSwift.swift:48:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    let session = URLSession(configuration: .default)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/CDKOraccInterface/CDKOraccGithubArchivetoSwift.swift:48:46: error: cannot infer contextual base in reference to member 'default'
    let session = URLSession(configuration: .default)
                                            ~^~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1