Build Information
Failed to build BartyCrouch with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" 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.40.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: $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-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
Fetching https://github.com/Flinesoft/Microya.git
[1/824] Fetching microya
Fetched https://github.com/Flinesoft/Microya.git from cache (0.24s)
Fetching https://github.com/jdfergason/swift-toml.git
[1/582] Fetching swift-toml
Fetched https://github.com/jdfergason/swift-toml.git from cache (0.20s)
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/1118] Fetching rainbow
[538/6192] Fetching rainbow, swiftcli
[1639/10431] Fetching rainbow, swiftcli, swift-custom-dump
[8504/13641] Fetching rainbow, swiftcli, swift-custom-dump, handyswift
[8633/14089] Fetching rainbow, swiftcli, swift-custom-dump, handyswift, mungohealer
Fetched https://github.com/pointfreeco/swift-custom-dump.git from cache (0.34s)
[9465/9850] Fetching rainbow, swiftcli, handyswift, mungohealer
Fetched https://github.com/Flinesoft/MungoHealer.git from cache (0.47s)
Fetched https://github.com/Flinesoft/HandySwift.git from cache (0.48s)
[1/60953] Fetching swift-syntax
Fetched https://github.com/onevcat/Rainbow.git from cache (4.24s)
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (4.24s)
Fetched https://github.com/apple/swift-syntax.git from cache (4.29s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (0.52s)
Computing version for https://github.com/Flinesoft/MungoHealer.git
Computed https://github.com/Flinesoft/MungoHealer.git at 0.3.4 (0.54s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (0.72s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (1.39s)
Computing version for https://github.com/Flinesoft/HandySwift.git
Computed https://github.com/Flinesoft/HandySwift.git at 3.4.0 (0.52s)
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.53s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/2356] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.45s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (0.54s)
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/MungoHealer.git
Working copy of https://github.com/Flinesoft/MungoHealer.git resolved at 0.3.4
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/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/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/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 6.0.3
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] Write sources
[0/40] Copying Localizable.strings
[0/40] Copying Info.plist
[2/40] Write sources
[18/40] Write swift-version-24593BA9C3E375BF.txt
[20/173] Compiling Rainbow Style.swift
[21/174] Compiling SwiftSyntax AbsolutePosition.swift
[22/174] Compiling SwiftSyntax BumpPtrAllocator.swift
[23/174] Compiling Rainbow StringGenerator.swift
[24/174] Compiling SwiftSyntax CommonAncestor.swift
[25/174] Compiling SwiftSyntax IncrementalParseTransition.swift
[26/174] Compiling Rainbow String+Rainbow.swift
[31/174] Compiling SwiftSyntax MemoryLayout.swift
[32/174] Compiling SwiftSyntax RawSyntax.swift
[33/179] Compiling SwiftSyntax SourceLocation.swift
[34/179] Compiling SwiftSyntax SourcePresence.swift
[35/179] Compiling SwiftSyntax Syntax.swift
[36/179] Compiling SwiftSyntax SyntaxArena.swift
[37/179] Compiling SwiftSyntax SyntaxChildren.swift
[38/179] Compiling Rainbow XcodeColorsSupport.swift
[39/179] Compiling SwiftSyntax RawSyntaxValidation.swift
[40/179] Compiling SwiftSyntax SourceLength.swift
[47/182] Compiling BartyCrouchUtility Constants.swift
[48/182] Emitting module BartyCrouchUtility
[49/182] Compiling BartyCrouchUtility Secret.swift
[54/183] Emitting module Rainbow
[55/183] Compiling SwiftSyntax RawSyntaxNodes.swift
[57/183] Compiling SwiftSyntax SyntaxData.swift
[58/183] Compiling SwiftSyntax SyntaxOtherNodes.swift
[59/185] Emitting module Toml
[60/185] Compiling Toml Serialize.swift
[63/185] Compiling Toml String.swift
[64/185] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[65/185] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[66/185] Compiling Toml Tokens.swift
[69/185] Compiling Rainbow Rainbow.swift
[70/185] Compiling BartyCrouchUtility Transformer.swift
[75/187] Compiling SwiftSyntax RawSyntaxTokenView.swift
[78/187] Compiling Microya HttpAuthPlugin.swift
[94/188] Emitting module MungoHealer
[99/188] Emitting module HandySwift
[106/188] Compiling MungoHealer resource_bundle_accessor.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)
[112/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.
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 | )
[115/189] Compiling Microya ProgressIndicatorPlugin.swift
[116/189] Compiling Microya RequestLoggerPlugin.swift
[118/189] Emitting module SwiftCLI
[124/189] Compiling HandySwift Unowned.swift
[130/189] Wrapping AST for BartyCrouchUtility for debugging
[131/189] Wrapping AST for Rainbow for debugging
[132/189] Wrapping AST for MungoHealer for debugging
[134/189] Compiling Microya ResponseLoggerPlugin.swift
[136/189] Compiling HandySwift Weak.swift
BUILD FAILURE 6.0 linux