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-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.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ckanchan/CDKOraccInterface.git
Reference: main
Cloned https://github.com/ckanchan/CDKOraccInterface.git into spi-builder-workspace
SUCCESS checkout https://github.com/ckanchan/CDKOraccInterface.git at main
========================================
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
Fetching https://github.com/ckanchan/CDKSwiftOracc
[1/1528] Fetching cdkswiftoracc
Fetched https://github.com/ckanchan/CDKSwiftOracc (0.36s)
Fetching https://github.com/weichsel/ZIPFoundation/
[1/4712] Fetching zipfoundation
Fetched https://github.com/weichsel/ZIPFoundation/ (0.47s)
Computing version for https://github.com/weichsel/ZIPFoundation/
Computed https://github.com/weichsel/ZIPFoundation/ at 0.9.9 (0.29s)
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
Building for debugging...
[1/31] Emitting module CDKSwiftOracc
[2/34] Compiling CDKSwiftOracc OraccSwiftUIFormatter.swift
[3/34] Compiling CDKSwiftOracc OraccTextEdition.swift
[4/34] Compiling CDKSwiftOracc TextEditionFormatting.swift
[5/34] Compiling CDKSwiftOracc TextSetProtocol.swift
[6/34] Compiling CDKSwiftOracc OraccGlossary.swift
[7/34] Compiling CDKSwiftOracc OraccLanguages.swift
[8/34] Compiling CDKSwiftOracc OraccWordForm.swift
[9/34] Compiling CDKSwiftOracc OraccCatalog.swift
[10/34] Compiling CDKSwiftOracc OraccCatalogueEntry+Codable.swift
[11/34] Compiling CDKSwiftOracc OraccCatalogueEntry.swift
[12/34] Compiling CDKSwiftOracc TextID.swift
[13/34] Compiling CDKSwiftOracc TextSearchCollection.swift
[14/34] Compiling CDKSwiftOracc String+CuneiformHelpers.swift
[15/34] Compiling CDKSwiftOracc NSAttributedStringKey+OraccAttributes.swift
[16/34] Compiling CDKSwiftOracc OraccHTML5Formatter.swift
[17/34] Compiling CDKSwiftOracc CuneiformSignReading.swift
[18/34] Compiling CDKSwiftOracc GraphemeDescription+Codable.swift
[19/34] Compiling CDKSwiftOracc GraphemeDescription.swift
[20/34] Compiling CDKSwiftOracc NodeReference.swift
[21/34] Compiling CDKSwiftOracc XISReference.swift
[22/34] Compiling CDKSwiftOracc Cuneifier.swift
[23/34] Compiling CDKSwiftOracc OraccGlobalSignList.swift
[24/34] Compiling CDKSwiftOracc OraccCDLNode+Codable.swift
[25/34] Compiling CDKSwiftOracc OraccCDLNode+ExtendedAttributes.swift
[26/34] Compiling CDKSwiftOracc OraccCDLNode.swift
[27/35] Compiling ZIPFoundation FileManager+ZIP.swift
[30/36] Compiling ZIPFoundation Data+Serialization.swift
[31/36] Compiling ZIPFoundation Data+Compression.swift
[32/36] Compiling ZIPFoundation Entry.swift
[33/36] Compiling ZIPFoundation Archive+Writing.swift
[34/36] Compiling ZIPFoundation Archive+Reading.swift
[35/36] Emitting module ZIPFoundation
[36/36] Compiling ZIPFoundation Archive.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/43] Compiling CDKOraccInterface CDKOraccInterfaceProtocol.swift
[40/43] Compiling CDKOraccInterface CDKOraccProject.swift
[41/43] Compiling CDKOraccInterface CDKOraccInterface.swift
[42/43] 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)
                                            ~^~~~~~~
[43/43] 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 1