Build Information
Failed to build BartyCrouch, reference main (aabff7
), with Swift 6.0 for Linux on 3 Nov 2024 12:55:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: 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.0
Building package at path: $PWD
https://github.com/FlineDev/BartyCrouch.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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.20s)
Fetching https://github.com/jdfergason/swift-toml.git
[1/582] Fetching swift-toml
Fetched https://github.com/jdfergason/swift-toml.git from cache (0.16s)
Fetching https://github.com/Flinesoft/HandySwift.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/Flinesoft/MungoHealer.git
Fetching https://github.com/pointfreeco/swift-custom-dump.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/jakeheis/SwiftCLI.git
[1/1126] Fetching rainbow
[564/6200] Fetching rainbow, swiftcli
[1162/6648] Fetching rainbow, swiftcli, mungohealer
[6294/11159] Fetching rainbow, swiftcli, mungohealer, swift-custom-dump
Fetched https://github.com/Flinesoft/MungoHealer.git from cache (0.28s)
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (0.28s)
[1/3255] Fetching handyswift
Fetched https://github.com/pointfreeco/swift-custom-dump.git from cache (0.29s)
Fetched https://github.com/onevcat/Rainbow.git from cache (0.42s)
[1/66399] Fetching swift-syntax
Fetched https://github.com/Flinesoft/HandySwift.git from cache (3.47s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.51s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (0.41s)
Computing version for https://github.com/Flinesoft/MungoHealer.git
Computed https://github.com/Flinesoft/MungoHealer.git at 0.3.4 (0.43s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (0.50s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (1.79s)
Computing version for https://github.com/Flinesoft/HandySwift.git
Computed https://github.com/Flinesoft/HandySwift.git at 3.4.0 (0.41s)
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.42s)
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.75s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.42s)
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/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/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/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/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
warning: 'spi-builder-workspace': Invalid Resource 'Secrets/secrets.json': File not found.
Building for debugging...
[0/40] Write sources
[1/40] Copying Info.plist
[1/40] Copying Localizable.strings
[1/40] Write sources
[10/40] Copying Localizable.strings
[18/40] Write swift-version-24593BA9C3E375BF.txt
[20/173] Emitting module BartyCrouchUtility
[21/173] Emitting module SwiftCLI
[22/175] Compiling Rainbow Style.swift
[23/176] Compiling Toml Path.swift
[24/176] Compiling Toml Regex.swift
[25/176] Compiling SwiftSyntax RawSyntaxTokenView.swift
[26/176] Compiling Rainbow StringGenerator.swift
[27/176] Compiling SwiftCLI ValueBox.swift
[28/176] Compiling SwiftCLI VersionCommand.swift
[29/176] Compiling Rainbow String+Rainbow.swift
[30/176] Compiling Rainbow XcodeColorsSupport.swift
[31/176] Compiling SwiftCLI Term.swift
[32/176] Compiling SwiftCLI Validation.swift
[33/176] Compiling SwiftCLI Path.swift
[34/176] Compiling SwiftCLI Stream.swift
[35/176] Compiling SwiftCLI Task.swift
[36/176] Compiling SwiftCLI Input.swift
[37/176] Compiling SwiftCLI Option.swift
[38/176] Compiling SwiftCLI OptionGroup.swift
[41/181] Compiling BartyCrouchUtility Transformer.swift
[42/181] Compiling Toml String.swift
[43/182] Compiling Toml Tokens.swift
[44/182] Compiling Toml Lexer.swift
[45/182] Compiling Toml Parser.swift
[46/182] Compiling SwiftSyntax AbsolutePosition.swift
[47/182] Compiling SwiftSyntax BumpPtrAllocator.swift
[48/182] Compiling MungoHealer MungoHealableError.swift
[53/184] Compiling Toml Serialize.swift
[54/184] Compiling BartyCrouchUtility Secret.swift
[59/184] Compiling Rainbow Rainbow.swift
[60/184] Compiling BartyCrouchUtility Constants.swift
[61/184] Emitting module Toml
[63/184] Compiling MungoHealer BaseError.swift
[70/186] Emitting module MungoHealer
[82/186] Compiling SwiftCLI OptionRegistry.swift
[83/186] Compiling SwiftCLI Parameter.swift
[84/186] Compiling SwiftCLI Parser.swift
[85/186] Emitting module HandySwift
[103/186] Compiling MungoHealer resource_bundle_accessor.swift
[106/186] Emitting module Rainbow
[109/188] Compiling Microya HttpAuthPlugin.swift
[110/188] Compiling Microya ProgressIndicatorPlugin.swift
[118/189] Compiling HandySwift Unowned.swift
[122/189] Compiling Microya RequestLoggerPlugin.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)
[127/190] 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 | )
[131/190] Wrapping AST for BartyCrouchUtility for debugging
[134/190] Compiling HandySwift Weak.swift
[136/191] Compiling Toml Toml.swift
[136/192] Wrapping AST for Rainbow for debugging
[138/192] Wrapping AST for MungoHealer for debugging
[141/192] Compiling Microya ResponseLoggerPlugin.swift
[141/192] Wrapping AST for SwiftCLI for debugging
[142/192] Wrapping AST for HandySwift for debugging
[142/192] Wrapping AST for Toml for debugging
BUILD FAILURE 6.0 linux