The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BartyCrouch with Swift 5.8 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-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.8
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-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.19s)
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
[2437/8875] Fetching swiftcli, swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump.git (0.27s)
Fetching https://github.com/onevcat/Rainbow.git
Fetched https://github.com/jakeheis/SwiftCLI.git (0.28s)
Fetching https://github.com/Flinesoft/MungoHealer.git
[1/448] Fetching mungohealer
[449/1562] Fetching mungohealer, rainbow
Fetched https://github.com/Flinesoft/MungoHealer.git (0.20s)
Fetching https://github.com/Flinesoft/HandySwift.git
Fetched https://github.com/onevcat/Rainbow.git (0.21s)
[1/2755] Fetching handyswift
Fetched https://github.com/Flinesoft/HandySwift.git (0.60s)
[1/49005] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (4.07s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (0.29s)
Computing version for https://github.com/Flinesoft/MungoHealer.git
Computed https://github.com/Flinesoft/MungoHealer.git at 0.3.4 (0.30s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (0.42s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.95s)
Computing version for https://github.com/Flinesoft/HandySwift.git
Computed https://github.com/Flinesoft/HandySwift.git at 3.4.0 (0.27s)
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.29s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/1947] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay (0.54s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.29s)
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/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/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/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/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/Microya.git
Working copy of https://github.com/Flinesoft/Microya.git resolved at support/without-combine
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
[0/21] Copying Localizable.strings
[4/154] Emitting module SwiftCLI
[5/156] Compiling SwiftCLI ValueBox.swift
[6/156] Compiling SwiftCLI VersionCommand.swift
[7/156] Compiling Rainbow StringGenerator.swift
[8/157] Compiling Rainbow Style.swift
[9/157] Emitting module Rainbow
[10/157] Compiling Rainbow String+Rainbow.swift
[11/157] Compiling SwiftSyntax AbsolutePosition.swift
[12/157] Compiling SwiftSyntax BumpPtrAllocator.swift
[13/157] Compiling Rainbow BackgroundColor.swift
[14/157] Compiling Rainbow CodesParser.swift
[15/157] Compiling Rainbow ModesExtractor.swift
[16/157] Compiling Rainbow OutputTarget.swift
[17/162] Compiling Rainbow XcodeColorsSupport.swift
[18/162] Compiling SwiftSyntax SyntaxData.swift
[19/162] Compiling SwiftSyntax SyntaxOtherNodes.swift
[20/162] Compiling SwiftSyntax SourcePresence.swift
[21/162] Compiling SwiftSyntax Syntax.swift
[25/163] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[26/163] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[27/163] Compiling SwiftSyntax RawSyntaxTokenView.swift
[35/163] Emitting module Toml
[38/163] Emitting module HandySwift
[42/166] Emitting module MungoHealer
[45/166] Compiling SwiftSyntax SourceLocation.swift
[49/166] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[50/166] Compiling SwiftSyntax Utils.swift
[53/166] Compiling SwiftSyntax RawSyntaxValidation.swift
[54/166] Compiling SwiftSyntax SourceLength.swift
[56/166] Compiling SwiftSyntax RawSyntaxNodes.swift
[57/166] Compiling BartyCrouchUtility Transformer.swift
[66/166] Compiling SwiftSyntax SyntaxText.swift
[67/166] Emitting module BartyCrouchUtility
[68/166] Compiling BartyCrouchUtility Secret.swift
[69/166] Compiling BartyCrouchUtility Constants.swift
[70/166] Compiling Rainbow Rainbow.swift
[75/166] Compiling Toml Tokens.swift
[88/167] Compiling Toml String.swift
[100/167] Compiling Toml Serialize.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[102/170] 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(
    ~^~~~
/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
[109/172] Compiling Microya RequestLoggerPlugin.swift
[116/173] Compiling MungoHealer resource_bundle_accessor.swift
[117/173] Compiling Microya HttpAuthPlugin.swift
[118/173] Compiling Microya ProgressIndicatorPlugin.swift
[122/175] Compiling HandySwift Unowned.swift
[123/175] Compiling HandySwift Weak.swift
[124/176] Compiling Microya ResponseLoggerPlugin.swift
[125/177] Wrapping AST for Rainbow for debugging
[126/177] Wrapping AST for BartyCrouchUtility for debugging
[127/177] Wrapping AST for SwiftCLI for debugging
[128/177] Wrapping AST for MungoHealer for debugging
BUILD FAILURE 5.8 linux

Build Machine: Linux 1