The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-package-info with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.35.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/marinofelipe/swift-package-info.git
Reference: 1.5.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/marinofelipe/swift-package-info
 * tag               1.5.0      -> FETCH_HEAD
HEAD is now at f5c1031 Merge pull request #47 from marinofelipe/feat/revision
Cloned https://github.com/marinofelipe/swift-package-info.git
Revision (git rev-parse @):
f5c103178212565df1e6b3b3b93a9de3ddd45f57
SUCCESS checkout https://github.com/marinofelipe/swift-package-info.git at 1.5.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/marinofelipe/swift-package-info.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/apple/swift-package-manager
[1/128555] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager (10.03s)
Fetching https://github.com/apple/swift-llbuild.git
[1/22212] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git (1.19s)
Fetching https://github.com/apple/swift-tools-support-core.git
[1/6203] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git (0.45s)
Fetching https://github.com/apple/swift-driver.git
[1/29991] Fetching swift-driver
Fetched https://github.com/apple/swift-driver.git (1.29s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-system.git
[1/9316] Fetching yams
[2/12495] Fetching yams, swift-system
[8863/24110] Fetching yams, swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-system.git (0.98s)
Fetching https://github.com/apple/swift-certificates.git
Fetched https://github.com/apple/swift-argument-parser.git (0.98s)
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/jpsim/Yams.git (1.01s)
Fetching https://github.com/apple/swift-crypto.git
[1/4752] Fetching swift-certificates
[4753/18551] Fetching swift-certificates, swift-collections
[4891/26226] Fetching swift-certificates, swift-collections, swift-crypto
Fetched https://github.com/apple/swift-certificates.git (0.34s)
Fetching https://github.com/marinofelipe/http_client
[5356/21474] Fetching swift-collections, swift-crypto
[12613/21726] Fetching swift-collections, swift-crypto, http_client
Fetched https://github.com/marinofelipe/http_client (0.23s)
Fetching https://github.com/tuist/XcodeProj.git
[14344/21474] Fetching swift-collections, swift-crypto
[21475/41877] Fetching swift-collections, swift-crypto, xcodeproj
[16245/28078] Fetching swift-crypto, xcodeproj
Fetched https://github.com/apple/swift-collections.git (1.02s)
Fetched https://github.com/apple/swift-crypto.git (1.11s)
[15303/20403] Fetching xcodeproj
Fetched https://github.com/tuist/XcodeProj.git (1.64s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.60s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 0.4.1 (0.71s)
Fetching https://github.com/apple/swift-asn1.git
[1/1076] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.37s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.5.0 (0.68s)
Computing version for https://github.com/marinofelipe/http_client
Computed https://github.com/marinofelipe/http_client at 0.0.4 (0.66s)
Fetching https://github.com/apple/swift-log.git
[1/3173] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.55s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.7.1 (0.47s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/tadija/AEXML.git
[1/1404] Fetching pathkit
[338/3499] Fetching pathkit, aexml
Fetched https://github.com/kylef/PathKit.git (1.32s)
Fetched https://github.com/tadija/AEXML.git (1.32s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 0.7.0 (3.47s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (2.56s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.3 (0.73s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (1.01s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git (0.20s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.35s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (0.39s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (0.40s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.37s)
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at release/5.9
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.6
Creating working copy for https://github.com/apple/swift-package-manager
Working copy of https://github.com/apple/swift-package-manager resolved at swift-5.9.2-RELEASE
Creating working copy for https://github.com/apple/swift-driver.git
Working copy of https://github.com/apple/swift-driver.git resolved at release/5.9
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.5.0
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at release/5.9
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.6
Creating working copy for https://github.com/marinofelipe/http_client
Working copy of https://github.com/marinofelipe/http_client resolved at 0.0.4
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.7.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.2.3
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 0.4.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 0.7.0
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.6.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/561] Compiling a_gentm.c
[2/561] Compiling a_dup.c
[3/561] Compiling p_ec_asn1.c
[4/561] Compiling a_i2d_fp.c
[5/561] Compiling a_mbstr.c
[6/561] Compiling a_int.c
[7/561] Compiling llvmSupport Valgrind.cpp
[8/561] Compiling llvmSupport UnicodeCaseFold.cpp
[9/561] Compiling a_d2i_fp.c
[10/563] Compiling llvmSupport circular_raw_ostream.cpp
[11/572] Compiling llvmSupport Twine.cpp
[12/578] Compiling llvmSupport Unicode.cpp
[13/578] Compiling llvmSupport Threading.cpp
[14/604] Compiling llvmSupport raw_ostream.cpp
[15/630] Compiling llvmSupport Triple.cpp
[16/643] Compiling llvmSupport YAMLParser.cpp
[18/662] Compiling DequeModule _DequeBuffer.swift
[19/662] Compiling DequeModule _DequeBufferHeader.swift
[20/662] Compiling DequeModule Deque.swift
[21/662] Compiling DequeModule UnsafeMutableBufferPointer+Utilities.swift
[22/664] Compiling HTTPClientCore HTTPRequestMethod.swift
[23/664] Compiling HTTPClientCore HTTPRequestScheme.swift
[24/664] Compiling DequeModule Deque+CustomDebugStringConvertible.swift
[25/664] Compiling DequeModule Deque+CustomReflectable.swift
[26/664] Compiling DequeModule Deque+CustomStringConvertible.swift
[27/664] Compiling DequeModule Deque+Hashable.swift
[28/666] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[29/666] Compiling DequeModule Deque+Extras.swift
[30/666] Compiling DequeModule Deque+Collection.swift
[31/666] Compiling DequeModule Deque+Equatable.swift
[32/666] Compiling HTTPClientCore Result+HTTPClient.swift
[33/666] Compiling HTTPClientCore Set+HTTPClient.swift
[37/666] Compiling OrderedCollections _HashTable+Bucket.swift
[38/666] Compiling OrderedCollections _HashTable+BucketIterator.swift
[39/666] Compiling OrderedCollections _HashTable+Constants.swift
[40/666] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[41/666] Compiling OrderedCollections _HashTable+Testing.swift
[42/666] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[43/666] Compiling OrderedCollections _HashTable.swift
[44/666] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[45/666] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[46/666] Compiling OrderedCollections OrderedSet+Diffing.swift
[47/666] Compiling OrderedCollections OrderedSet+Equatable.swift
[48/666] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[49/666] Compiling OrderedCollections OrderedSet+Hashable.swift
[50/666] Compiling DequeModule Compatibility.swift
[51/666] Compiling DequeModule Deque+Codable.swift
[57/666] Compiling DequeModule Deque._UnsafeHandle.swift
[58/666] Compiling SwiftASN1 UTCTime.swift
[59/666] Compiling SwiftASN1 Errors.swift
[62/666] Compiling DequeModule _DequeSlot.swift
[63/666] Compiling DequeModule _UnsafeWrappedBuffer.swift
[67/666] Compiling DequeModule Deque+Sendable.swift
[68/666] Compiling DequeModule Deque+Testing.swift
[69/666] Compiling DequeModule Deque._Storage.swift
[72/672] Emitting module SwiftASN1
[73/672] Compiling OrderedCollections OrderedDictionary+Elements.swift
[74/672] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[75/672] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[76/672] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[77/672] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[78/672] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[79/672] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[80/672] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[81/672] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[82/672] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[83/672] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[84/672] Compiling OrderedCollections OrderedSet+Sendable.swift
[85/672] Compiling OrderedCollections OrderedSet+SubSequence.swift
[86/672] Emitting module OrderedCollections
[102/672] Emitting module DequeModule
[105/674] Compiling HTTPClientCore HTTPRequestError.swift
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestError.swift:5:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case invalidResponse(_ urlResponse: URLResponse)
                                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[106/674] Emitting module TSCLibc
[107/674] Compiling TSCLibc libc.swift
[112/676] Compiling PackageCollectionsModel PackageCollectionModel.swift
[113/676] Emitting module Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[114/676] Emitting module HTTPClientCore
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestBuilder/HTTPRequestBuilder.swift:35:30: error: cannot find type 'URLRequest' in scope
    private var cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestBuilder/HTTPRequestBuilder.swift:97:44: error: cannot find type 'URLRequest' in scope
    public func cachePolicy(_ cachePolicy: URLRequest.CachePolicy) -> HTTPRequestBuilder {
                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestBuilder/HTTPRequestBuilder.swift:108:35: error: cannot find type 'URLRequest' in scope
    public func build() throws -> URLRequest {
                                  ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestBuilder/HTTPRequestBuilder.swift:115:46: error: cannot find type 'URLRequest' in scope
    private func makeUrlRequest() throws  -> URLRequest {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestError.swift:5:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case invalidResponse(_ urlResponse: URLResponse)
                                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[115/676] Compiling Logging MetadataProvider.swift
[116/676] Compiling HTTPClientCore Data+HTTPClient.swift
[119/678] Compiling HTTPClientCore HTTPRequestBuilder.swift
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestBuilder/HTTPRequestBuilder.swift:35:30: error: cannot find type 'URLRequest' in scope
    private var cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestBuilder/HTTPRequestBuilder.swift:97:44: error: cannot find type 'URLRequest' in scope
    public func cachePolicy(_ cachePolicy: URLRequest.CachePolicy) -> HTTPRequestBuilder {
                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestBuilder/HTTPRequestBuilder.swift:108:35: error: cannot find type 'URLRequest' in scope
    public func build() throws -> URLRequest {
                                  ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestBuilder/HTTPRequestBuilder.swift:115:46: error: cannot find type 'URLRequest' in scope
    private func makeUrlRequest() throws  -> URLRequest {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestBuilder/HTTPRequestBuilder.swift:120:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestBuilder/HTTPRequestBuilder.swift:138:24: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
        cachePolicy = .useProtocolCachePolicy
                      ~^~~~~~~~~~~~~~~~~~~~~~
error: fatalError
[121/678] Emitting module PackageCollectionsModel
[122/678] Emitting module PathKit
[123/680] Emitting module ArgumentParserToolInfo
[124/680] Compiling ArgumentParserToolInfo ToolInfo.swift
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/561] Compiling llvmSupport SmallVector.cpp
[2/562] Compiling llvmSupport StringExtras.cpp
[4/562] Emitting module TSCLibc
[4/563] Compiling llvmSupport StringSaver.cpp
[5/563] Compiling llvmSupport StringMap.cpp
[8/567] Compiling llvmSupport TargetParser.cpp
[9/568] Compiling llvmSupport StringRef.cpp
[10/573] Compiling llvmSupport raw_ostream.cpp
[12/584] Compiling Logging Locks.swift
[13/584] Compiling HTTPClientCore HTTPRequestBuilder.swift
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestBuilder/HTTPRequestBuilder.swift:35:30: error: cannot find type 'URLRequest' in scope
    private var cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestBuilder/HTTPRequestBuilder.swift:97:44: error: cannot find type 'URLRequest' in scope
    public func cachePolicy(_ cachePolicy: URLRequest.CachePolicy) -> HTTPRequestBuilder {
                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestBuilder/HTTPRequestBuilder.swift:108:35: error: cannot find type 'URLRequest' in scope
    public func build() throws -> URLRequest {
                                  ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestBuilder/HTTPRequestBuilder.swift:115:46: error: cannot find type 'URLRequest' in scope
    private func makeUrlRequest() throws  -> URLRequest {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestBuilder/HTTPRequestBuilder.swift:120:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestBuilder/HTTPRequestBuilder.swift:138:24: error: cannot infer contextual base in reference to member 'useProtocolCachePolicy'
        cachePolicy = .useProtocolCachePolicy
                      ~^~~~~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/584] Emitting module HTTPClientCore
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestBuilder/HTTPRequestBuilder.swift:35:30: error: cannot find type 'URLRequest' in scope
    private var cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestBuilder/HTTPRequestBuilder.swift:97:44: error: cannot find type 'URLRequest' in scope
    public func cachePolicy(_ cachePolicy: URLRequest.CachePolicy) -> HTTPRequestBuilder {
                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestBuilder/HTTPRequestBuilder.swift:108:35: error: cannot find type 'URLRequest' in scope
    public func build() throws -> URLRequest {
                                  ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestBuilder/HTTPRequestBuilder.swift:115:46: error: cannot find type 'URLRequest' in scope
    private func makeUrlRequest() throws  -> URLRequest {
                                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestError.swift:5:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case invalidResponse(_ urlResponse: URLResponse)
                                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[15/584] Compiling HTTPClientCore HTTPRequestError.swift
/host/spi-builder-workspace/.build/checkouts/http_client/Sources/HTTPClientCore/HTTPRequestError.swift:5:41: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case invalidResponse(_ urlResponse: URLResponse)
                                        ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[16/584] Emitting module Logging
[17/584] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[18/584] Compiling PathKit PathKit.swift
[19/584] Emitting module PathKit
[20/594] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
error: fatalError
[20/599] Compiling llvmSupport SourceMgr.cpp
[21/599] Compiling Logging LogHandler.swift
BUILD FAILURE 5.9 linux

Build Machine: Linux 1