Build Information
Failed to build BartyCrouch, reference 4.15.1 (fe8811
), with Swift 6.0 for Linux on 3 Nov 2024 12:55:47 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.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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: 6.0
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.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Flinesoft/Microya.git
[1/824] Fetching microya
Fetched https://github.com/Flinesoft/Microya.git from cache (0.21s)
Fetching https://github.com/jdfergason/swift-toml.git
[1/582] Fetching swift-toml
Fetched https://github.com/jdfergason/swift-toml.git from cache (0.18s)
Fetching https://github.com/pointfreeco/swift-custom-dump.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/Flinesoft/MungoHealer.git
Fetching https://github.com/Flinesoft/HandySwift.git
Fetching https://github.com/apple/swift-syntax.git
[1/448] Fetching mungohealer
[449/5522] Fetching mungohealer, swiftcli
[551/6648] Fetching mungohealer, swiftcli, rainbow
[3910/11159] Fetching mungohealer, swiftcli, rainbow, swift-custom-dump
[7518/14414] Fetching mungohealer, swiftcli, rainbow, swift-custom-dump, handyswift
Fetched https://github.com/onevcat/Rainbow.git from cache (0.32s)
[13093/13288] Fetching mungohealer, swiftcli, swift-custom-dump, handyswift
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (0.35s)
Fetched https://github.com/Flinesoft/HandySwift.git from cache (0.40s)
[1/66399] Fetching swift-syntax
Fetched https://github.com/Flinesoft/MungoHealer.git from cache (3.99s)
Fetched https://github.com/pointfreeco/swift-custom-dump.git from cache (3.99s)
Fetched https://github.com/apple/swift-syntax.git from cache (4.04s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (0.47s)
Computing version for https://github.com/Flinesoft/MungoHealer.git
Computed https://github.com/Flinesoft/MungoHealer.git at 0.3.4 (0.49s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (0.57s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (2.06s)
Computing version for https://github.com/Flinesoft/HandySwift.git
Computed https://github.com/Flinesoft/HandySwift.git at 3.4.0 (0.47s)
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.49s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/4985] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.67s)
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/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/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/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/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/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 6.0.3
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/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
[11/40] Copying Localizable.strings
[16/40] Copying Info.plist
[18/40] Write swift-version-24593BA9C3E375BF.txt
[20/173] Compiling SwiftCLI OptionRegistry.swift
[21/173] Compiling SwiftCLI Parameter.swift
[22/173] Compiling SwiftCLI Parser.swift
[23/173] Compiling SwiftCLI Path.swift
[24/173] Compiling SwiftCLI Stream.swift
[25/178] Compiling Rainbow Style.swift
[26/178] Compiling Rainbow StringGenerator.swift
[27/179] Compiling Rainbow XcodeColorsSupport.swift
[28/179] Compiling SwiftSyntax SyntaxData.swift
[29/179] Compiling SwiftSyntax SyntaxOtherNodes.swift
[30/179] Compiling SwiftSyntax SyntaxText.swift
[31/179] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[32/179] Compiling SwiftSyntax Utils.swift
[33/179] Compiling SwiftCLI ArgumentList.swift
[34/179] Compiling SwiftCLI ArgumentListManipulator.swift
[37/182] Compiling MungoHealer Globals.swift
[38/182] Compiling MungoHealer ErrorSource.swift
[39/182] Compiling Microya HttpAuthPlugin.swift
[42/183] Compiling MungoHealer StringExt.swift
[43/183] Compiling SwiftCLI Input.swift
[44/183] Compiling SwiftCLI Option.swift
[45/183] Compiling SwiftCLI OptionGroup.swift
[48/183] Compiling MungoHealer FatalError.swift
[49/183] Emitting module SwiftCLI
[50/183] Compiling MungoHealer HealableError.swift
[51/183] Compiling MungoHealer MungoError.swift
[52/183] Compiling MungoHealer MungoFatalError.swift
[59/183] Compiling MungoHealer resource_bundle_accessor.swift
[60/183] Emitting module BartyCrouchUtility
[65/185] Compiling Toml Tokens.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)
[70/186] 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
[73/186] Compiling Microya ResponseLoggerPlugin.swift
[77/186] Compiling HandySwift Unowned.swift
[78/186] Compiling HandySwift Weak.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?'
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 | )
[81/186] Compiling Toml String.swift
[82/186] Compiling Rainbow String+Rainbow.swift
[83/186] Compiling Rainbow Rainbow.swift
[88/186] Emitting module Rainbow
[92/187] Compiling SwiftCLI VersionCommand.swift
[102/188] Emitting module MungoHealer
[116/188] Emitting module HandySwift
[117/189] Compiling Microya RequestLoggerPlugin.swift
[118/189] Compiling Microya ProgressIndicatorPlugin.swift
[120/190] Wrapping AST for Rainbow for debugging
[125/190] Compiling BartyCrouchUtility Secret.swift
[125/190] Wrapping AST for SwiftCLI for debugging
BUILD FAILURE 6.0 linux