The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BartyCrouch, reference main (aabff7), with Swift 6.2 for Linux on 20 Jun 2025 11:04:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
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:             6.2
Building package at path:  $PWD
https://github.com/FlineDev/BartyCrouch.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/Flinesoft/Microya.git
[1/824] Fetching microya
Fetched https://github.com/Flinesoft/Microya.git from cache (0.49s)
Fetching https://github.com/jdfergason/swift-toml.git
[1/582] Fetching swift-toml
Fetched https://github.com/jdfergason/swift-toml.git from cache (0.45s)
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/pointfreeco/swift-custom-dump.git
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/Flinesoft/HandySwift.git
[1/1196] Fetching rainbow
[803/6270] Fetching rainbow, swiftcli
[905/9644] Fetching rainbow, swiftcli, handyswift
[2990/14225] Fetching rainbow, swiftcli, handyswift, swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump.git from cache (0.93s)
Fetched https://github.com/onevcat/Rainbow.git from cache (0.94s)
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (0.96s)
Fetched https://github.com/Flinesoft/HandySwift.git from cache (1.04s)
[1/70906] Fetching swift-syntax
Fetching https://github.com/Flinesoft/MungoHealer.git
Fetched https://github.com/apple/swift-syntax.git from cache (10.49s)
[5/448] Fetching mungohealer
Fetched https://github.com/Flinesoft/MungoHealer.git from cache (0.61s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (12.00s)
Computing version for https://github.com/Flinesoft/MungoHealer.git
Computed https://github.com/Flinesoft/MungoHealer.git at 0.3.4 (0.85s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (1.17s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (4.75s)
Computing version for https://github.com/Flinesoft/HandySwift.git
Computed https://github.com/Flinesoft/HandySwift.git at 3.4.0 (0.83s)
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.85s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.14s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (2.07s)
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/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/HandySwift.git
Working copy of https://github.com/Flinesoft/HandySwift.git resolved at 3.4.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 (bdb03dd)
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/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 (f26573b)
warning: 'spi-builder-workspace': Invalid Resource 'Secrets/secrets.json': File not found.
Building for debugging...
[0/40] Write sources
[4/40] Copying Localizable.strings
[4/40] Copying Info.plist
[4/40] Write sources
[18/40] Write swift-version-24593BA9C3E375BF.txt
[20/173] Emitting module MungoHealer
[21/174] Emitting module Rainbow
[22/175] Compiling HandySwift NSRangeExt.swift
[23/175] Compiling HandySwift StringExt.swift
[24/175] Compiling HandySwift StringProtocolExt.swift
[25/177] Compiling Rainbow Style.swift
[26/177] Compiling Rainbow String+Rainbow.swift
[27/177] Compiling Rainbow StringGenerator.swift
[28/177] Compiling Rainbow XcodeColorsSupport.swift
[29/177] Compiling SwiftCLI ValueBox.swift
[30/177] Compiling SwiftCLI VersionCommand.swift
[34/177] Compiling HandySwift Withable.swift
[35/177] Compiling HandySwift FrequencyTable.swift
[36/182] Compiling HandySwift ArrayExt.swift
[37/182] Compiling HandySwift CollectionExt.swift
[38/182] Compiling HandySwift ComparableExt.swift
[39/182] Compiling Rainbow Rainbow.swift
[40/182] Compiling Microya HttpAuthPlugin.swift
[41/183] Compiling Microya ProgressIndicatorPlugin.swift
[42/183] Compiling BartyCrouchUtility Transformer.swift
[43/183] Compiling HandySwift SortedArray.swift
[44/183] Compiling SwiftSyntax SyntaxBaseNodes.swift
[45/183] Compiling HandySwift TimeIntervalExt.swift
[46/183] Compiling HandySwift Globals.swift
[47/183] Compiling HandySwift DivisibleArithmetic.swift
[48/183] Compiling HandySwift DataExt.swift
[49/183] Compiling HandySwift DictionaryExt.swift
[50/183] Compiling HandySwift DispatchTimeIntervalExt.swift
[51/183] Compiling HandySwift DoubleExt.swift
[52/183] Compiling HandySwift IntExt.swift
[53/183] Compiling HandySwift NSObjectExt.swift
[62/185] Compiling MungoHealer resource_bundle_accessor.swift
[63/185] Compiling Microya RequestLoggerPlugin.swift
[66/185] Compiling Microya ResponseLoggerPlugin.swift
[69/186] Compiling BartyCrouchUtility Constants.swift
[70/186] Emitting module BartyCrouchUtility
[71/186] Compiling BartyCrouchUtility Secret.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.
50 |   }
51 |
52 |   func httpUrlResponse(baseUrl: URL) -> HTTPURLResponse {
   |                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |     .init(
54 |       url: url(baseUrl: baseUrl),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/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
51 |
52 |   func httpUrlResponse(baseUrl: URL) -> HTTPURLResponse {
53 |     .init(
   |      `- error: 'HTTPURLResponse' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
54 |       url: url(baseUrl: baseUrl),
55 |       statusCode: statusCode,
/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.
50 |   }
51 |
52 |   func httpUrlResponse(baseUrl: URL) -> HTTPURLResponse {
   |                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |     .init(
54 |       url: url(baseUrl: baseUrl),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/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
51 |
52 |   func httpUrlResponse(baseUrl: URL) -> HTTPURLResponse {
53 |     .init(
   |      `- error: 'HTTPURLResponse' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
54 |       url: url(baseUrl: baseUrl),
55 |       statusCode: statusCode,
error: emit-module command failed with exit code 1 (use -v to see invocation)
[80/187] 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.
50 |   }
51 |
52 |   func httpUrlResponse(baseUrl: URL) -> HTTPURLResponse {
   |                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |     .init(
54 |       url: url(baseUrl: baseUrl),
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/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'
 88 |       handleDataTaskCompletion(
 89 |         data: mockedResponse.bodyData,
 90 |         response: mockedResponse.httpUrlResponse(baseUrl: baseUrl),
    |                                  `- error: cannot convert value of type 'HTTPURLResponse' (aka 'AnyObject') to expected argument type 'URLResponse'
 91 |         error: nil
 92 |       )
/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'
 88 |       handleDataTaskCompletion(
 89 |         data: mockedResponse.bodyData,
 90 |         response: mockedResponse.httpUrlResponse(baseUrl: baseUrl),
    |                                  `- error: cannot convert value of type 'HTTPURLResponse' (aka 'AnyObject') to expected argument type 'URLResponse'
 91 |         error: nil
 92 |       )
[85/187] Emitting module Toml
[96/187] Emitting module SwiftCLI
BUILD FAILURE 6.2 linux