The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BartyCrouch with Swift 5.8 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FlineDev/BartyCrouch.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/FlineDev/BartyCrouch
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at aabff74 Update README.md
Cloned https://github.com/FlineDev/BartyCrouch.git
Revision (git rev-parse @):
aabff74ecce1d4f893b2fccd5028d866e2100ebd
SUCCESS checkout https://github.com/FlineDev/BartyCrouch.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/FlineDev/BartyCrouch.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/Flinesoft/Microya.git
[1/824] Fetching microya
Fetched https://github.com/Flinesoft/Microya.git (0.26s)
Fetching https://github.com/jdfergason/swift-toml.git
[1/582] Fetching swift-toml
Fetched https://github.com/jdfergason/swift-toml.git (0.24s)
Fetching https://github.com/pointfreeco/swift-custom-dump.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/jakeheis/SwiftCLI.git
[1/5074] Fetching swiftcli
[560/9299] Fetching swiftcli, swift-custom-dump
[9300/68631] Fetching swiftcli, swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump.git (3.91s)
Fetching https://github.com/onevcat/Rainbow.git
Fetched https://github.com/jakeheis/SwiftCLI.git (3.91s)
Fetching https://github.com/Flinesoft/MungoHealer.git
Fetched https://github.com/apple/swift-syntax.git (3.96s)
Fetching https://github.com/Flinesoft/HandySwift.git
[1/1114] Fetching rainbow
[425/1562] Fetching rainbow, mungohealer
[1563/4764] Fetching rainbow, mungohealer, handyswift
Fetched https://github.com/Flinesoft/MungoHealer.git (0.30s)
[1179/4316] Fetching rainbow, handyswift
Fetched https://github.com/onevcat/Rainbow.git (0.31s)
[513/3202] Fetching handyswift
Fetched https://github.com/Flinesoft/HandySwift.git (0.40s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (0.33s)
Computing version for https://github.com/Flinesoft/MungoHealer.git
Computed https://github.com/Flinesoft/MungoHealer.git at 0.3.4 (0.36s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (0.46s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (1.11s)
Computing version for https://github.com/Flinesoft/HandySwift.git
Computed https://github.com/Flinesoft/HandySwift.git at 3.4.0 (0.35s)
Computing version for https://github.com/pointfreeco/swift-custom-dump.git
Computed https://github.com/pointfreeco/swift-custom-dump.git at 0.11.2 (0.35s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/2327] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay (0.46s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.36s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump.git
Working copy of https://github.com/pointfreeco/swift-custom-dump.git resolved at 0.11.2
Creating working copy for https://github.com/Flinesoft/Microya.git
Working copy of https://github.com/Flinesoft/Microya.git resolved at support/without-combine
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
Creating working copy for https://github.com/Flinesoft/HandySwift.git
Working copy of https://github.com/Flinesoft/HandySwift.git resolved at 3.4.0
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/Flinesoft/MungoHealer.git
Working copy of https://github.com/Flinesoft/MungoHealer.git resolved at 0.3.4
Creating working copy for https://github.com/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 6.0.3
Creating working copy for https://github.com/jdfergason/swift-toml.git
Working copy of https://github.com/jdfergason/swift-toml.git resolved at master
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 508.0.1
warning: 'spi-builder-workspace': Invalid Resource 'Secrets/secrets.json': File not found.
Building for debugging...
[0/21] Copying Localizable.strings
[0/21] Copying Info.plist
[2/21] Copying Localizable.strings
[4/154] Emitting module BartyCrouchUtility
[5/154] Emitting module Toml
[6/155] Compiling Rainbow Style.swift
[7/156] Compiling SwiftSyntax SourceLocation.swift
[8/156] Compiling SwiftSyntax SourcePresence.swift
[9/156] Compiling Rainbow StringGenerator.swift
[10/156] Compiling Rainbow String+Rainbow.swift
[11/156] Compiling Rainbow XcodeColorsSupport.swift
[12/156] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[13/156] Compiling SwiftSyntax RawSyntaxTokenView.swift
[14/156] Compiling SwiftSyntax RawSyntaxNodes.swift
[15/158] Compiling SwiftSyntax CommonAncestor.swift
[16/158] Compiling HandySwift Unowned.swift
[17/160] Compiling SwiftSyntax SyntaxArena.swift
[18/160] Compiling SwiftSyntax SyntaxChildren.swift
[19/160] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[23/160] Compiling SwiftSyntax SyntaxKind.swift
[24/160] Compiling SwiftSyntax AbsolutePosition.swift
[25/160] Compiling SwiftSyntax BumpPtrAllocator.swift
[26/160] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[27/160] Compiling SwiftSyntax SyntaxBaseNodes.swift
[28/160] Compiling SwiftSyntax SyntaxEnum.swift
[29/160] Compiling SwiftSyntax RawSyntaxValidation.swift
[30/160] Compiling SwiftSyntax SourceLength.swift
[31/160] Compiling SwiftSyntax Misc.swift
[32/160] Compiling SwiftSyntax Syntax.swift
[38/161] Compiling Rainbow Rainbow.swift
[39/161] Emitting module SwiftCLI
[51/161] Emitting module Rainbow
[52/161] Compiling BartyCrouchUtility Constants.swift
[57/163] Compiling Microya RequestLoggerPlugin.swift
[58/163] Compiling BartyCrouchUtility Transformer.swift
[59/163] Emitting module HandySwift
[62/163] Emitting module MungoHealer
error: emit-module command failed with exit code 1 (use -v to see invocation)
[73/163] Emitting module Microya
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/MockedResponse.swift:52:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func httpUrlResponse(baseUrl: URL) -> HTTPURLResponse {
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiProvider.swift:90:34: error: cannot convert value of type 'HTTPURLResponse' (aka 'AnyObject') to expected argument type 'URLResponse?'
        response: mockedResponse.httpUrlResponse(baseUrl: baseUrl),
                                 ^
                                                                   as! URLResponse
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiProvider.swift:90:34: error: cannot convert value of type 'HTTPURLResponse' (aka 'AnyObject') to expected argument type 'URLResponse?'
        response: mockedResponse.httpUrlResponse(baseUrl: baseUrl),
                                 ^
                                                                   as! URLResponse
[76/163] Compiling Toml Tokens.swift
[78/163] Compiling Toml String.swift
[79/163] Compiling Microya ProgressIndicatorPlugin.swift
[80/164] Compiling Toml Toml.swift
[88/164] Compiling Toml Serialize.swift
[89/165] Compiling Microya HttpAuthPlugin.swift
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/MockedResponse.swift:52:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func httpUrlResponse(baseUrl: URL) -> HTTPURLResponse {
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/MockedResponse.swift:53:6: error: 'HTTPURLResponse' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    .init(
    ~^~~~
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/MockedResponse.swift:52:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func httpUrlResponse(baseUrl: URL) -> HTTPURLResponse {
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/MockedResponse.swift:53:6: error: 'HTTPURLResponse' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    .init(
    ~^~~~
[95/165] Compiling MungoHealer resource_bundle_accessor.swift
[97/165] Compiling SwiftCLI ValueBox.swift
[105/168] Wrapping AST for Rainbow for debugging
[107/168] Compiling Microya ResponseLoggerPlugin.swift
[112/169] Compiling BartyCrouchUtility Secret.swift
[114/172] Wrapping AST for MungoHealer for debugging
warning: 'spi-builder-workspace': Invalid Resource 'Secrets/secrets.json': File not found.
[0/1] Planning build
Building for debugging...
[0/17] Wrapping AST for MungoHealer for debugging
[1/17] Wrapping AST for Toml for debugging
[3/61] Emitting module BartyCrouchUtility
[5/67] Wrapping AST for BartyCrouchUtility for debugging
[7/67] Compiling SwiftCLI VersionCommand.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/67] Emitting module Microya
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/MockedResponse.swift:52:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func httpUrlResponse(baseUrl: URL) -> HTTPURLResponse {
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[9/68] Compiling Microya ApiError.swift
[10/75] Compiling Microya MockedResponse.swift
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/MockedResponse.swift:52:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func httpUrlResponse(baseUrl: URL) -> HTTPURLResponse {
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/MockedResponse.swift:53:6: error: 'HTTPURLResponse' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    .init(
    ~^~~~
[11/75] Compiling Microya HttpStatus.swift
[12/75] Compiling Microya ApiProvider.swift
/host/spi-builder-workspace/.build/checkouts/Microya/Sources/Microya/Core/ApiProvider.swift:90:34: error: cannot convert value of type 'HTTPURLResponse' (aka 'AnyObject') to expected argument type 'URLResponse?'
        response: mockedResponse.httpUrlResponse(baseUrl: baseUrl),
                                 ^
                                                                   as! URLResponse
[13/86] Compiling Microya ResponseLoggerPlugin.swift
[14/86] Compiling SwiftCLI ValueBox.swift
[15/86] Compiling Microya ProgressIndicatorPlugin.swift
[16/86] Compiling Microya RequestLoggerPlugin.swift
[17/92] Compiling SwiftCLI HelpCommand.swift
[18/96] Emitting module BartyCrouchConfiguration
[19/97] Compiling Microya Plugin.swift
[20/97] Compiling Microya HttpAuthPlugin.swift
[21/97] Compiling Microya Endpoint.swift
[22/97] Compiling BartyCrouchConfiguration TranslateOptions.swift
[23/97] Compiling BartyCrouchConfiguration TomlCodable.swift
BUILD FAILURE 5.8 linux

Build Machine: Linux 2