The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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: 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/marinofelipe/swift-package-info
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/marinofelipe/swift-package-info.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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 from cache (10.80s)
Fetching https://github.com/apple/swift-llbuild.git
[1/22212] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (1.25s)
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 from cache (0.47s)
Fetching https://github.com/apple/swift-driver.git
[1/29991] Fetching swift-driver
Fetched https://github.com/apple/swift-driver.git from cache (1.60s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-crypto.git
[1/4752] Fetching swift-certificates
[619/7931] Fetching swift-certificates, swift-system
[1064/21730] Fetching swift-certificates, swift-system, swift-collections
[2918/31046] Fetching swift-certificates, swift-system, swift-collections, yams
[6418/38721] Fetching swift-certificates, swift-system, swift-collections, yams, swift-crypto
[14247/50336] Fetching swift-certificates, swift-system, swift-collections, yams, swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-system.git from cache (0.89s)
Fetching https://github.com/marinofelipe/http_client
Fetched https://github.com/apple/swift-certificates.git from cache (0.89s)
Fetching https://github.com/tuist/XcodeProj.git
[32574/42405] Fetching swift-collections, yams, swift-crypto, swift-argument-parser
[41655/42657] Fetching swift-collections, yams, swift-crypto, swift-argument-parser, http_client
[42658/63060] Fetching swift-collections, yams, swift-crypto, swift-argument-parser, http_client, xcodeproj
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.53s)
[38184/51445] Fetching swift-collections, yams, swift-crypto, http_client, xcodeproj
Fetched https://github.com/apple/swift-collections.git from cache (1.71s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.71s)
[21810/29971] Fetching yams, http_client, xcodeproj
Fetched https://github.com/jpsim/Yams.git from cache (1.73s)
[12902/20655] Fetching http_client, xcodeproj
Fetched https://github.com/marinofelipe/http_client from cache (1.49s)
Fetched https://github.com/tuist/XcodeProj.git from cache (1.52s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.39s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 0.4.1 (0.43s)
Fetching https://github.com/apple/swift-asn1.git
[1/1076] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.26s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.5.0 (0.41s)
Computing version for https://github.com/marinofelipe/http_client
Computed https://github.com/marinofelipe/http_client at 0.0.4 (0.40s)
Fetching https://github.com/apple/swift-log.git
[1/3173] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.38s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.7.1 (0.39s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/tadija/AEXML.git
[1/2095] Fetching aexml
[483/3499] Fetching aexml, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.28s)
Fetched https://github.com/tadija/AEXML.git from cache (0.28s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 0.7.0 (0.40s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (0.38s)
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.42s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (1.13s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.22s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.37s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (0.43s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (0.39s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.40s)
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/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/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/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-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at release/5.9 (5665fc7)
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/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-driver.git
Working copy of https://github.com/apple/swift-driver.git resolved at release/5.9 (1b2b851)
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-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at release/5.9 (d73a305)
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.6.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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.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 (2b7ebe6)
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/610] Write sources
[12/610] Compiling a_d2i_fp.c
[13/610] Compiling a_bool.c
[14/610] Compiling a_i2d_fp.c
[15/610] Compiling a_bitstr.c
[16/610] Compiling hexdump.c
[17/610] Compiling a_dup.c
[18/610] Compiling a_int.c
[19/610] Write swift-version-24593BA9C3E375BF.txt
[20/610] Compiling llvmSupport UnicodeCaseFold.cpp
[21/610] Compiling llvmSupport Valgrind.cpp
[22/618] Compiling llvmSupport circular_raw_ostream.cpp
[23/618] Compiling llvmSupport Unicode.cpp
[24/618] Compiling llvmSupport Twine.cpp
[25/618] Compiling llvmSupport Threading.cpp
[26/618] Compiling llvmSupport Triple.cpp
[27/618] Compiling llvmSupport raw_ostream.cpp
[28/618] Compiling llvmSupport StringSaver.cpp
[29/618] Compiling llvmSupport StringMap.cpp
[30/618] Compiling llvmSupport TargetParser.cpp
[31/618] Compiling llvmSupport StringExtras.cpp
[32/618] Compiling llvmSupport StringRef.cpp
[33/618] Compiling llvmSupport YAMLParser.cpp
[34/618] Compiling llvmSupport SmallVector.cpp
[35/618] Compiling llvmSupport SmallPtrSet.cpp
[37/618] Compiling HTTPClientCore Result+HTTPClient.swift
[38/618] Compiling HTTPClientCore HTTPRequestScheme.swift
[39/618] Compiling HTTPClientCore Set+HTTPClient.swift
[40/618] Compiling HTTPClientCore HTTPRequestMethod.swift
[40/618] Compiling llvmSupport Program.cpp
[41/618] Compiling llvmSupport Options.cpp
[42/618] Compiling llvmSupport NativeFormatting.cpp
[43/618] Compiling llvmSupport Process.cpp
[44/618] Compiling llvmSupport SourceMgr.cpp
[45/618] Compiling llvmSupport MathExtras.cpp
[46/618] Compiling llvmSupport Signals.cpp
[47/618] Compiling llvmSupport Mutex.cpp
[49/618] 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
                 ^
[50/618] 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
                      ~^~~~~~~~~~~~~~~~~~~~~~
[50/618] Compiling llvmSupport Path.cpp
[51/618] Compiling llvmSupport Memory.cpp
[52/618] Compiling llvmSupport ManagedStatic.cpp
[53/618] Compiling llvmSupport Locale.cpp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[55/618] Compiling HTTPClientCore Data+HTTPClient.swift
[56/618] 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
                 ^
[56/618] Compiling llvmSupport MD5.cpp
[57/618] Compiling llvmSupport MemoryBuffer.cpp
[58/618] Compiling llvmSupport Hashing.cpp
error: fatalError
[59/618] Compiling llvmSupport Error.cpp
[59/618] Compiling llvmSupport Errno.cpp
[59/618] Compiling llvmSupport ErrorHandling.cpp
[59/618] Compiling llvmSupport FoldingSet.cpp
[59/618] Compiling llvmSupport FileUtilities.cpp
[59/618] Compiling llvmSupport FormatVariadic.cpp
[59/618] Compiling llvmSupport Host.cpp
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/560] Write sources
[16/561] Compiling llvmSupport Errno.cpp
[17/561] Write swift-version-24593BA9C3E375BF.txt
[18/561] Compiling llvmSupport FormatVariadic.cpp
[19/561] Compiling llvmSupport FoldingSet.cpp
[21/565] Compiling TSCLibc libc.swift
[22/565] Emitting module TSCLibc
[22/566] Compiling llvmSupport ErrorHandling.cpp
[23/566] Compiling llvmSupport Debug.cpp
[25/576] Compiling llvmSupport Error.cpp
[26/576] Compiling llvmSupport FileUtilities.cpp
[28/576] Compiling Logging MetadataProvider.swift
[29/576] 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
                      ~^~~~~~~~~~~~~~~~~~~~~~
[30/576] 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
                 ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/580] 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
                 ^
error: fatalError
[31/582] Compiling llvmSupport ConvertUTFWrapper.cpp
[31/582] Compiling llvmSupport DJB.cpp
[31/582] Compiling llvmSupport Host.cpp
BUILD FAILURE 5.10 linux

Build Machine: Linux 2