The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CDKOraccInterface with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-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.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ckanchan/CDKOraccInterface.git
Reference: 0.0.3
Cloned https://github.com/ckanchan/CDKOraccInterface.git into spi-builder-workspace
SUCCESS checkout https://github.com/ckanchan/CDKOraccInterface.git at 0.0.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/ckanchan/CDKSwiftOracc
[1/1528] Fetching cdkswiftoracc
Fetched https://github.com/ckanchan/CDKSwiftOracc (0.38s)
Fetching https://github.com/weichsel/ZIPFoundation/
[1/4712] Fetching zipfoundation
Fetched https://github.com/weichsel/ZIPFoundation/ (0.50s)
Computing version for https://github.com/weichsel/ZIPFoundation/
Computed https://github.com/weichsel/ZIPFoundation/ at 0.9.9 (1.22s)
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
Building for debugging...
[1/30] Emitting module CDKSwiftOracc
[2/33] Compiling CDKSwiftOracc OraccHTML5Formatter.swift
[3/33] Compiling CDKSwiftOracc OraccTextEdition.swift
[4/33] Compiling CDKSwiftOracc TextEditionFormatting.swift
[5/33] Compiling CDKSwiftOracc OraccCDLNode.swift
[6/33] Compiling CDKSwiftOracc OraccWordForm.swift
[7/33] Compiling CDKSwiftOracc OraccCatalog.swift
[8/33] Compiling CDKSwiftOracc NodeReference.swift
[9/33] Compiling CDKSwiftOracc OraccCDLNode+Codable.swift
[10/33] Compiling CDKSwiftOracc OraccCDLNode+ExtendedAttributes.swift
[11/33] Compiling CDKSwiftOracc CuneiformSignReading.swift
[12/33] Compiling CDKSwiftOracc GraphemeDescription+Codable.swift
[13/33] Compiling CDKSwiftOracc GraphemeDescription.swift
[14/33] Compiling CDKSwiftOracc OraccLanguages.swift
[15/33] Compiling CDKSwiftOracc XISReference.swift
[16/33] Compiling CDKSwiftOracc Cuneifier.swift
[17/33] Compiling CDKSwiftOracc OraccGlobalSignList.swift
[18/33] Compiling CDKSwiftOracc String+CuneiformHelpers.swift
[19/33] Compiling CDKSwiftOracc NSAttributedStringKey+OraccAttributes.swift
[20/33] Compiling CDKSwiftOracc OraccCatalogueEntry+Codable.swift
[21/33] Compiling CDKSwiftOracc OraccCatalogueEntry.swift
[22/33] Compiling CDKSwiftOracc TextID.swift
[23/33] Compiling CDKSwiftOracc TextSearchCollection.swift
[24/33] Compiling CDKSwiftOracc TextSetProtocol.swift
[25/33] Compiling CDKSwiftOracc OraccGlossary.swift
[26/34] Compiling ZIPFoundation Archive+Writing.swift
[27/34] Compiling ZIPFoundation Archive.swift
[28/34] Compiling ZIPFoundation FileManager+ZIP.swift
[30/35] Compiling ZIPFoundation Entry.swift
[31/35] Compiling ZIPFoundation Data+Serialization.swift
[32/35] Compiling ZIPFoundation Data+Compression.swift
[34/35] Emitting module ZIPFoundation
[35/35] Compiling ZIPFoundation Archive+Reading.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/42] Compiling CDKOraccInterface CDKOraccInterfaceProtocol.swift
[39/42] Compiling CDKOraccInterface CDKOraccInterface.swift
[40/42] Compiling CDKOraccInterface CDKOraccProject.swift
[41/42] 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/42] 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.9 linux

Build Machine: Linux 2