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-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/ckanchan/CDKOraccInterface.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e25c669 Updated Package.swift
Cloned https://github.com/ckanchan/CDKOraccInterface.git
Revision (git rev-parse @):
e25c669bb487a0afc43e0d47148f363d3d211ebf
SUCCESS checkout https://github.com/ckanchan/CDKOraccInterface.git at main
========================================
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-0":/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.29s)
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 (0.75s)
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 main (68c41b9)
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/35] Emitting module CDKSwiftOracc
[6/38] Compiling ZIPFoundation FileManager+ZIP.swift
[7/38] Compiling CDKSwiftOracc OraccCatalogueEntry.swift
[8/38] Compiling CDKSwiftOracc TextID.swift
[9/38] Compiling CDKSwiftOracc TextSearchCollection.swift
[10/38] Compiling CDKSwiftOracc TextSetProtocol.swift
[11/38] Compiling CDKSwiftOracc OraccGlossary.swift
[12/38] Compiling CDKSwiftOracc OraccLanguages.swift
[13/38] Compiling CDKSwiftOracc XISReference.swift
[14/38] Compiling CDKSwiftOracc Cuneifier.swift
[15/38] Compiling CDKSwiftOracc OraccGlobalSignList.swift
[16/38] Compiling CDKSwiftOracc String+CuneiformHelpers.swift
[17/38] Compiling CDKSwiftOracc NSAttributedStringKey+OraccAttributes.swift
[18/38] Compiling CDKSwiftOracc OraccHTML5Formatter.swift
[19/38] Compiling ZIPFoundation Archive.swift
[20/38] Emitting module ZIPFoundation
[21/38] Compiling ZIPFoundation Archive+Reading.swift
[22/38] Compiling ZIPFoundation Archive+Writing.swift
[23/38] Compiling CDKSwiftOracc OraccSwiftUIFormatter.swift
[24/38] Compiling CDKSwiftOracc OraccTextEdition.swift
[25/38] Compiling CDKSwiftOracc TextEditionFormatting.swift
[26/38] Compiling CDKSwiftOracc OraccWordForm.swift
[27/38] Compiling CDKSwiftOracc OraccCatalog.swift
[28/38] Compiling CDKSwiftOracc OraccCatalogueEntry+Codable.swift
[29/38] Compiling CDKSwiftOracc OraccCDLNode+Codable.swift
[30/38] Compiling CDKSwiftOracc OraccCDLNode+ExtendedAttributes.swift
[31/38] Compiling CDKSwiftOracc OraccCDLNode.swift
[32/38] Compiling CDKSwiftOracc CuneiformSignReading.swift
[33/38] Compiling CDKSwiftOracc GraphemeDescription+Codable.swift
[34/38] Compiling CDKSwiftOracc GraphemeDescription.swift
[35/38] Compiling CDKSwiftOracc NodeReference.swift
[37/39] Compiling ZIPFoundation Entry.swift
[38/39] Compiling ZIPFoundation Data+Serialization.swift
[39/39] Compiling ZIPFoundation Data+Compression.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/45] Compiling CDKOraccInterface CDKOraccInterfaceProtocol.swift
[42/45] Compiling CDKOraccInterface CDKOraccInterface.swift
[43/45] Compiling CDKOraccInterface CDKOraccProject.swift
[44/45] 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)
                                            ~^~~~~~~
[45/45] 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
[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