Build Information
Failed to build BartyCrouch, reference 4.15.1 (fe8811
), with Swift 6.1 for Linux on 27 Apr 2025 18:50:56 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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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.1
Building package at path: $PWD
https://github.com/FlineDev/BartyCrouch.git
https://github.com/FlineDev/BartyCrouch.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "handyswift",
"requirement" : {
"range" : [
{
"lower_bound" : "3.2.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Flinesoft/HandySwift.git"
},
{
"identity" : "microya",
"requirement" : {
"branch" : [
"support/without-combine"
]
},
"type" : "sourceControl",
"url" : "https://github.com/Flinesoft/Microya.git"
},
{
"identity" : "mungohealer",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.4",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Flinesoft/MungoHealer.git"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "3.1.5",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow.git"
},
{
"identity" : "swiftcli",
"requirement" : {
"range" : [
{
"lower_bound" : "6.0.3",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jakeheis/SwiftCLI.git"
},
{
"identity" : "swift-toml",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/jdfergason/swift-toml.git"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "508.0.0",
"upper_bound" : "509.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
},
{
"identity" : "swift-custom-dump",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-custom-dump.git"
}
],
"manifest_display_name" : "BartyCrouch",
"name" : "BartyCrouch",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "bartycrouch",
"targets" : [
"BartyCrouch"
],
"type" : {
"executable" : null
}
},
{
"name" : "BartyCrouchConfiguration",
"targets" : [
"BartyCrouchConfiguration"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BartyCrouchKit",
"targets" : [
"BartyCrouchKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BartyCrouchTranslator",
"targets" : [
"BartyCrouchTranslator"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BartyCrouchUtility",
"module_type" : "SwiftTarget",
"name" : "BartyCrouchUtility",
"path" : "Sources/BartyCrouchUtility",
"product_memberships" : [
"bartycrouch",
"BartyCrouchConfiguration",
"BartyCrouchKit"
],
"sources" : [
"Constants.swift",
"Secret.swift",
"Transformer.swift"
],
"type" : "library"
},
{
"c99name" : "BartyCrouchTranslatorTests",
"module_type" : "SwiftTarget",
"name" : "BartyCrouchTranslatorTests",
"path" : "Tests/BartyCrouchTranslatorTests",
"sources" : [
"DeepLTranslatorApiTests.swift",
"MicrosoftTranslatorApiTests.swift",
"Secrets/Secrets.swift"
],
"target_dependencies" : [
"BartyCrouchTranslator"
],
"type" : "test"
},
{
"c99name" : "BartyCrouchTranslator",
"module_type" : "SwiftTarget",
"name" : "BartyCrouchTranslator",
"path" : "Sources/BartyCrouchTranslator",
"product_dependencies" : [
"HandySwift",
"Microya",
"MungoHealer"
],
"product_memberships" : [
"bartycrouch",
"BartyCrouchKit",
"BartyCrouchTranslator"
],
"sources" : [
"BartyCrouchTranslator.swift",
"DeeplApi/DeepLApi.swift",
"DeeplApi/Model/DeepLTranslateErrorResponse.swift",
"DeeplApi/Model/DeepLTranslateResponse.swift",
"MicrosoftTranslatorApi/MicrosoftTranslatorApi.swift",
"MicrosoftTranslatorApi/Models/Language.swift",
"MicrosoftTranslatorApi/Models/TranslateRequest.swift",
"MicrosoftTranslatorApi/Models/TranslateResponse.swift"
],
"type" : "library"
},
{
"c99name" : "BartyCrouchKitTests",
"module_type" : "SwiftTarget",
"name" : "BartyCrouchKitTests",
"path" : "Tests/BartyCrouchKitTests",
"sources" : [
"CommandLine/CommandLineActorTests.swift",
"CommandLine/CommandLineParserTests.swift",
"CommandLine/ExtractLocStringsCommanderTests.swift",
"CommandLine/ExtractLocStringsTests.swift",
"CommandLine/FindFilesTests.swift",
"CommandLine/IBToolCommanderTests.swift",
"DemoTests/DemoData.swift",
"DemoTests/DemoTests.swift",
"DemoTests/Directory.swift",
"FileHandling/CodeFileHandlerTests.swift",
"FileHandling/CodeFilesSearchTests.swift",
"FileHandling/StringsFileUpdaterTests.swift",
"FileHandling/StringsFilesSearchTests.swift",
"Helpers/FileManagerExtension.swift"
],
"target_dependencies" : [
"BartyCrouchKit"
],
"type" : "test"
},
{
"c99name" : "BartyCrouchKit",
"module_type" : "SwiftTarget",
"name" : "BartyCrouchKit",
"path" : "Sources/BartyCrouchKit",
"product_dependencies" : [
"HandySwift",
"MungoHealer",
"Rainbow",
"SwiftCLI",
"SwiftSyntaxParser",
"SwiftSyntax"
],
"product_memberships" : [
"bartycrouch",
"BartyCrouchKit"
],
"sources" : [
"Commands/InitCommand.swift",
"Commands/LintCommand.swift",
"Commands/UpdateCommand.swift",
"FileHandling/CodeFileHandler.swift",
"FileHandling/CodeFilesSearch.swift",
"FileHandling/FilesSearchable.swift",
"FileHandling/StringsFileUpdater.swift",
"FileHandling/StringsFilesSearch.swift",
"FileHandling/SupportedLanguagesReader.swift",
"FileHandling/TranslateTransformer.swift",
"Globals/CommandExecution.swift",
"Globals/CommandLineErrorHandler.swift",
"Globals/Env.swift",
"Globals/Extensions/ArrayExtension.swift",
"Globals/Extensions/StringExtension.swift",
"Globals/GlobalOptions.swift",
"Globals/PrintLevel.swift",
"Globals/TestHelper.swift",
"OldCommandLine/CodeCommander.swift",
"OldCommandLine/CommandLineActor.swift",
"OldCommandLine/ExtractLocStrings.swift",
"OldCommandLine/IBToolCommander.swift",
"TaskHandlers/CodeTaskHandler.swift",
"TaskHandlers/InitTaskHandler.swift",
"TaskHandlers/InterfacesTaskHandler.swift",
"TaskHandlers/LintTaskHandler.swift",
"TaskHandlers/NormalizeTaskHandler.swift",
"TaskHandlers/TaskHandler.swift",
"TaskHandlers/TransformTaskHandler.swift",
"TaskHandlers/TranslateTaskHandler.swift"
],
"target_dependencies" : [
"BartyCrouchConfiguration",
"BartyCrouchTranslator",
"BartyCrouchUtility"
],
"type" : "library"
},
{
"c99name" : "BartyCrouchConfigurationTests",
"module_type" : "SwiftTarget",
"name" : "BartyCrouchConfigurationTests",
"path" : "Tests/BartyCrouchConfigurationTests",
"product_dependencies" : [
"CustomDump",
"Toml"
],
"sources" : [
"ConfigurationTests.swift"
],
"target_dependencies" : [
"BartyCrouchConfiguration"
],
"type" : "test"
},
{
"c99name" : "BartyCrouchConfiguration",
"module_type" : "SwiftTarget",
"name" : "BartyCrouchConfiguration",
"path" : "Sources/BartyCrouchConfiguration",
"product_dependencies" : [
"MungoHealer",
"Toml"
],
"product_memberships" : [
"bartycrouch",
"BartyCrouchConfiguration",
"BartyCrouchKit"
],
"sources" : [
"Configuration.swift",
"Extensions/TomlExtension.swift",
"Options/LintOptions.swift",
"Options/UpdateOptions.swift",
"Options/UpdateOptions/CodeOptions.swift",
"Options/UpdateOptions/InterfacesOptions.swift",
"Options/UpdateOptions/NormalizeOptions.swift",
"Options/UpdateOptions/TransformOptions.swift",
"Options/UpdateOptions/TranslateOptions.swift",
"TomlCodable.swift"
],
"target_dependencies" : [
"BartyCrouchUtility"
],
"type" : "library"
},
{
"c99name" : "BartyCrouch",
"module_type" : "SwiftTarget",
"name" : "BartyCrouch",
"path" : "Sources/BartyCrouch",
"product_memberships" : [
"bartycrouch"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"BartyCrouchKit"
],
"type" : "executable"
}
],
"tools_version" : "5.4"
}
warning: 'spi-builder-workspace': Invalid Resource 'Secrets/secrets.json': File not found.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/Flinesoft/Microya.git
[1/824] Fetching microya
Fetched https://github.com/Flinesoft/Microya.git from cache (0.32s)
Fetching https://github.com/jdfergason/swift-toml.git
[1/582] Fetching swift-toml
Fetched https://github.com/jdfergason/swift-toml.git from cache (0.21s)
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/Flinesoft/MungoHealer.git
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/pointfreeco/swift-custom-dump.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/Flinesoft/HandySwift.git
[1/1196] Fetching rainbow
[1197/1644] Fetching rainbow, mungohealer
[1619/5012] Fetching rainbow, mungohealer, handyswift
[1822/9593] Fetching rainbow, mungohealer, handyswift, swift-custom-dump
[8592/14667] Fetching rainbow, mungohealer, handyswift, swift-custom-dump, swiftcli
Fetched https://github.com/onevcat/Rainbow.git from cache (0.26s)
[7716/13471] Fetching mungohealer, handyswift, swift-custom-dump, swiftcli
Fetched https://github.com/pointfreeco/swift-custom-dump.git from cache (0.33s)
[6733/8890] Fetching mungohealer, handyswift, swiftcli
Fetched https://github.com/Flinesoft/HandySwift.git from cache (0.36s)
Fetched https://github.com/Flinesoft/MungoHealer.git from cache (0.44s)
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (0.45s)
[1/70233] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (4.84s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (5.50s)
Computing version for https://github.com/Flinesoft/MungoHealer.git
Computed https://github.com/Flinesoft/MungoHealer.git at 0.3.4 (0.46s)
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 (1.80s)
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.2 (0.47s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5388] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.60s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (1.09s)
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/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/Microya.git
Working copy of https://github.com/Flinesoft/Microya.git resolved at support/without-combine (bdb03dd)
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/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/MungoHealer.git
Working copy of https://github.com/Flinesoft/MungoHealer.git resolved at 0.3.4
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/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
[1/40] Copying Info.plist
[1/40] Copying Localizable.strings
[18/40] Write swift-version-24593BA9C3E375BF.txt
[20/173] Emitting module BartyCrouchUtility
[21/173] Compiling Rainbow Style.swift
[22/173] Compiling Rainbow StringGenerator.swift
[23/173] Compiling Rainbow String+Rainbow.swift
[24/174] Compiling Rainbow XcodeColorsSupport.swift
[25/174] Compiling SwiftSyntax Misc.swift
[26/174] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[27/174] Compiling SwiftSyntax SyntaxBaseNodes.swift
[28/174] Compiling SwiftSyntax SyntaxEnum.swift
[29/174] Compiling SwiftSyntax SyntaxKind.swift
[30/179] Compiling SwiftSyntax AbsolutePosition.swift
[31/179] Compiling SwiftSyntax BumpPtrAllocator.swift
[32/179] Compiling SwiftSyntax CommonAncestor.swift
[33/179] Compiling SwiftSyntax IncrementalParseTransition.swift
[34/179] Compiling SwiftSyntax MemoryLayout.swift
[35/179] Compiling SwiftSyntax RawSyntax.swift
[36/179] Compiling SwiftSyntax SourceLocation.swift
[37/179] Compiling SwiftSyntax SourcePresence.swift
[38/179] Compiling SwiftSyntax Syntax.swift
[39/179] Compiling SwiftSyntax SyntaxArena.swift
[40/179] Compiling SwiftSyntax SyntaxChildren.swift
[41/179] Compiling MungoHealer MungoHealer.swift
[42/179] Compiling MungoHealer Globals.swift
[43/179] Compiling MungoHealer ErrorSource.swift
[44/179] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[45/179] Compiling SwiftSyntax Utils.swift
[48/181] Compiling Rainbow Rainbow.swift
[49/181] Compiling BartyCrouchUtility Transformer.swift
[50/181] Compiling Toml Serialize.swift
[51/181] Compiling BartyCrouchUtility Secret.swift
[52/182] Compiling Toml String.swift
[55/182] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[56/182] Compiling SwiftSyntax RawSyntaxValidation.swift
[57/182] Compiling MungoHealer HealingOption.swift
[66/184] Compiling BartyCrouchUtility Constants.swift
[67/185] Compiling Toml Tokens.swift
[72/186] Emitting module HandySwift
[73/186] Compiling SwiftSyntax RawSyntaxNodes.swift
[75/186] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[76/186] Compiling SwiftSyntax RawSyntaxTokenView.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,
[91/187] Emitting module Toml
[94/187] Emitting module MungoHealer
error: emit-module command failed with exit code 1 (use -v to see invocation)
[101/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
[104/187] Compiling Microya ProgressIndicatorPlugin.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 | )
[109/187] Compiling Microya RequestLoggerPlugin.swift
[110/187] Compiling Microya HttpAuthPlugin.swift
[115/187] Emitting module Rainbow
[132/188] Compiling HandySwift Unowned.swift
[136/188] Emitting module SwiftCLI
[140/188] Compiling SwiftCLI ValueBox.swift
[141/189] Compiling MungoHealer resource_bundle_accessor.swift
[142/189] Compiling Microya ResponseLoggerPlugin.swift
[142/190] Wrapping AST for BartyCrouchUtility for debugging
[142/190] Wrapping AST for Rainbow for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/155] 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
[3/156] Compiling Rainbow Style.swift
[4/157] Compiling Microya HttpAuthPlugin.swift
[5/157] Compiling Microya RequestLoggerPlugin.swift
[6/157] Emitting module MungoHealer
[7/157] Compiling HandySwift DataExt.swift
[8/157] Compiling HandySwift DictionaryExt.swift
[9/157] Compiling BartyCrouchUtility Constants.swift
[10/157] Emitting module BartyCrouchUtility
[11/158] Compiling BartyCrouchUtility Secret.swift
[12/158] Compiling BartyCrouchUtility Transformer.swift
[13/158] Compiling Toml Tokens.swift
[14/160] Compiling HandySwift ArrayExt.swift
[15/160] Compiling HandySwift CollectionExt.swift
[18/160] Compiling Microya ProgressIndicatorPlugin.swift
[19/160] Compiling HandySwift IntExt.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,
[20/160] Compiling HandySwift NSObjectExt.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,
[21/160] Compiling MungoHealer resource_bundle_accessor.swift
[22/160] Compiling Rainbow StringGenerator.swift
[23/160] Compiling HandySwift TimeIntervalExt.swift
[24/160] Compiling HandySwift Globals.swift
[25/160] Compiling HandySwift ComparableExt.swift
[26/160] Compiling HandySwift NSRangeExt.swift
[27/160] Compiling HandySwift StringExt.swift
[28/160] Compiling HandySwift StringProtocolExt.swift
[29/160] Compiling HandySwift DispatchTimeIntervalExt.swift
[30/160] Compiling HandySwift DoubleExt.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 | )
[37/161] Compiling HandySwift SortedArray.swift
[38/161] Compiling SwiftCLI Validation.swift
[41/163] Compiling HandySwift DivisibleArithmetic.swift
[42/163] Compiling Rainbow Rainbow.swift
[43/163] Compiling Rainbow String+Rainbow.swift
[44/165] Emitting module Toml
[45/165] Compiling Microya ResponseLoggerPlugin.swift
[56/165] Emitting module Rainbow
BUILD FAILURE 6.1 linux