The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BartyCrouch with Swift 5.7 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.7-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.7
Building package at path:  $workDir
https://github.com/FlineDev/BartyCrouch.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.7-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.23s)
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
[5075/9299] Fetching swiftcli, swift-custom-dump
[9300/68631] Fetching swiftcli, swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump.git (4.19s)
Fetching https://github.com/onevcat/Rainbow.git
Fetched https://github.com/jakeheis/SwiftCLI.git (4.19s)
Fetching https://github.com/Flinesoft/MungoHealer.git
Fetched https://github.com/apple/swift-syntax.git (4.23s)
Fetching https://github.com/Flinesoft/HandySwift.git
[1/1114] Fetching rainbow
[1115/1562] Fetching rainbow, mungohealer
Fetched https://github.com/onevcat/Rainbow.git (0.42s)
Fetched https://github.com/Flinesoft/MungoHealer.git (0.42s)
[1/3202] Fetching handyswift
Fetched https://github.com/Flinesoft/HandySwift.git (0.57s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (0.30s)
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.38s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.91s)
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.2 (0.30s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/2327] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay (0.47s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.31s)
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/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
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/Flinesoft/HandySwift.git
Working copy of https://github.com/Flinesoft/HandySwift.git resolved at 3.4.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.2
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/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 Info.plist
[1/21] Copying Localizable.strings
error: emit-module command failed with exit code 1 (use -v to see invocation)[4/154] 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
                 ^
[5/155] Emitting module MungoHealer
[6/156] Compiling Rainbow Style.swift
[7/157] Compiling SwiftSyntax CommonAncestor.swift
[8/157] Compiling SwiftSyntax IncrementalParseTransition.swift
[9/157] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[10/157] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[11/157] Compiling SwiftSyntax RawSyntaxTokenView.swift
[12/159] Compiling Rainbow StringGenerator.swift
[13/159] Emitting module Rainbow
[14/159] Compiling SwiftSyntax AbsolutePosition.swift
[15/159] Compiling SwiftSyntax BumpPtrAllocator.swift
[16/159] Compiling Rainbow XcodeColorsSupport.swift
[17/159] Compiling Rainbow String+Rainbow.swift
[21/159] Compiling SwiftSyntax MemoryLayout.swift
[22/159] Compiling SwiftSyntax RawSyntax.swift
[27/159] Compiling SwiftCLI ValueBox.swift
[28/159] Compiling SwiftCLI VersionCommand.swift
[29/159] Compiling BartyCrouchUtility Secret.swift
[30/159] Emitting module BartyCrouchUtility
[31/159] Compiling BartyCrouchUtility Constants.swift
[32/159] Compiling SwiftSyntax RawSyntaxNodes.swift
[33/159] Compiling SwiftSyntax RawSyntaxValidation.swift
[34/159] Compiling SwiftSyntax SourceLength.swift
[35/159] Compiling SwiftSyntax SyntaxOtherNodes.swift
[36/159] Compiling SwiftSyntax SyntaxText.swift
[37/161] Compiling SwiftSyntax SyntaxData.swift
[39/161] Compiling MungoHealer resource_bundle_accessor.swift
[40/161] Compiling Toml Tokens.swift
[41/161] Compiling Toml String.swift
[42/161] Compiling HandySwift Withable.swift
[43/161] Compiling HandySwift FrequencyTable.swift
[44/161] Compiling SwiftSyntax SourceLocation.swift
[45/161] Compiling SwiftSyntax SourcePresence.swift
[46/161] Compiling SwiftSyntax Syntax.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
[69/162] Compiling Toml Serialize.swift
[73/162] Emitting module HandySwift
[83/162] Emitting module Toml
[88/162] Emitting module SwiftCLI
[89/162] Compiling Microya RequestLoggerPlugin.swift
[93/162] Compiling Microya ProgressIndicatorPlugin.swift
[94/162] Compiling BartyCrouchUtility Transformer.swift
[97/165] Compiling Rainbow Rainbow.swift
[103/166] Compiling Microya ResponseLoggerPlugin.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(
    ~^~~~
[110/173] Compiling Microya HttpAuthPlugin.swift
[117/175] Compiling HandySwift Unowned.swift
[118/175] Compiling HandySwift Weak.swift
[120/177] 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/18] Wrapping AST for MungoHealer for debugging
[2/63] 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
[3/63] Emitting module BartyCrouchUtility
[4/64] Emitting module Rainbow
[6/66] 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(
    ~^~~~
[10/67] Compiling Microya ApiError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)[11/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
                 ^
[12/67] Compiling Microya HttpStatus.swift
[13/70] Emitting module SwiftCLI
[14/74] Wrapping AST for BartyCrouchUtility for debugging
[17/75] Compiling Microya RequestLoggerPlugin.swift
[17/75] Wrapping AST for Rainbow for debugging
[19/75] Emitting module Toml
[20/75] Compiling Toml Toml.swift
[21/75] Compiling Microya ResponseLoggerPlugin.swift
[22/78] Emitting module HandySwift
[23/80] Compiling Microya ProgressIndicatorPlugin.swift
[24/81] Compiling Microya Plugin.swift
[25/81] Compiling Microya HttpAuthPlugin.swift
[26/82] Compiling Microya Endpoint.swift
[28/82] Compiling SwiftSyntax AbsolutePosition.swift
[29/82] Compiling SwiftSyntax BumpPtrAllocator.swift
[30/82] Compiling SwiftSyntax CommonAncestor.swift
[31/82] Compiling SwiftSyntax IncrementalParseTransition.swift
[32/82] Compiling SwiftSyntax MemoryLayout.swift
[33/82] Compiling Toml Lexer.swift
[34/87] Wrapping AST for SwiftCLI for debugging
BUILD FAILURE 5.7 linux

Build Machine: Linux 1