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-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FlineDev/BartyCrouch.git
Reference: 4.15.1
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
 * tag               4.15.1     -> FETCH_HEAD
HEAD is now at fe88110 Merge branch 'release/4.15.1' into versions
Cloned https://github.com/FlineDev/BartyCrouch.git
Revision (git rev-parse @):
fe88110ab0af3d1281138b63159e20a7450383fa
SUCCESS checkout https://github.com/FlineDev/BartyCrouch.git at 4.15.1
========================================
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-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/Flinesoft/Microya.git
[1/824] Fetching microya
Fetched https://github.com/Flinesoft/Microya.git from cache (0.29s)
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/apple/swift-syntax.git
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/Flinesoft/MungoHealer.git
Fetching https://github.com/Flinesoft/HandySwift.git
[1/4022] Fetching swift-custom-dump
[2/5136] Fetching swift-custom-dump, rainbow
[2328/7940] Fetching swift-custom-dump, rainbow, handyswift
[4364/8388] Fetching swift-custom-dump, rainbow, handyswift, mungohealer
[8389/13462] Fetching swift-custom-dump, rainbow, handyswift, mungohealer, swiftcli
Fetched https://github.com/Flinesoft/HandySwift.git from cache (0.40s)
[8781/10658] Fetching swift-custom-dump, rainbow, mungohealer, swiftcli
Fetched https://github.com/Flinesoft/MungoHealer.git from cache (0.52s)
Fetched https://github.com/onevcat/Rainbow.git from cache (0.52s)
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (0.52s)
[1/57384] Fetching swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump.git from cache (4.27s)
Fetched https://github.com/apple/swift-syntax.git from cache (4.32s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (0.49s)
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.73s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (1.34s)
Computing version for https://github.com/Flinesoft/HandySwift.git
Computed https://github.com/Flinesoft/HandySwift.git at 3.4.0 (0.45s)
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.47s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/2280] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.46s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.48s)
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/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/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.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/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/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/Flinesoft/Microya.git
Working copy of https://github.com/Flinesoft/Microya.git resolved at support/without-combine (bdb03dd)
warning: 'spi-builder-workspace': Invalid Resource 'Secrets/secrets.json': File not found.
Building for debugging...
[0/40] Write sources
[0/40] Copying Localizable.strings
[0/40] Copying Info.plist
[0/40] Write sources
[1/40] Copying Localizable.strings
[8/40] Write sources
[18/40] Write swift-version-24593BA9C3E375BF.txt
[20/173] Emitting module HandySwift
[21/175] Emitting module Rainbow
[22/175] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[23/175] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[24/176] Compiling Rainbow Style.swift
[25/176] Compiling Rainbow StringGenerator.swift
[26/176] Compiling Rainbow String+Rainbow.swift
[27/176] Compiling SwiftSyntax SourceLocation.swift
[28/176] Compiling SwiftSyntax SourcePresence.swift
[29/176] Compiling SwiftSyntax Syntax.swift
[30/176] Compiling SwiftSyntax SyntaxArena.swift
[31/176] Compiling SwiftSyntax SyntaxChildren.swift
[32/181] Compiling Rainbow XcodeColorsSupport.swift
[33/181] Compiling HandySwift Unowned.swift
[34/181] Compiling HandySwift Weak.swift
[35/181] Compiling SwiftSyntax BumpPtrAllocator.swift
[36/181] Compiling SwiftSyntax CommonAncestor.swift
[42/182] Compiling SwiftSyntax AbsolutePosition.swift
[43/182] Compiling SwiftSyntax SyntaxOtherNodes.swift
[45/182] Emitting module MungoHealer
[48/182] Compiling SwiftSyntax RawSyntaxValidation.swift
[49/182] Compiling SwiftSyntax SourceLength.swift
[50/182] Compiling SwiftSyntax RawSyntaxTokenView.swift
[51/182] Compiling SwiftSyntax RawSyntaxNodes.swift
[64/184] Compiling SwiftSyntax RawSyntax.swift
[65/184] Compiling SwiftSyntax SyntaxData.swift
[67/184] Compiling SwiftSyntax IncrementalParseTransition.swift
[68/184] Compiling SwiftSyntax MemoryLayout.swift
[71/184] Emitting module BartyCrouchUtility
[72/184] Compiling BartyCrouchUtility Secret.swift
[73/184] Compiling BartyCrouchUtility Transformer.swift
[74/184] Compiling BartyCrouchUtility Constants.swift
[87/184] Emitting module SwiftCLI
[98/184] Compiling Rainbow Rainbow.swift
[99/185] Compiling Toml Tokens.swift
[100/186] Compiling Toml Serialize.swift
[105/186] Emitting module Toml
[108/186] 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
[114/189] Compiling Microya RequestLoggerPlugin.swift
[115/189] Compiling Microya HttpAuthPlugin.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(
    ~^~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[120/189] 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
                 ^
[121/189] Compiling Microya ProgressIndicatorPlugin.swift
[126/189] Compiling MungoHealer resource_bundle_accessor.swift
[127/190] Wrapping AST for BartyCrouchUtility for debugging
[128/190] Wrapping AST for Rainbow for debugging
[129/190] Wrapping AST for HandySwift for debugging
[131/190] Compiling Microya ResponseLoggerPlugin.swift
error: fatalError
[131/190] 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/22] Write swift-version-24593BA9C3E375BF.txt
[1/19] Wrapping AST for MungoHealer for debugging
[3/63] 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(
    ~^~~~
[4/63] Compiling SwiftCLI VersionCommand.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/66] 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
                 ^
[6/66] Compiling Toml Toml.swift
[7/66] Emitting module Toml
[8/72] Compiling Microya HttpStatus.swift
[9/72] 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
[10/72] Compiling Microya ApiError.swift
[11/78] Compiling SwiftCLI HelpCommand.swift
[12/78] Compiling SwiftCLI ValueBox.swift
[13/88] Compiling Microya ResponseLoggerPlugin.swift
[14/88] Compiling Microya HttpAuthPlugin.swift
[15/88] Compiling Microya Plugin.swift
[16/88] Compiling Microya RequestLoggerPlugin.swift
[17/88] Compiling Microya ProgressIndicatorPlugin.swift
[18/88] Compiling Microya Endpoint.swift
error: fatalError
[19/88] Compiling Toml Lexer.swift
BUILD FAILURE 5.10 linux

Build Machine: Linux 2