The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BartyCrouch with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/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.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FlineDev/BartyCrouch.git
Reference: 4.15.1
Cloned https://github.com/FlineDev/BartyCrouch.git into spi-builder-workspace
SUCCESS checkout https://github.com/FlineDev/BartyCrouch.git at 4.15.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/Flinesoft/Microya.git
[1/820] Fetching microya
Fetched https://github.com/Flinesoft/Microya.git (0.25s)
Fetching https://github.com/jdfergason/swift-toml.git
[1/582] Fetching swift-toml
Fetched https://github.com/jdfergason/swift-toml.git (0.21s)
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-custom-dump.git
Fetching https://github.com/jakeheis/SwiftCLI.git
[1/5074] Fetching swiftcli
[763/8875] Fetching swiftcli, swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump.git (0.34s)
Fetching https://github.com/onevcat/Rainbow.git
Fetched https://github.com/jakeheis/SwiftCLI.git (0.34s)
Fetching https://github.com/Flinesoft/MungoHealer.git
[1/448] Fetching mungohealer
[449/1562] Fetching mungohealer, rainbow
Fetched https://github.com/Flinesoft/MungoHealer.git (0.24s)
Fetching https://github.com/Flinesoft/HandySwift.git
Fetched https://github.com/onevcat/Rainbow.git (0.25s)
[1/2755] Fetching handyswift
Fetched https://github.com/Flinesoft/HandySwift.git (0.31s)
[1/49005] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (3.99s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (0.28s)
Computing version for https://github.com/Flinesoft/MungoHealer.git
Computed https://github.com/Flinesoft/MungoHealer.git at 0.3.4 (0.29s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (0.45s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (1.03s)
Computing version for https://github.com/Flinesoft/HandySwift.git
Computed https://github.com/Flinesoft/HandySwift.git at 3.4.0 (0.39s)
Computing version for https://github.com/pointfreeco/swift-custom-dump.git
Computed https://github.com/pointfreeco/swift-custom-dump.git at 0.11.1 (0.33s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/1947] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay (0.57s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.50s)
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/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 6.0.3
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
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/pointfreeco/swift-custom-dump.git
Working copy of https://github.com/pointfreeco/swift-custom-dump.git resolved at 0.11.1
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/Flinesoft/MungoHealer.git
Working copy of https://github.com/Flinesoft/MungoHealer.git resolved at 0.3.4
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
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
[4/154] Emitting module MungoHealer
[5/155] Compiling Rainbow Style.swift
[6/156] Compiling HandySwift NSObjectExt.swift
[7/156] Compiling HandySwift TimeIntervalExt.swift
[8/156] Emitting module Rainbow
[9/156] Compiling HandySwift DoubleExt.swift
[10/156] Compiling HandySwift IntExt.swift
[11/156] Compiling Rainbow XcodeColorsSupport.swift
[12/156] Compiling HandySwift NSRangeExt.swift
[13/156] Compiling HandySwift StringExt.swift
[14/156] Compiling HandySwift StringProtocolExt.swift
[15/156] Compiling HandySwift Withable.swift
[16/156] Compiling HandySwift FrequencyTable.swift
[17/161] Compiling Rainbow StringGenerator.swift
[18/161] Compiling Rainbow String+Rainbow.swift
[19/161] Compiling HandySwift Regex.swift
[20/161] Compiling HandySwift SortedArray.swift
[21/161] Compiling SwiftCLI Task.swift
[22/161] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[23/161] Compiling SwiftSyntax Utils.swift
[25/161] Compiling HandySwift Globals.swift
[26/161] Compiling HandySwift DivisibleArithmetic.swift
[36/163] Compiling HandySwift DataExt.swift
[37/163] Compiling HandySwift DictionaryExt.swift
[43/163] Compiling HandySwift DispatchTimeIntervalExt.swift
[44/163] Compiling HandySwift ArrayExt.swift
[45/163] Compiling HandySwift CollectionExt.swift
[46/163] Compiling HandySwift ComparableExt.swift
[47/165] Emitting module Toml
/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(
    ~^~~~
[54/167] Compiling MungoHealer resource_bundle_accessor.swift
[57/167] Compiling BartyCrouchUtility Secret.swift
[58/167] Compiling BartyCrouchUtility Transformer.swift
[59/167] Emitting module BartyCrouchUtility
[60/167] Compiling BartyCrouchUtility Constants.swift
[69/167] Emitting module SwiftCLI
error: emit-module command failed with exit code 1 (use -v to see invocation)
[79/168] 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
                 ^
[80/168] Compiling Toml String.swift
[89/168] Emitting module HandySwift
/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
[97/168] Compiling Toml Serialize.swift
[98/168] Compiling Toml Tokens.swift
[104/168] Compiling HandySwift Unowned.swift
[107/170] Compiling Microya ProgressIndicatorPlugin.swift
[108/170] Compiling Microya RequestLoggerPlugin.swift
[110/170] Compiling Microya HttpAuthPlugin.swift
[112/171] Compiling SwiftCLI ValueBox.swift
[115/171] Compiling Rainbow Rainbow.swift
[118/173] Compiling Microya ResponseLoggerPlugin.swift
error: fatalError
[121/175] Wrapping AST for BartyCrouchUtility for debugging
BUILD FAILURE 5.9 linux

Build Machine: Linux 1