The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BartyCrouch with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
Building package at path:  $workDir
https://github.com/FlineDev/BartyCrouch.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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 from cache (0.27s)
Fetching https://github.com/jdfergason/swift-toml.git
[1/582] Fetching swift-toml
Fetched https://github.com/jdfergason/swift-toml.git from cache (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
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/Flinesoft/MungoHealer.git
Fetching https://github.com/Flinesoft/HandySwift.git
[1/1114] Fetching rainbow
[1115/5339] Fetching rainbow, swift-custom-dump
[3017/10413] Fetching rainbow, swift-custom-dump, swiftcli
[4463/10861] Fetching rainbow, swift-custom-dump, swiftcli, mungohealer
Fetched https://github.com/onevcat/Rainbow.git from cache (0.29s)
[7870/9747] Fetching swift-custom-dump, swiftcli, mungohealer
[8277/12949] Fetching swift-custom-dump, swiftcli, mungohealer, handyswift
[12950/72281] Fetching swift-custom-dump, swiftcli, mungohealer, handyswift, swift-syntax
Fetched https://github.com/Flinesoft/MungoHealer.git from cache (0.57s)
Fetched https://github.com/Flinesoft/HandySwift.git from cache (0.57s)
[9893/68631] Fetching swift-custom-dump, swiftcli, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump.git from cache (4.23s)
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (4.23s)
Fetched https://github.com/apple/swift-syntax.git from cache (4.27s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (0.38s)
Computing version for https://github.com/Flinesoft/MungoHealer.git
Computed https://github.com/Flinesoft/MungoHealer.git at 0.3.4 (0.40s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (0.48s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.93s)
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.38s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/2327] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.41s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.43s)
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/MungoHealer.git
Working copy of https://github.com/Flinesoft/MungoHealer.git resolved at 0.3.4
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/jdfergason/swift-toml.git
Working copy of https://github.com/jdfergason/swift-toml.git resolved at master (f26573b)
Creating working copy for https://github.com/Flinesoft/Microya.git
Working copy of https://github.com/Flinesoft/Microya.git resolved at support/without-combine (bdb03dd)
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/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/40] Write sources
[15/40] Copying Localizable.strings
[15/40] Copying Info.plist
[17/40] Copying Localizable.strings
[18/40] Write swift-version-24593BA9C3E375BF.txt
[20/173] Emitting module BartyCrouchUtility
[21/173] Emitting module SwiftCLI
[22/175] Emitting module HandySwift
[23/177] Compiling HandySwift Weak.swift
[24/177] Compiling SwiftCLI VersionCommand.swift
[25/177] Emitting module Rainbow
[26/177] Compiling SwiftCLI Input.swift
[27/177] Compiling SwiftCLI Option.swift
[28/178] Compiling SwiftCLI OptionRegistry.swift
[29/178] Compiling SwiftCLI Parameter.swift
[30/178] Compiling SwiftCLI Parser.swift
[31/178] Compiling Rainbow Style.swift
[32/178] Compiling Rainbow StringGenerator.swift
[33/178] Compiling Rainbow String+Rainbow.swift
[34/178] Compiling Rainbow XcodeColorsSupport.swift
[35/178] Compiling SwiftCLI OptionGroup.swift
[36/178] Compiling SwiftCLI ArgumentList.swift
[37/178] Compiling SwiftCLI ArgumentListManipulator.swift
[38/178] Compiling SwiftCLI CLI.swift
[42/178] Compiling SwiftCLI Error.swift
[43/178] Compiling SwiftCLI HelpCommand.swift
[50/178] Emitting module MungoHealer
[51/179] Compiling Toml Tokens.swift
[54/179] Compiling Microya RequestLoggerPlugin.swift
[55/180] Compiling BartyCrouchUtility Constants.swift
[56/180] Emitting module Toml
[57/180] Compiling BartyCrouchUtility Secret.swift
[58/180] Compiling BartyCrouchUtility Transformer.swift
[61/181] Compiling HandySwift Unowned.swift
[62/181] Compiling SwiftCLI Path.swift
[63/181] Compiling SwiftCLI Stream.swift
[64/181] Compiling SwiftCLI Task.swift
[65/181] Compiling SwiftCLI Term.swift
[66/181] Compiling SwiftCLI Validation.swift
[67/181] Compiling Rainbow Rainbow.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(
    ~^~~~
[75/181] Compiling Microya ProgressIndicatorPlugin.swift
[78/182] Compiling SwiftCLI Command.swift
[79/182] Compiling SwiftCLI Compatibility.swift
[80/182] Compiling SwiftCLI CompletionGenerator.swift
[96/183] Compiling Toml Serialize.swift
[113/183] Compiling Toml String.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)
[116/185] 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
                 ^
[119/185] Compiling Microya HttpAuthPlugin.swift
[124/185] Compiling MungoHealer resource_bundle_accessor.swift
[125/185] Compiling Microya ResponseLoggerPlugin.swift
error: fatalError
[126/186] Wrapping AST for BartyCrouchUtility for debugging
[126/186] Wrapping AST for HandySwift for debugging
[126/186] Wrapping AST for Rainbow for debugging
[132/186] Wrapping AST for SwiftCLI for debugging
warning: 'spi-builder-workspace': Invalid Resource 'Secrets/secrets.json': File not found.
[0/1] Planning build
Building for debugging...
[0/22] Write swift-version-24593BA9C3E375BF.txt
[1/22] Wrapping AST for BartyCrouchUtility for debugging
[2/22] Wrapping AST for Rainbow for debugging
[3/22] Wrapping AST for SwiftCLI for debugging
[4/22] Wrapping AST for HandySwift for debugging
[6/68] Emitting module Toml
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/68] 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/68] Emitting module MungoHealer
[10/69] 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(
    ~^~~~
[11/69] Compiling Microya ApiError.swift
[12/69] Compiling Toml Toml.swift
[13/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
[14/70] Compiling Microya HttpStatus.swift
[14/81] Wrapping AST for MungoHealer for debugging
[16/81] Compiling Microya HttpAuthPlugin.swift
[17/81] Compiling Microya RequestLoggerPlugin.swift
[18/81] Compiling Microya ResponseLoggerPlugin.swift
[19/81] Compiling Microya Plugin.swift
[20/81] Compiling Microya ProgressIndicatorPlugin.swift
[21/81] Compiling Microya Endpoint.swift
[22/81] Compiling Toml Lexer.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1