Build Information
Failed to build BartyCrouch, reference 4.15.1 (fe8811
), with Swift 6.1 for Android on 28 May 2025 19:10:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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: android
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-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/Flinesoft/Microya.git
[1/824] Fetching microya
Fetched https://github.com/Flinesoft/Microya.git from cache (0.26s)
Fetching https://github.com/jdfergason/swift-toml.git
[1/582] Fetching swift-toml
Fetched https://github.com/jdfergason/swift-toml.git from cache (0.24s)
Fetching https://github.com/Flinesoft/HandySwift.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/pointfreeco/swift-custom-dump.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/Flinesoft/MungoHealer.git
[1/3368] Fetching handyswift
[473/7949] Fetching handyswift, swift-custom-dump
[2073/8397] Fetching handyswift, swift-custom-dump, mungohealer
[2585/13471] Fetching handyswift, swift-custom-dump, mungohealer, swiftcli
[6367/14667] Fetching handyswift, swift-custom-dump, mungohealer, swiftcli, rainbow
Fetched https://github.com/onevcat/Rainbow.git from cache (0.56s)
Fetched https://github.com/Flinesoft/MungoHealer.git from cache (0.57s)
Fetched https://github.com/pointfreeco/swift-custom-dump.git from cache (0.64s)
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (0.65s)
[1/70449] Fetching swift-syntax
Fetched https://github.com/Flinesoft/HandySwift.git from cache (6.53s)
Fetched https://github.com/apple/swift-syntax.git from cache (6.61s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (7.48s)
Computing version for https://github.com/Flinesoft/MungoHealer.git
Computed https://github.com/Flinesoft/MungoHealer.git at 0.3.4 (0.88s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (1.08s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (3.42s)
Computing version for https://github.com/Flinesoft/HandySwift.git
Computed https://github.com/Flinesoft/HandySwift.git at 3.4.0 (0.79s)
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.91s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5458] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.06s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (2.01s)
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/Flinesoft/HandySwift.git
Working copy of https://github.com/Flinesoft/HandySwift.git resolved at 3.4.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/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/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
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
warning: 'spi-builder-workspace': Invalid Resource 'Secrets/secrets.json': File not found.
Building for debugging...
[0/40] Write sources
[5/40] Copying Localizable.strings
[5/40] Copying Info.plist
[5/40] Copying Localizable.strings
[5/40] Write sources
[18/40] Write swift-version-24593BA9C3E375BF.txt
[20/173] Emitting module MungoHealer
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/174] Emitting module SwiftCLI
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[22/176] Emitting module HandySwift
[23/178] Compiling Rainbow String+Rainbow.swift
[24/178] Compiling Rainbow Style.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/179] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 | // Check if we are in any term env and the output is a tty.
56 | let termType = getEnvValue("TERM")
57 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
58 | return .console
59 | }
[26/179] Compiling SwiftCLI ArgumentList.swift
[27/179] Compiling SwiftCLI ArgumentListManipulator.swift
[28/179] Compiling HandySwift Weak.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[29/179] Compiling SwiftCLI VersionCommand.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[30/179] Compiling Rainbow StringGenerator.swift
[31/179] Compiling Rainbow XcodeColorsSupport.swift
[32/179] Compiling MungoHealer HealingOption.swift
[33/179] Compiling MungoHealer MungoHealer.swift
[34/179] Compiling SwiftCLI Parser.swift
[35/179] Compiling SwiftCLI Path.swift
[36/179] Compiling SwiftCLI Stream.swift
[37/179] Compiling SwiftCLI Task.swift
[38/179] Compiling SwiftCLI Term.swift
[39/179] Compiling HandySwift Unowned.swift
[42/184] Compiling Rainbow Rainbow.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[45/184] Compiling MungoHealer MungoError.swift
[46/184] Compiling MungoHealer MungoFatalError.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[56/185] Compiling MungoHealer Globals.swift
[57/185] Compiling MungoHealer ErrorSource.swift
[64/185] Compiling BartyCrouchUtility Transformer.swift
[65/185] Compiling MungoHealer MungoHealableError.swift
[66/185] Compiling MungoHealer BaseError.swift
[67/185] Compiling Toml String.swift
[68/185] Emitting module Toml
[69/185] Compiling MungoHealer resource_bundle_accessor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[70/185] 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
[71/185] Compiling Microya RequestLoggerPlugin.swift
[72/185] Compiling Microya ProgressIndicatorPlugin.swift
[76/186] Compiling MungoHealer FatalError.swift
[77/186] Compiling MungoHealer HealableError.swift
[78/186] Compiling MungoHealer StringExt.swift
[79/186] Compiling MungoHealer UIWindowExt.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,
/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 | )
[93/186] Compiling Toml Serialize.swift
[94/186] Compiling Toml Tokens.swift
[95/186] Compiling BartyCrouchUtility Constants.swift
[96/186] Emitting module BartyCrouchUtility
[97/186] Compiling BartyCrouchUtility Secret.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 | // Check if we are in any term env and the output is a tty.
56 | let termType = getEnvValue("TERM")
57 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
58 | return .console
59 | }
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 | // Check if we are in any term env and the output is a tty.
56 | let termType = getEnvValue("TERM")
57 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
58 | return .console
59 | }
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-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/155] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[3/155] Compiling SwiftSyntax RawSyntaxTokenView.swift
[4/156] Compiling SwiftSyntax SourceLocation.swift
[5/156] Compiling SwiftSyntax SourcePresence.swift
[6/156] Compiling SwiftSyntax Syntax.swift
[7/156] Compiling SwiftSyntax SyntaxArena.swift
[8/156] Compiling BartyCrouchUtility Constants.swift
[9/156] Compiling SwiftSyntax BumpPtrAllocator.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[10/156] Compiling SwiftSyntax CommonAncestor.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[11/156] Compiling SwiftSyntax RawSyntaxNodes.swift
[12/156] Compiling SwiftSyntax RawSyntaxValidation.swift
[13/158] Compiling SwiftSyntax MemoryLayout.swift
[14/158] Compiling SwiftSyntax RawSyntax.swift
[15/160] Compiling BartyCrouchUtility Secret.swift
[16/160] Emitting module BartyCrouchUtility
[17/160] Emitting module MungoHealer
[18/160] Compiling Microya RequestLoggerPlugin.swift
[19/160] Compiling SwiftSyntax SyntaxChildren.swift
[20/160] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[24/161] Compiling SwiftSyntax SourceLength.swift
[25/161] Compiling SwiftSyntax AbsolutePosition.swift
[28/161] Compiling BartyCrouchUtility Transformer.swift
[29/162] Compiling Microya ProgressIndicatorPlugin.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,
[34/162] Compiling Microya HttpAuthPlugin.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/162] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 | // Check if we are in any term env and the output is a tty.
56 | let termType = getEnvValue("TERM")
57 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
58 | return .console
59 | }
[36/162] Compiling Rainbow Style.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 | )
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/163] 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
[42/163] Compiling Toml Tokens.swift
[45/164] Compiling SwiftSyntax IncrementalParseTransition.swift
[46/164] Compiling Rainbow Rainbow.swift
[52/164] Compiling Rainbow StringGenerator.swift
[59/164] Compiling Rainbow String+Rainbow.swift
[60/164] Emitting module Toml
[63/164] Compiling Toml Serialize.swift
[64/164] Compiling Toml String.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 | // Check if we are in any term env and the output is a tty.
56 | let termType = getEnvValue("TERM")
57 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
58 | return .console
59 | }
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 | // Check if we are in any term env and the output is a tty.
56 | let termType = getEnvValue("TERM")
57 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
58 | return .console
59 | }
[78/164] Compiling HandySwift Weak.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[79/164] Compiling SwiftCLI VersionCommand.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[80/164] Emitting module HandySwift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[81/164] Emitting module SwiftCLI
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[88/164] Compiling MungoHealer resource_bundle_accessor.swift
[89/165] Compiling HandySwift Unowned.swift
[91/165] Compiling Microya ResponseLoggerPlugin.swift
[92/165] Compiling Rainbow XcodeColorsSupport.swift
[93/165] Compiling SwiftSyntax SyntaxData.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[94/165] Compiling SwiftSyntax SyntaxOtherNodes.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
10 | import Glibc
11 | #else
12 | import Darwin
| `- error: no such module 'Darwin'
13 | #endif
14 |
[99/165] Wrapping AST for MungoHealer for debugging
[101/165] Wrapping AST for BartyCrouchUtility for debugging
BUILD FAILURE 6.1 android