Build Information
Failed to build BartyCrouch, reference main (aabff7
), 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-1":/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: 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.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-1":/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.30s)
Fetching https://github.com/jdfergason/swift-toml.git
[1/582] Fetching swift-toml
Fetched https://github.com/jdfergason/swift-toml.git from cache (0.19s)
Fetching https://github.com/Flinesoft/HandySwift.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/Flinesoft/MungoHealer.git
Fetching https://github.com/pointfreeco/swift-custom-dump.git
Fetching https://github.com/jakeheis/SwiftCLI.git
[1/1196] Fetching rainbow
[1197/4564] Fetching rainbow, handyswift
[1332/9145] Fetching rainbow, handyswift, swift-custom-dump
[8170/9593] Fetching rainbow, handyswift, swift-custom-dump, mungohealer
[9465/79826] Fetching rainbow, handyswift, swift-custom-dump, mungohealer, swift-syntax
[79698/84900] Fetching rainbow, handyswift, swift-custom-dump, mungohealer, swift-syntax, swiftcli
Fetched https://github.com/pointfreeco/swift-custom-dump.git from cache (4.20s)
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (4.20s)
Fetched https://github.com/Flinesoft/MungoHealer.git from cache (4.62s)
Fetched https://github.com/onevcat/Rainbow.git from cache (4.62s)
Fetched https://github.com/Flinesoft/HandySwift.git from cache (4.63s)
Fetched https://github.com/apple/swift-syntax.git from cache (4.67s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (5.14s)
Computing version for https://github.com/Flinesoft/MungoHealer.git
Computed https://github.com/Flinesoft/MungoHealer.git at 0.3.4 (0.47s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (0.58s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (1.81s)
Computing version for https://github.com/Flinesoft/HandySwift.git
Computed https://github.com/Flinesoft/HandySwift.git at 3.4.0 (0.46s)
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.52s)
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.57s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (1.10s)
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/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/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/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/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/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/Flinesoft/HandySwift.git
Working copy of https://github.com/Flinesoft/HandySwift.git resolved at 3.4.0
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] Copying Info.plist
[0/40] Write sources
[18/40] Write swift-version-24593BA9C3E375BF.txt
[20/173] Emitting module SwiftCLI
[21/175] Compiling Toml Date.swift
[22/175] Compiling Toml Evaluator.swift
[23/176] Compiling Rainbow String+Rainbow.swift
[24/176] Compiling SwiftCLI ValueBox.swift
[25/176] Compiling SwiftCLI VersionCommand.swift
[26/176] Compiling Rainbow StringGenerator.swift
[27/176] Compiling Rainbow Style.swift
[28/176] Compiling Rainbow XcodeColorsSupport.swift
[29/176] Compiling BartyCrouchUtility Transformer.swift
[30/176] Compiling HandySwift SortedArray.swift
[31/176] Compiling SwiftCLI Validation.swift
[32/176] Compiling BartyCrouchUtility Constants.swift
[33/176] Emitting module BartyCrouchUtility
[36/177] Compiling Rainbow Rainbow.swift
[37/177] Compiling Toml Helpers.swift
[38/177] Compiling Toml Lexer.swift
[39/177] Compiling Toml Parser.swift
[40/177] Compiling Toml Path.swift
[41/177] Compiling Toml Regex.swift
[42/177] Compiling HandySwift NSObjectExt.swift
[43/179] Compiling HandySwift Withable.swift
[44/179] Compiling HandySwift FrequencyTable.swift
[45/179] Compiling HandySwift Regex.swift
[47/179] Compiling Microya RequestLoggerPlugin.swift
[48/179] Compiling Toml Grammar.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,
[52/179] Emitting module Rainbow
[55/180] Compiling HandySwift TimeIntervalExt.swift
[56/180] Compiling HandySwift Globals.swift
[59/181] Compiling HandySwift StringExt.swift
[60/181] Compiling HandySwift StringProtocolExt.swift
[62/181] Compiling HandySwift NSRangeExt.swift
[63/181] Compiling Microya ProgressIndicatorPlugin.swift
[64/181] Compiling BartyCrouchUtility Secret.swift
[67/182] Compiling Microya HttpAuthPlugin.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[80/183] 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 | )
[87/183] Compiling HandySwift DivisibleArithmetic.swift
[91/183] Emitting module MungoHealer
[92/183] Compiling Toml Serialize.swift
[98/183] Emitting module HandySwift
[108/183] Compiling Toml String.swift
[109/183] Compiling Toml Tokens.swift
[113/184] Emitting module Toml
[120/184] Compiling MungoHealer resource_bundle_accessor.swift
[134/185] Compiling HandySwift Unowned.swift
[135/185] Compiling HandySwift Weak.swift
[139/191] Compiling Microya ResponseLoggerPlugin.swift
[139/191] Wrapping AST for BartyCrouchUtility for debugging
[139/191] Wrapping AST for SwiftCLI for debugging
[139/191] Wrapping AST for Rainbow for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
[2/97] Compiling SwiftCLI ArgumentList.swift
[3/97] Compiling SwiftCLI ArgumentListManipulator.swift
[4/98] Emitting module Toml
[5/99] Compiling Rainbow Style.swift
[6/151] Compiling Microya ProgressIndicatorPlugin.swift
[7/159] Compiling BartyCrouchUtility Constants.swift
[8/159] Emitting module BartyCrouchUtility
[9/159] Compiling Toml Tokens.swift
[10/159] Compiling HandySwift NSObjectExt.swift
[11/159] Compiling HandySwift ArrayExt.swift
[12/159] Compiling BartyCrouchUtility Secret.swift
[13/159] Compiling BartyCrouchUtility Transformer.swift
[14/160] Compiling HandySwift DoubleExt.swift
[15/160] Compiling HandySwift IntExt.swift
[16/160] Compiling HandySwift DispatchTimeIntervalExt.swift
[17/160] Compiling HandySwift NSRangeExt.swift
[18/160] Compiling Microya RequestLoggerPlugin.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/160] 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
[20/160] Emitting module Rainbow
[21/160] Compiling HandySwift CollectionExt.swift
[22/160] Compiling HandySwift ComparableExt.swift
[23/160] Emitting module MungoHealer
[24/160] Compiling MungoHealer resource_bundle_accessor.swift
[25/160] Compiling Rainbow StringGenerator.swift
[26/160] Compiling HandySwift DataExt.swift
[27/160] Compiling HandySwift DictionaryExt.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,
[30/160] Compiling Microya HttpAuthPlugin.swift
[31/160] Compiling HandySwift StringExt.swift
[32/160] Compiling HandySwift StringProtocolExt.swift
[33/160] Compiling HandySwift TimeIntervalExt.swift
[34/160] Compiling HandySwift Globals.swift
[37/161] Compiling Rainbow Rainbow.swift
[38/161] Compiling Rainbow String+Rainbow.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 | )
[44/161] Compiling Rainbow XcodeColorsSupport.swift
[45/161] Compiling Microya ResponseLoggerPlugin.swift
[46/161] Compiling Toml Serialize.swift
[53/161] Wrapping AST for BartyCrouchUtility for debugging
BUILD FAILURE 6.1 linux