Build Information
Failed to build translate_tool, reference main (9236d7
), with Swift 6.0 for Linux on 9 Jan 2025 23:28:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cenkbilgen/translate_strings.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/cenkbilgen/translate_strings
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9236d78 update help message
Cloned https://github.com/cenkbilgen/translate_strings.git
Revision (git rev-parse @):
9236d789d428c989fc64c1ab610c117b4b0c082f
SUCCESS checkout https://github.com/cenkbilgen/translate_strings.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/cenkbilgen/translate_strings.git
https://github.com/cenkbilgen/translate_strings.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-algorithms.git"
},
{
"identity" : "stringscatalogkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/cenkbilgen/StringsCatalogKit.git"
},
{
"identity" : "keychainsimple",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/cenkbilgen/KeychainSimple.git"
}
],
"manifest_display_name" : "translate_tool",
"name" : "translate_tool",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "strings_catalog_translate",
"targets" : [
"StringsCatalogTranslate",
"TranslationServices"
],
"type" : {
"executable" : null
}
},
{
"name" : "TranslationServices",
"targets" : [
"TranslationServices"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TranslationServices",
"module_type" : "SwiftTarget",
"name" : "TranslationServices",
"path" : "Sources/TranslationServices",
"product_memberships" : [
"strings_catalog_translate",
"TranslationServices"
],
"sources" : [
"Errors.swift",
"LLMAPI.swift",
"ModelSelectable.swift",
"TranslatorAnthropic.swift",
"TranslatorDeepL.swift",
"TranslatorGemini.swift",
"TranslatorOpenAI.swift",
"TranslatorProtocol.swift"
],
"type" : "library"
},
{
"c99name" : "StringsCatalogTranslate",
"module_type" : "SwiftTarget",
"name" : "StringsCatalogTranslate",
"path" : "Sources/StringsCatalogTranslate",
"product_dependencies" : [
"StringsCatalogKit",
"KeychainSimple",
"ArgumentParser",
"Algorithms"
],
"product_memberships" : [
"strings_catalog_translate"
],
"sources" : [
"Keys/KeyArguments.swift",
"Keys/Keychain.swift",
"Keys/KeysCommands.swift",
"Main.swift",
"Translators/AnthropicCommand.swift",
"Translators/AvailableLanguagesCommand.swift",
"Translators/DeepLCommand.swift",
"Translators/GeminiCommand.swift",
"Translators/OpenAICommand.swift",
"Translators/Options.swift",
"Translators/StringsCatalogCommand.swift"
],
"target_dependencies" : [
"TranslationServices"
],
"type" : "executable"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/cenkbilgen/StringsCatalogKit.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/cenkbilgen/KeychainSimple.git
[1/72] Fetching keychainsimple
[18/131] Fetching keychainsimple, stringscatalogkit
Fetched https://github.com/cenkbilgen/KeychainSimple.git from cache (0.19s)
[1/5614] Fetching swift-algorithms
[5615/18017] Fetching swift-algorithms, swift-argument-parser
Fetched https://github.com/cenkbilgen/StringsCatalogKit.git from cache (0.86s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.86s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.87s)
Computing version for https://github.com/cenkbilgen/KeychainSimple.git
Computed https://github.com/cenkbilgen/KeychainSimple.git at 2.0.0 (0.56s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.0 (2.28s)
Fetching https://github.com/apple/swift-numerics.git
[1/5576] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.40s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.55s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.57s)
Computing version for https://github.com/cenkbilgen/StringsCatalogKit.git
Computed https://github.com/cenkbilgen/StringsCatalogKit.git at 1.1.2 (0.53s)
Creating working copy for https://github.com/cenkbilgen/StringsCatalogKit.git
Working copy of https://github.com/cenkbilgen/StringsCatalogKit.git resolved at 1.1.2
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.2
Creating working copy for https://github.com/cenkbilgen/KeychainSimple.git
Working copy of https://github.com/cenkbilgen/KeychainSimple.git resolved at 2.0.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
warning: 'swift-algorithms': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-algorithms/Sources/Algorithms/Documentation.docc
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/21] Write sources
[9/21] Compiling _NumericsShims _NumericsShims.c
[10/21] Write swift-version-24593BA9C3E375BF.txt
[12/46] Emitting module StringsCatalogKit
[13/46] Emitting module ArgumentParserToolInfo
[14/46] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/47] Compiling RealModule Real.swift
[17/48] Compiling TranslationServices ModelSelectable.swift
[18/49] Compiling RealModule Float+Real.swift
[19/49] Compiling RealModule Float16+Real.swift
[20/49] Compiling RealModule AlgebraicField.swift
[21/49] Compiling RealModule ApproximateEquality.swift
[22/49] Compiling RealModule AugmentedArithmetic.swift
[23/49] Compiling RealModule Double+Real.swift
[24/49] Emitting module RealModule
[25/49] Compiling RealModule ElementaryFunctions.swift
[25/49] Wrapping AST for ArgumentParserToolInfo for debugging
[27/49] Compiling RealModule RealFunctions.swift
[28/49] Compiling RealModule Float80+Real.swift
[29/88] Wrapping AST for RealModule for debugging
[31/113] Compiling Algorithms Split.swift
[32/113] Compiling Algorithms Stride.swift
[33/113] Compiling Algorithms Suffix.swift
[34/116] Compiling Algorithms Joined.swift
[35/116] Compiling Algorithms Keyed.swift
[36/116] Compiling Algorithms MinMax.swift
[37/116] Compiling Algorithms RandomSample.swift
[38/116] Compiling Algorithms Reductions.swift
[39/116] Compiling Algorithms Rotate.swift
[40/116] Compiling Algorithms Partition.swift
[41/116] Compiling Algorithms Permutations.swift
[42/116] Compiling Algorithms Product.swift
[43/116] Compiling Algorithms Compacted.swift
[44/116] Compiling Algorithms Cycle.swift
[45/116] Compiling Algorithms EitherSequence.swift
[46/116] Compiling Algorithms FirstNonNil.swift
[47/116] Compiling Algorithms FlattenCollection.swift
[48/116] Compiling Algorithms Grouped.swift
[49/116] Compiling Algorithms Indexed.swift
[50/116] Compiling Algorithms Intersperse.swift
[51/116] Compiling Algorithms Trim.swift
[52/116] Compiling Algorithms Unique.swift
[53/116] Compiling Algorithms Windows.swift
[54/116] Compiling TranslationServices TranslatorOpenAI.swift
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorOpenAI.swift:22:63: error: cannot find type 'URLRequest' in scope
20 | }
21 |
22 | internal func makePromptRequest(prompt: String) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
23 | var request = makeRequest(path: "chat/completions")
24 | struct Body: Encodable {
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:13:54: error: cannot find type 'URLRequest' in scope
11 | var baseURL: URL { get }
12 | var headers: [String: String] { get }
13 | func makePromptRequest(prompt: String) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
14 | associatedtype ResponseBody: Decodable
15 | func decodeStructuredReply(body: ResponseBody) throws -> LLM.Schema.StructuredContent
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:19:48: error: cannot find type 'URLRequest' in scope
17 |
18 | extension LLMAPI {
19 | internal func makeRequest(path: String) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
20 | var request = URLRequest(url: baseURL.appending(path: path))
21 | request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorProtocol.swift:34:18: error: cannot find type 'URLRequest' in scope
32 |
33 | func send<ResponseBody: Decodable>(
34 | request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | decoder: JSONDecoder = NetService.decoder
36 | ) async throws -> ResponseBody {
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorOpenAI.swift:129:38: error: cannot convert value of type 'TranslatorOpenAI.ResponseBody' to specified type 'ResponseBody'
127 | }
128 |
129 | let body: ResponseBody = try await send(request: request)
| `- error: cannot convert value of type 'TranslatorOpenAI.ResponseBody' to specified type 'ResponseBody'
130 | return Set(body.data.map(\.id))
131 | }
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorOpenAI.swift:129:48: error: incorrect argument label in call (have 'request:', expected 'prompt:')
127 | }
128 |
129 | let body: ResponseBody = try await send(request: request)
| `- error: incorrect argument label in call (have 'request:', expected 'prompt:')
130 | return Set(body.data.map(\.id))
131 | }
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorOpenAI.swift:129:44: error: 'send' is inaccessible due to 'private' protection level
127 | }
128 |
129 | let body: ResponseBody = try await send(request: request)
| `- error: 'send' is inaccessible due to 'private' protection level
130 | return Set(body.data.map(\.id))
131 | }
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:30:18: note: 'send(prompt:)' declared here
28 | }
29 |
30 | private func send(prompt: String) async throws -> ResponseBody {
| `- note: 'send(prompt:)' declared here
31 | let request = try makePromptRequest(prompt: prompt)
32 | let body: ResponseBody = try await send(request: request, decoder: NetService.decoder)
[55/116] Compiling TranslationServices TranslatorGemini.swift
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorGemini.swift:43:54: error: cannot find type 'URLRequest' in scope
41 | }
42 |
43 | func makePromptRequest(prompt: String) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
44 | var request = makeRequest(path: "")
45 |
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:13:54: error: cannot find type 'URLRequest' in scope
11 | var baseURL: URL { get }
12 | var headers: [String: String] { get }
13 | func makePromptRequest(prompt: String) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
14 | associatedtype ResponseBody: Decodable
15 | func decodeStructuredReply(body: ResponseBody) throws -> LLM.Schema.StructuredContent
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:19:48: error: cannot find type 'URLRequest' in scope
17 |
18 | extension LLMAPI {
19 | internal func makeRequest(path: String) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
20 | var request = URLRequest(url: baseURL.appending(path: path))
21 | request.httpMethod = "POST"
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/116] Compiling TranslationServices Errors.swift
[57/116] Emitting module TranslationServices
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:13:54: error: cannot find type 'URLRequest' in scope
11 | var baseURL: URL { get }
12 | var headers: [String: String] { get }
13 | func makePromptRequest(prompt: String) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
14 | associatedtype ResponseBody: Decodable
15 | func decodeStructuredReply(body: ResponseBody) throws -> LLM.Schema.StructuredContent
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:19:48: error: cannot find type 'URLRequest' in scope
17 |
18 | extension LLMAPI {
19 | internal func makeRequest(path: String) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
20 | var request = URLRequest(url: baseURL.appending(path: path))
21 | request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorAnthropic.swift:25:54: error: cannot find type 'URLRequest' in scope
23 | let toolName = "StringArray" // check when response comes back that this matches
24 |
25 | func makePromptRequest(prompt: String) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
26 | var request = makeRequest(path: "messages")
27 |
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorDeepL.swift:22:39: error: cannot find type 'URLRequest' in scope
20 | let baseURL = URL(string: "https://api-free.deepl.com/v2/")!
21 |
22 | func makeRequest(path: String) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
23 | var request = URLRequest(url: baseURL.appending(path: path))
24 | request.setValue("DeepL-Auth-Key \(key)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorProtocol.swift:34:18: error: cannot find type 'URLRequest' in scope
32 |
33 | func send<ResponseBody: Decodable>(
34 | request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | decoder: JSONDecoder = NetService.decoder
36 | ) async throws -> ResponseBody {
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorDeepL.swift:71:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
69 | targetLanguage: targetLanguage
70 | )
71 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
72 | guard let httpResponse = response as? HTTPURLResponse else {
73 | throw TranslatorError.invalidResponse
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorDeepL.swift:87:38: error: cannot infer key path type from context; consider explicitly specifying a root type
85 | }
86 | let body = try NetService.decoder.decode(Body.self, from: data)
87 | return body.translations.map(\.text)
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
88 | }
89 | }
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorGemini.swift:43:54: error: cannot find type 'URLRequest' in scope
41 | }
42 |
43 | func makePromptRequest(prompt: String) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
44 | var request = makeRequest(path: "")
45 |
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorOpenAI.swift:22:63: error: cannot find type 'URLRequest' in scope
20 | }
21 |
22 | internal func makePromptRequest(prompt: String) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
23 | var request = makeRequest(path: "chat/completions")
24 | struct Body: Encodable {
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorOpenAI.swift:129:38: error: cannot convert value of type 'TranslatorOpenAI.ResponseBody' to specified type 'ResponseBody'
127 | }
128 |
129 | let body: ResponseBody = try await send(request: request)
| `- error: cannot convert value of type 'TranslatorOpenAI.ResponseBody' to specified type 'ResponseBody'
130 | return Set(body.data.map(\.id))
131 | }
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorOpenAI.swift:129:48: error: incorrect argument label in call (have 'request:', expected 'prompt:')
127 | }
128 |
129 | let body: ResponseBody = try await send(request: request)
| `- error: incorrect argument label in call (have 'request:', expected 'prompt:')
130 | return Set(body.data.map(\.id))
131 | }
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorOpenAI.swift:129:44: error: 'send' is inaccessible due to 'private' protection level
127 | }
128 |
129 | let body: ResponseBody = try await send(request: request)
| `- error: 'send' is inaccessible due to 'private' protection level
130 | return Set(body.data.map(\.id))
131 | }
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:30:18: note: 'send(prompt:)' declared here
28 | }
29 |
30 | private func send(prompt: String) async throws -> ResponseBody {
| `- note: 'send(prompt:)' declared here
31 | let request = try makePromptRequest(prompt: prompt)
32 | let body: ResponseBody = try await send(request: request, decoder: NetService.decoder)
[58/116] Compiling TranslationServices LLMAPI.swift
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:13:54: error: cannot find type 'URLRequest' in scope
11 | var baseURL: URL { get }
12 | var headers: [String: String] { get }
13 | func makePromptRequest(prompt: String) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
14 | associatedtype ResponseBody: Decodable
15 | func decodeStructuredReply(body: ResponseBody) throws -> LLM.Schema.StructuredContent
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:19:48: error: cannot find type 'URLRequest' in scope
17 |
18 | extension LLMAPI {
19 | internal func makeRequest(path: String) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
20 | var request = URLRequest(url: baseURL.appending(path: path))
21 | request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:20:23: error: cannot find 'URLRequest' in scope
18 | extension LLMAPI {
19 | internal func makeRequest(path: String) -> URLRequest {
20 | var request = URLRequest(url: baseURL.appending(path: path))
| `- error: cannot find 'URLRequest' in scope
21 | request.httpMethod = "POST"
22 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorProtocol.swift:34:18: error: cannot find type 'URLRequest' in scope
32 |
33 | func send<ResponseBody: Decodable>(
34 | request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | decoder: JSONDecoder = NetService.decoder
36 | ) async throws -> ResponseBody {
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:32:48: error: extra arguments at positions #1, #2 in call
28 | }
29 |
30 | private func send(prompt: String) async throws -> ResponseBody {
| `- note: 'send(prompt:)' declared here
31 | let request = try makePromptRequest(prompt: prompt)
32 | let body: ResponseBody = try await send(request: request, decoder: NetService.decoder)
| `- error: extra arguments at positions #1, #2 in call
33 | return body
34 | }
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:32:49: error: missing argument for parameter 'prompt' in call
28 | }
29 |
30 | private func send(prompt: String) async throws -> ResponseBody {
| `- note: 'send(prompt:)' declared here
31 | let request = try makePromptRequest(prompt: prompt)
32 | let body: ResponseBody = try await send(request: request, decoder: NetService.decoder)
| `- error: missing argument for parameter 'prompt' in call
33 | return body
34 | }
[59/116] Compiling StringsCatalogKit StringsCatalog.swift
[60/116] Compiling TranslationServices TranslatorAnthropic.swift
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorAnthropic.swift:25:54: error: cannot find type 'URLRequest' in scope
23 | let toolName = "StringArray" // check when response comes back that this matches
24 |
25 | func makePromptRequest(prompt: String) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
26 | var request = makeRequest(path: "messages")
27 |
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:13:54: error: cannot find type 'URLRequest' in scope
11 | var baseURL: URL { get }
12 | var headers: [String: String] { get }
13 | func makePromptRequest(prompt: String) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
14 | associatedtype ResponseBody: Decodable
15 | func decodeStructuredReply(body: ResponseBody) throws -> LLM.Schema.StructuredContent
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:19:48: error: cannot find type 'URLRequest' in scope
17 |
18 | extension LLMAPI {
19 | internal func makeRequest(path: String) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
20 | var request = URLRequest(url: baseURL.appending(path: path))
21 | request.httpMethod = "POST"
[61/116] Compiling TranslationServices TranslatorDeepL.swift
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorDeepL.swift:22:39: error: cannot find type 'URLRequest' in scope
20 | let baseURL = URL(string: "https://api-free.deepl.com/v2/")!
21 |
22 | func makeRequest(path: String) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
23 | var request = URLRequest(url: baseURL.appending(path: path))
24 | request.setValue("DeepL-Auth-Key \(key)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorDeepL.swift:23:23: error: cannot find 'URLRequest' in scope
21 |
22 | func makeRequest(path: String) -> URLRequest {
23 | var request = URLRequest(url: baseURL.appending(path: path))
| `- error: cannot find 'URLRequest' in scope
24 | request.setValue("DeepL-Auth-Key \(key)", forHTTPHeaderField: "Authorization")
25 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorProtocol.swift:34:18: error: cannot find type 'URLRequest' in scope
32 |
33 | func send<ResponseBody: Decodable>(
34 | request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | decoder: JSONDecoder = NetService.decoder
36 | ) async throws -> ResponseBody {
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorDeepL.swift:71:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
69 | targetLanguage: targetLanguage
70 | )
71 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
72 | guard let httpResponse = response as? HTTPURLResponse else {
73 | throw TranslatorError.invalidResponse
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorDeepL.swift:87:38: error: cannot infer key path type from context; consider explicitly specifying a root type
85 | }
86 | let body = try NetService.decoder.decode(Body.self, from: data)
87 | return body.translations.map(\.text)
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
88 | }
89 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[62/117] Emitting module KeychainSimple
/host/spi-builder-workspace/.build/checkouts/KeychainSimple/Sources/KeychainSimple/KeychainItem.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 | @preconcurrency import LocalAuthentication
4 |
[63/117] Compiling KeychainSimple SecureInput.swift
/host/spi-builder-workspace/.build/checkouts/KeychainSimple/Sources/KeychainSimple/KeychainItem.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 | @preconcurrency import LocalAuthentication
4 |
[64/117] Compiling KeychainSimple KeychainItem.swift
/host/spi-builder-workspace/.build/checkouts/KeychainSimple/Sources/KeychainSimple/KeychainItem.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 | @preconcurrency import LocalAuthentication
4 |
[65/117] Compiling TranslationServices TranslatorProtocol.swift
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorProtocol.swift:34:18: error: cannot find type 'URLRequest' in scope
32 |
33 | func send<ResponseBody: Decodable>(
34 | request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | decoder: JSONDecoder = NetService.decoder
36 | ) async throws -> ResponseBody {
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorProtocol.swift:46:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 | #endif
45 |
46 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 | guard let httpResponse = response as? HTTPURLResponse else {
48 | throw TranslatorError.invalidResponse
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: 'swift-algorithms': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-algorithms/Sources/Algorithms/Documentation.docc
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/12] Write swift-version-24593BA9C3E375BF.txt
[3/37] Compiling TranslationServices TranslatorDeepL.swift
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorDeepL.swift:22:39: error: cannot find type 'URLRequest' in scope
20 | let baseURL = URL(string: "https://api-free.deepl.com/v2/")!
21 |
22 | func makeRequest(path: String) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
23 | var request = URLRequest(url: baseURL.appending(path: path))
24 | request.setValue("DeepL-Auth-Key \(key)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorDeepL.swift:23:23: error: cannot find 'URLRequest' in scope
21 |
22 | func makeRequest(path: String) -> URLRequest {
23 | var request = URLRequest(url: baseURL.appending(path: path))
| `- error: cannot find 'URLRequest' in scope
24 | request.setValue("DeepL-Auth-Key \(key)", forHTTPHeaderField: "Authorization")
25 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorProtocol.swift:34:18: error: cannot find type 'URLRequest' in scope
32 |
33 | func send<ResponseBody: Decodable>(
34 | request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | decoder: JSONDecoder = NetService.decoder
36 | ) async throws -> ResponseBody {
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorDeepL.swift:71:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
69 | targetLanguage: targetLanguage
70 | )
71 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
72 | guard let httpResponse = response as? HTTPURLResponse else {
73 | throw TranslatorError.invalidResponse
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorDeepL.swift:87:38: error: cannot infer key path type from context; consider explicitly specifying a root type
85 | }
86 | let body = try NetService.decoder.decode(Body.self, from: data)
87 | return body.translations.map(\.text)
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
88 | }
89 | }
[4/38] Compiling TranslationServices Errors.swift
[5/38] Compiling TranslationServices LLMAPI.swift
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:13:54: error: cannot find type 'URLRequest' in scope
11 | var baseURL: URL { get }
12 | var headers: [String: String] { get }
13 | func makePromptRequest(prompt: String) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
14 | associatedtype ResponseBody: Decodable
15 | func decodeStructuredReply(body: ResponseBody) throws -> LLM.Schema.StructuredContent
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:19:48: error: cannot find type 'URLRequest' in scope
17 |
18 | extension LLMAPI {
19 | internal func makeRequest(path: String) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
20 | var request = URLRequest(url: baseURL.appending(path: path))
21 | request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:20:23: error: cannot find 'URLRequest' in scope
18 | extension LLMAPI {
19 | internal func makeRequest(path: String) -> URLRequest {
20 | var request = URLRequest(url: baseURL.appending(path: path))
| `- error: cannot find 'URLRequest' in scope
21 | request.httpMethod = "POST"
22 | request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorProtocol.swift:34:18: error: cannot find type 'URLRequest' in scope
32 |
33 | func send<ResponseBody: Decodable>(
34 | request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | decoder: JSONDecoder = NetService.decoder
36 | ) async throws -> ResponseBody {
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:32:48: error: extra arguments at positions #1, #2 in call
28 | }
29 |
30 | private func send(prompt: String) async throws -> ResponseBody {
| `- note: 'send(prompt:)' declared here
31 | let request = try makePromptRequest(prompt: prompt)
32 | let body: ResponseBody = try await send(request: request, decoder: NetService.decoder)
| `- error: extra arguments at positions #1, #2 in call
33 | return body
34 | }
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:32:49: error: missing argument for parameter 'prompt' in call
28 | }
29 |
30 | private func send(prompt: String) async throws -> ResponseBody {
| `- note: 'send(prompt:)' declared here
31 | let request = try makePromptRequest(prompt: prompt)
32 | let body: ResponseBody = try await send(request: request, decoder: NetService.decoder)
| `- error: missing argument for parameter 'prompt' in call
33 | return body
34 | }
[6/38] Compiling RealModule Real.swift
[7/39] Compiling TranslationServices ModelSelectable.swift
[8/39] Compiling TranslationServices TranslatorAnthropic.swift
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorAnthropic.swift:25:54: error: cannot find type 'URLRequest' in scope
23 | let toolName = "StringArray" // check when response comes back that this matches
24 |
25 | func makePromptRequest(prompt: String) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
26 | var request = makeRequest(path: "messages")
27 |
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:13:54: error: cannot find type 'URLRequest' in scope
11 | var baseURL: URL { get }
12 | var headers: [String: String] { get }
13 | func makePromptRequest(prompt: String) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
14 | associatedtype ResponseBody: Decodable
15 | func decodeStructuredReply(body: ResponseBody) throws -> LLM.Schema.StructuredContent
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:19:48: error: cannot find type 'URLRequest' in scope
17 |
18 | extension LLMAPI {
19 | internal func makeRequest(path: String) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
20 | var request = URLRequest(url: baseURL.appending(path: path))
21 | request.httpMethod = "POST"
[9/39] Compiling TranslationServices TranslatorGemini.swift
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorGemini.swift:43:54: error: cannot find type 'URLRequest' in scope
41 | }
42 |
43 | func makePromptRequest(prompt: String) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
44 | var request = makeRequest(path: "")
45 |
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:13:54: error: cannot find type 'URLRequest' in scope
11 | var baseURL: URL { get }
12 | var headers: [String: String] { get }
13 | func makePromptRequest(prompt: String) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
14 | associatedtype ResponseBody: Decodable
15 | func decodeStructuredReply(body: ResponseBody) throws -> LLM.Schema.StructuredContent
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:19:48: error: cannot find type 'URLRequest' in scope
17 |
18 | extension LLMAPI {
19 | internal func makeRequest(path: String) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
20 | var request = URLRequest(url: baseURL.appending(path: path))
21 | request.httpMethod = "POST"
[10/39] Compiling TranslationServices TranslatorOpenAI.swift
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorOpenAI.swift:22:63: error: cannot find type 'URLRequest' in scope
20 | }
21 |
22 | internal func makePromptRequest(prompt: String) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
23 | var request = makeRequest(path: "chat/completions")
24 | struct Body: Encodable {
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:13:54: error: cannot find type 'URLRequest' in scope
11 | var baseURL: URL { get }
12 | var headers: [String: String] { get }
13 | func makePromptRequest(prompt: String) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
14 | associatedtype ResponseBody: Decodable
15 | func decodeStructuredReply(body: ResponseBody) throws -> LLM.Schema.StructuredContent
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:19:48: error: cannot find type 'URLRequest' in scope
17 |
18 | extension LLMAPI {
19 | internal func makeRequest(path: String) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
20 | var request = URLRequest(url: baseURL.appending(path: path))
21 | request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorProtocol.swift:34:18: error: cannot find type 'URLRequest' in scope
32 |
33 | func send<ResponseBody: Decodable>(
34 | request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | decoder: JSONDecoder = NetService.decoder
36 | ) async throws -> ResponseBody {
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorOpenAI.swift:129:38: error: cannot convert value of type 'TranslatorOpenAI.ResponseBody' to specified type 'ResponseBody'
127 | }
128 |
129 | let body: ResponseBody = try await send(request: request)
| `- error: cannot convert value of type 'TranslatorOpenAI.ResponseBody' to specified type 'ResponseBody'
130 | return Set(body.data.map(\.id))
131 | }
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorOpenAI.swift:129:44: error: 'send' is inaccessible due to 'private' protection level
127 | }
128 |
129 | let body: ResponseBody = try await send(request: request)
| `- error: 'send' is inaccessible due to 'private' protection level
130 | return Set(body.data.map(\.id))
131 | }
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:30:18: note: 'send(prompt:)' declared here
28 | }
29 |
30 | private func send(prompt: String) async throws -> ResponseBody {
| `- note: 'send(prompt:)' declared here
31 | let request = try makePromptRequest(prompt: prompt)
32 | let body: ResponseBody = try await send(request: request, decoder: NetService.decoder)
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorOpenAI.swift:129:48: error: incorrect argument label in call (have 'request:', expected 'prompt:')
127 | }
128 |
129 | let body: ResponseBody = try await send(request: request)
| `- error: incorrect argument label in call (have 'request:', expected 'prompt:')
130 | return Set(body.data.map(\.id))
131 | }
[11/39] Compiling RealModule Float16+Real.swift
[12/39] Compiling KeychainSimple SecureInput.swift
/host/spi-builder-workspace/.build/checkouts/KeychainSimple/Sources/KeychainSimple/KeychainItem.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 | @preconcurrency import LocalAuthentication
4 |
[13/39] Compiling RealModule RealFunctions.swift
[14/39] Compiling RealModule Float80+Real.swift
[15/39] Compiling RealModule ElementaryFunctions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/39] Emitting module KeychainSimple
/host/spi-builder-workspace/.build/checkouts/KeychainSimple/Sources/KeychainSimple/KeychainItem.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 | @preconcurrency import LocalAuthentication
4 |
[17/39] Compiling KeychainSimple KeychainItem.swift
/host/spi-builder-workspace/.build/checkouts/KeychainSimple/Sources/KeychainSimple/KeychainItem.swift:2:8: error: no such module 'Security'
1 | import Foundation
2 | import Security
| `- error: no such module 'Security'
3 | @preconcurrency import LocalAuthentication
4 |
[18/39] Compiling RealModule Float+Real.swift
[19/39] Compiling RealModule AugmentedArithmetic.swift
[20/39] Compiling RealModule Double+Real.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/39] Emitting module TranslationServices
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:13:54: error: cannot find type 'URLRequest' in scope
11 | var baseURL: URL { get }
12 | var headers: [String: String] { get }
13 | func makePromptRequest(prompt: String) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
14 | associatedtype ResponseBody: Decodable
15 | func decodeStructuredReply(body: ResponseBody) throws -> LLM.Schema.StructuredContent
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:19:48: error: cannot find type 'URLRequest' in scope
17 |
18 | extension LLMAPI {
19 | internal func makeRequest(path: String) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
20 | var request = URLRequest(url: baseURL.appending(path: path))
21 | request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorAnthropic.swift:25:54: error: cannot find type 'URLRequest' in scope
23 | let toolName = "StringArray" // check when response comes back that this matches
24 |
25 | func makePromptRequest(prompt: String) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
26 | var request = makeRequest(path: "messages")
27 |
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorDeepL.swift:22:39: error: cannot find type 'URLRequest' in scope
20 | let baseURL = URL(string: "https://api-free.deepl.com/v2/")!
21 |
22 | func makeRequest(path: String) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
23 | var request = URLRequest(url: baseURL.appending(path: path))
24 | request.setValue("DeepL-Auth-Key \(key)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorProtocol.swift:34:18: error: cannot find type 'URLRequest' in scope
32 |
33 | func send<ResponseBody: Decodable>(
34 | request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | decoder: JSONDecoder = NetService.decoder
36 | ) async throws -> ResponseBody {
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorDeepL.swift:71:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
69 | targetLanguage: targetLanguage
70 | )
71 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
72 | guard let httpResponse = response as? HTTPURLResponse else {
73 | throw TranslatorError.invalidResponse
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorDeepL.swift:87:38: error: cannot infer key path type from context; consider explicitly specifying a root type
85 | }
86 | let body = try NetService.decoder.decode(Body.self, from: data)
87 | return body.translations.map(\.text)
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
88 | }
89 | }
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorGemini.swift:43:54: error: cannot find type 'URLRequest' in scope
41 | }
42 |
43 | func makePromptRequest(prompt: String) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
44 | var request = makeRequest(path: "")
45 |
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorOpenAI.swift:22:63: error: cannot find type 'URLRequest' in scope
20 | }
21 |
22 | internal func makePromptRequest(prompt: String) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
23 | var request = makeRequest(path: "chat/completions")
24 | struct Body: Encodable {
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorOpenAI.swift:129:38: error: cannot convert value of type 'TranslatorOpenAI.ResponseBody' to specified type 'ResponseBody'
127 | }
128 |
129 | let body: ResponseBody = try await send(request: request)
| `- error: cannot convert value of type 'TranslatorOpenAI.ResponseBody' to specified type 'ResponseBody'
130 | return Set(body.data.map(\.id))
131 | }
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorOpenAI.swift:129:44: error: 'send' is inaccessible due to 'private' protection level
127 | }
128 |
129 | let body: ResponseBody = try await send(request: request)
| `- error: 'send' is inaccessible due to 'private' protection level
130 | return Set(body.data.map(\.id))
131 | }
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:30:18: note: 'send(prompt:)' declared here
28 | }
29 |
30 | private func send(prompt: String) async throws -> ResponseBody {
| `- note: 'send(prompt:)' declared here
31 | let request = try makePromptRequest(prompt: prompt)
32 | let body: ResponseBody = try await send(request: request, decoder: NetService.decoder)
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorOpenAI.swift:129:48: error: incorrect argument label in call (have 'request:', expected 'prompt:')
127 | }
128 |
129 | let body: ResponseBody = try await send(request: request)
| `- error: incorrect argument label in call (have 'request:', expected 'prompt:')
130 | return Set(body.data.map(\.id))
131 | }
[22/39] Emitting module RealModule
[23/39] Compiling RealModule AlgebraicField.swift
[24/39] Compiling RealModule ApproximateEquality.swift
[25/40] Compiling TranslationServices TranslatorProtocol.swift
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorProtocol.swift:34:18: error: cannot find type 'URLRequest' in scope
32 |
33 | func send<ResponseBody: Decodable>(
34 | request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
35 | decoder: JSONDecoder = NetService.decoder
36 | ) async throws -> ResponseBody {
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorProtocol.swift:46:53: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 | #endif
45 |
46 | let (data, response) = try await URLSession.shared.data(for: request)
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 | guard let httpResponse = response as? HTTPURLResponse else {
48 | throw TranslatorError.invalidResponse
[26/40] Emitting module ArgumentParserToolInfo
[27/40] Emitting module StringsCatalogKit
BUILD FAILURE 6.0 linux