The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BartyCrouch with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.9
Building package at path:  $workDir
https://github.com/FlineDev/BartyCrouch.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.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
[52/9299] Fetching swiftcli, swift-custom-dump
[9300/68631] Fetching swiftcli, swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump.git (5.24s)
Fetching https://github.com/onevcat/Rainbow.git
Fetched https://github.com/jakeheis/SwiftCLI.git (5.25s)
Fetching https://github.com/Flinesoft/MungoHealer.git
Fetched https://github.com/apple/swift-syntax.git (5.31s)
Fetching https://github.com/Flinesoft/HandySwift.git
[1/1114] Fetching rainbow
[1115/1562] Fetching rainbow, mungohealer
Fetched https://github.com/onevcat/Rainbow.git (0.22s)
Fetched https://github.com/Flinesoft/MungoHealer.git (0.25s)
[1/3202] Fetching handyswift
Fetched https://github.com/Flinesoft/HandySwift.git (1.43s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (0.57s)
Computing version for https://github.com/Flinesoft/MungoHealer.git
Computed https://github.com/Flinesoft/MungoHealer.git at 0.3.4 (0.59s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (0.58s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (1.22s)
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.2 (0.41s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/2327] 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.41s)
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/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/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/Microya.git
Working copy of https://github.com/Flinesoft/Microya.git resolved at support/without-combine
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.2
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/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
[1/21] Copying Info.plist
[2/21] Copying Localizable.strings
[4/154] Emitting module MungoHealer
[5/155] Emitting module SwiftCLI
[6/157] Emitting module HandySwift
[7/159] Compiling Rainbow Style.swift
[8/160] Compiling HandySwift Weak.swift
[9/160] Compiling SwiftCLI VersionCommand.swift
[10/160] Compiling SwiftSyntax SourceLocation.swift
[11/160] Compiling SwiftSyntax SourcePresence.swift
[12/160] Compiling SwiftSyntax Syntax.swift
[13/160] Compiling SwiftSyntax SyntaxArena.swift
[14/160] Compiling SwiftSyntax SyntaxChildren.swift
[15/165] Emitting module Rainbow
[18/165] Compiling Rainbow StringGenerator.swift
[19/165] Compiling Rainbow String+Rainbow.swift
[20/165] Compiling Rainbow XcodeColorsSupport.swift
[21/165] Compiling SwiftSyntax SyntaxData.swift
[22/165] Compiling SwiftSyntax SyntaxOtherNodes.swift
[23/165] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[24/165] Compiling SwiftSyntax RawSyntaxTokenView.swift
[25/165] Compiling HandySwift Unowned.swift
[27/165] Emitting module Toml
[30/165] Compiling SwiftSyntax MemoryLayout.swift
[31/165] Compiling SwiftSyntax RawSyntax.swift
[32/165] Compiling SwiftSyntax RawSyntaxNodes.swift
[33/165] Compiling SwiftSyntax RawSyntaxValidation.swift
[34/165] Compiling SwiftSyntax BumpPtrAllocator.swift
[35/165] Compiling SwiftSyntax CommonAncestor.swift
[36/165] Compiling SwiftSyntax IncrementalParseTransition.swift
[40/166] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[50/166] Compiling SwiftSyntax SourceLength.swift
[51/166] Compiling SwiftSyntax AbsolutePosition.swift
[52/166] Compiling MungoHealer resource_bundle_accessor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[53/166] 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
                 ^
[58/167] Compiling BartyCrouchUtility Transformer.swift
[63/167] Compiling BartyCrouchUtility Constants.swift
[94/167] Compiling Rainbow Rainbow.swift
[95/167] Compiling Toml Tokens.swift
[98/167] Compiling Toml String.swift
[101/167] Compiling Toml Serialize.swift
[102/168] Emitting module BartyCrouchUtility
[103/168] Compiling BartyCrouchUtility Secret.swift
[104/169] Compiling Microya ProgressIndicatorPlugin.swift
[105/169] Compiling Microya RequestLoggerPlugin.swift
[106/170] Compiling Microya HttpAuthPlugin.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
/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(
    ~^~~~
[124/177] Compiling Microya ResponseLoggerPlugin.swift
error: fatalError
[125/177] Wrapping AST for MungoHealer for debugging
[125/177] Wrapping AST for Rainbow for debugging
warning: 'spi-builder-workspace': Invalid Resource 'Secrets/secrets.json': File not found.
[0/1] Planning build
Building for debugging...
[1/58] Emitting module BartyCrouchUtility
[3/61] 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(
    ~^~~~
[5/61] Emitting module Rainbow
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/62] 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
                 ^
[8/62] Emitting module Toml
[9/62] Compiling Toml Toml.swift
[9/66] Wrapping AST for BartyCrouchUtility for debugging
[11/68] Emitting module MungoHealer
[12/70] 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/70] Compiling Microya ApiError.swift
[14/70] Compiling Microya HttpStatus.swift
[17/77] Emitting module SwiftCLI
[19/79] Wrapping AST for Rainbow for debugging
[21/79] Wrapping AST for MungoHealer for debugging
[23/79] Compiling Microya RequestLoggerPlugin.swift
[24/79] Compiling Microya ResponseLoggerPlugin.swift
[25/79] Compiling Toml Lexer.swift
[26/79] Compiling Microya HttpAuthPlugin.swift
[27/79] Compiling Microya Plugin.swift
[28/79] Compiling Microya ProgressIndicatorPlugin.swift
[29/79] Compiling Toml Parser.swift
[30/79] Compiling Toml Serialize.swift
[31/79] Compiling Toml String.swift
[31/79] Wrapping AST for SwiftCLI for debugging
[33/79] Compiling SwiftSyntax AbsolutePosition.swift
[34/79] Compiling SwiftSyntax BumpPtrAllocator.swift
[35/79] Compiling SwiftSyntax CommonAncestor.swift
[36/79] Compiling SwiftSyntax IncrementalParseTransition.swift
[37/83] Compiling Microya Endpoint.swift
[38/83] Compiling Toml Helpers.swift
[39/83] Emitting module HandySwift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2