The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BartyCrouch with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-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.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/Flinesoft/Microya.git
[1/820] Fetching microya
Fetched https://github.com/Flinesoft/Microya.git (0.29s)
Fetching https://github.com/jdfergason/swift-toml.git
[1/582] Fetching swift-toml
Fetched https://github.com/jdfergason/swift-toml.git (0.22s)
Fetching https://github.com/pointfreeco/swift-custom-dump.git
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/apple/swift-syntax.git
[1/5074] Fetching swiftcli
[1371/8875] Fetching swiftcli, swift-custom-dump
[8876/57880] Fetching swiftcli, swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump.git (5.38s)
Fetching https://github.com/onevcat/Rainbow.git
Fetched https://github.com/jakeheis/SwiftCLI.git (5.38s)
Fetching https://github.com/Flinesoft/MungoHealer.git
Fetched https://github.com/apple/swift-syntax.git (5.42s)
Fetching https://github.com/Flinesoft/HandySwift.git
[1/1114] Fetching rainbow
[1115/1562] Fetching rainbow, mungohealer
[1563/4317] Fetching rainbow, mungohealer, handyswift
Fetched https://github.com/onevcat/Rainbow.git (0.37s)
Fetched https://github.com/Flinesoft/MungoHealer.git (0.37s)
Fetched https://github.com/Flinesoft/HandySwift.git (0.38s)
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.43s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (1.02s)
Computing version for https://github.com/Flinesoft/HandySwift.git
Computed https://github.com/Flinesoft/HandySwift.git at 3.4.0 (0.29s)
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.28s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/1947] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay (0.58s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.33s)
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/jdfergason/swift-toml.git
Working copy of https://github.com/jdfergason/swift-toml.git resolved at master
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/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 6.0.3
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/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/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
[2/21] Copying Localizable.strings
[4/154] Compiling Rainbow Style.swift
[5/155] Compiling Rainbow StringGenerator.swift
[6/155] Compiling Rainbow String+Rainbow.swift
[7/155] Compiling Rainbow XcodeColorsSupport.swift
[8/155] Compiling HandySwift DataExt.swift
[9/155] Compiling SwiftSyntax MemoryLayout.swift
[10/155] Compiling SwiftSyntax RawSyntax.swift
[11/155] Emitting module BartyCrouchUtility
[12/155] Compiling SwiftSyntax SyntaxData.swift
[13/155] Compiling SwiftSyntax SyntaxOtherNodes.swift
[14/155] Compiling SwiftSyntax SyntaxText.swift
[15/155] Compiling HandySwift Regex.swift
[16/155] Compiling HandySwift SortedArray.swift
[17/155] Emitting module MungoHealer
[18/155] Compiling HandySwift NSRangeExt.swift
[19/155] Compiling HandySwift StringExt.swift
[20/155] Emitting module Toml
[21/155] Compiling HandySwift ArrayExt.swift
[22/155] Compiling HandySwift CollectionExt.swift
[26/155] Compiling SwiftSyntax CommonAncestor.swift
[28/155] Compiling HandySwift Globals.swift
[29/155] Compiling HandySwift DivisibleArithmetic.swift
[30/159] Compiling HandySwift Withable.swift
[31/159] Compiling HandySwift FrequencyTable.swift
[37/159] Compiling HandySwift TimeIntervalExt.swift
[40/161] Compiling HandySwift StringProtocolExt.swift
[44/161] Compiling BartyCrouchUtility Secret.swift
[45/161] Compiling BartyCrouchUtility Constants.swift
[46/161] Compiling BartyCrouchUtility Transformer.swift
[47/161] Emitting module HandySwift
[51/161] Compiling Toml Tokens.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
/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
error: emit-module command failed with exit code 1 (use -v to see invocation)[54/162] 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/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(
    ~^~~~
[59/162] Compiling Toml Serialize.swift
[62/162] Compiling Toml String.swift
[63/162] Compiling Microya RequestLoggerPlugin.swift
[65/162] Compiling HandySwift Unowned.swift
[66/162] Compiling MungoHealer resource_bundle_accessor.swift
[67/163] Compiling Microya ProgressIndicatorPlugin.swift
[70/164] Compiling Microya HttpAuthPlugin.swift
[74/164] Emitting module SwiftCLI
[95/166] Emitting module Rainbow
[96/166] Compiling Rainbow Rainbow.swift
[107/168] Compiling SwiftCLI ValueBox.swift
[109/169] Compiling Microya ResponseLoggerPlugin.swift
[117/175] Wrapping AST for MungoHealer for debugging
BUILD FAILURE 5.7 linux

Build Machine: Linux 2