The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftTranslate, reference 0.5.0 (6ddf12), with Swift 6.2 for Android on 5 Apr 2026 00:13:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hidden-spectrum/swift-translate.git
Reference: 0.5.0
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/hidden-spectrum/swift-translate
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at 6ddf126 Release 0.5.0
Cloned https://github.com/hidden-spectrum/swift-translate.git
Revision (git rev-parse @):
6ddf12608605d4a0922addcddb3c1ff0069e45b4
SUCCESS checkout https://github.com/hidden-spectrum/swift-translate.git at 0.5.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/hidden-spectrum/swift-translate.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:ddd4edb33d5d885e17caac0b97dcd74ed916c6d1fa6d49f38e53038953d2cc51
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/MacPaw/OpenAI.git
[1/7918] Fetching openai
Fetched https://github.com/MacPaw/OpenAI.git from cache (0.65s)
Fetching https://github.com/google-gemini/generative-ai-swift
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/apple/swift-argument-parser
[1/1431] Fetching rainbow
[1432/4576] Fetching rainbow, generative-ai-swift
[2439/11119] Fetching rainbow, generative-ai-swift, swift-openapi-runtime
[3728/28607] Fetching rainbow, generative-ai-swift, swift-openapi-runtime, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.46s)
Fetched https://github.com/onevcat/Rainbow.git from cache (1.46s)
Fetched https://github.com/google-gemini/generative-ai-swift from cache (1.46s)
Fetched https://github.com/apple/swift-openapi-runtime from cache (1.46s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.2.1 (3.67s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.11.0 (0.39s)
Fetching https://github.com/apple/swift-http-types
[1/984] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.25s)
Computing version for https://github.com/google-gemini/generative-ai-swift
Computed https://github.com/google-gemini/generative-ai-swift at 0.5.6 (2.75s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.90s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.5.1 (0.56s)
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.11.0
Creating working copy for https://github.com/google-gemini/generative-ai-swift
Working copy of https://github.com/google-gemini/generative-ai-swift resolved at 0.5.6
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.2.1
Creating working copy for https://github.com/MacPaw/OpenAI.git
Working copy of https://github.com/MacPaw/OpenAI.git resolved at 3f2cac98d3e98d6b4d90279bd737190fc343dbc4
[1/1] Compiling plugin SwiftTranslate
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/44] Write sources
[21/44] Write swift-version--11D90AFD9DD3AB2.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/160] Emitting module GoogleGenerativeAI
/host/spi-builder-workspace/.build/checkouts/generative-ai-swift/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[24/162] Emitting module Rainbow
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/163] Emitting module GoogleGenerativeAI
/host/spi-builder-workspace/.build/checkouts/generative-ai-swift/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/165] Emitting module SwiftStringCatalog
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
 4 |
 5 | import Foundation
 6 | import os.log
   |        `- error: no such module 'os.log'
 7 |
 8 |
[27/167] Compiling GoogleGenerativeAI Chat.swift
[28/167] Compiling GoogleGenerativeAI CountTokensRequest.swift
[29/167] Compiling GoogleGenerativeAI JSONValue.swift
[30/167] Compiling GoogleGenerativeAI Logging.swift
[31/167] Compiling GoogleGenerativeAI GenerativeAISwift.swift
[32/167] Compiling GoogleGenerativeAI GenerativeModel.swift
[33/167] Emitting module HTTPTypes
[34/168] Compiling HTTPTypes ISOLatin1String.swift
[35/168] Compiling HTTPTypes HTTPResponse.swift
[36/168] Compiling HTTPTypes HTTPRequest.swift
[37/168] Compiling HTTPTypes NIOLock.swift
[38/168] Emitting module HTTPTypes
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/169] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/170] Emitting module SwiftStringCatalog
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
 4 |
 5 | import Foundation
 6 | import os.log
   |        `- error: no such module 'os.log'
 7 |
 8 |
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
 4 |
 5 | import Foundation
 6 | import os.log
   |        `- error: no such module 'os.log'
 7 |
 8 |
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
 4 |
 5 | import Foundation
 6 | import os.log
   |        `- error: no such module 'os.log'
 7 |
 8 |
[47/170] Compiling GoogleGenerativeAI Errors.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
 4 |
 5 | import Foundation
 6 | import os.log
   |        `- error: no such module 'os.log'
 7 |
 8 |
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
 4 |
 5 | import Foundation
 6 | import os.log
   |        `- error: no such module 'os.log'
 7 |
 8 |
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
 4 |
 5 | import Foundation
 6 | import os.log
   |        `- error: no such module 'os.log'
 7 |
 8 |
[50/172] Compiling GoogleGenerativeAI FunctionCalling.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
 4 |
 5 | import Foundation
 6 | import os.log
   |        `- error: no such module 'os.log'
 7 |
 8 |
[51/172] Compiling GoogleGenerativeAI GenerateContentError.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
 4 |
 5 | import Foundation
 6 | import os.log
   |        `- error: no such module 'os.log'
 7 |
 8 |
[52/172] Compiling GoogleGenerativeAI GenerativeAIRequest.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
 4 |
 5 | import Foundation
 6 | import os.log
   |        `- error: no such module 'os.log'
 7 |
 8 |
[53/172] Compiling GoogleGenerativeAI GenerativeAIService.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
 4 |
 5 | import Foundation
 6 | import os.log
   |        `- error: no such module 'os.log'
 7 |
 8 |
[54/172] Compiling HTTPTypes ISOLatin1String.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
 4 |
 5 | import Foundation
 6 | import os.log
   |        `- error: no such module 'os.log'
 7 |
 8 |
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
 4 |
 5 | import Foundation
 6 | import os.log
   |        `- error: no such module 'os.log'
 7 |
 8 |
[57/172] Compiling GoogleGenerativeAI ModelContent.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
 4 |
 5 | import Foundation
 6 | import os.log
   |        `- error: no such module 'os.log'
 7 |
 8 |
[58/172] Compiling GoogleGenerativeAI PartsRepresentable+Image.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
 4 |
 5 | import Foundation
 6 | import os.log
   |        `- error: no such module 'os.log'
 7 |
 8 |
/host/spi-builder-workspace/.build/checkouts/generative-ai-swift/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
/host/spi-builder-workspace/.build/checkouts/generative-ai-swift/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
/host/spi-builder-workspace/.build/checkouts/generative-ai-swift/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[62/172] Compiling GoogleGenerativeAI GenerateContentResponse.swift
/host/spi-builder-workspace/.build/checkouts/generative-ai-swift/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[63/172] Compiling GoogleGenerativeAI GenerationConfig.swift
/host/spi-builder-workspace/.build/checkouts/generative-ai-swift/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
/host/spi-builder-workspace/.build/checkouts/generative-ai-swift/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
/host/spi-builder-workspace/.build/checkouts/generative-ai-swift/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
/host/spi-builder-workspace/.build/checkouts/generative-ai-swift/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
/host/spi-builder-workspace/.build/checkouts/generative-ai-swift/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[68/172] Compiling GoogleGenerativeAI GenerateContentRequest.swift
/host/spi-builder-workspace/.build/checkouts/generative-ai-swift/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[69/172] Compiling SwiftStringCatalog LocalizableStringConstructor.swift
/host/spi-builder-workspace/.build/checkouts/generative-ai-swift/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[70/172] Compiling SwiftStringCatalog CodableKeyDictionary.swift
/host/spi-builder-workspace/.build/checkouts/generative-ai-swift/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
[71/172] Compiling HTTPTypes HTTPParsedFields.swift
[72/172] Compiling HTTPTypes HTTPRequest+URL.swift
/host/spi-builder-workspace/.build/checkouts/generative-ai-swift/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
/host/spi-builder-workspace/.build/checkouts/generative-ai-swift/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
 4 |
 5 | import Foundation
 6 | import os.log
   |        `- error: no such module 'os.log'
 7 |
 8 |
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
 4 |
 5 | import Foundation
 6 | import os.log
   |        `- error: no such module 'os.log'
 7 |
 8 |
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
 4 |
 5 | import Foundation
 6 | import os.log
   |        `- error: no such module 'os.log'
 7 |
 8 |
/host/spi-builder-workspace/.build/checkouts/generative-ai-swift/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
/host/spi-builder-workspace/.build/checkouts/generative-ai-swift/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
/host/spi-builder-workspace/.build/checkouts/generative-ai-swift/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
/host/spi-builder-workspace/.build/checkouts/generative-ai-swift/Sources/GoogleAI/Logging.swift:16:8: error: no such module 'OSLog'
14 |
15 | import Foundation
16 | import OSLog
   |        `- error: no such module 'OSLog'
17 |
18 | @available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *)
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
 4 |
 5 | import Foundation
 6 | import os.log
   |        `- error: no such module 'os.log'
 7 |
 8 |
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
 4 |
 5 | import Foundation
 6 | import os.log
   |        `- error: no such module 'os.log'
 7 |
 8 |
[92/172] Compiling HTTPTypes HTTPResponse.swift
[93/172] Compiling HTTPTypes HTTPRequest.swift
BUILD FAILURE 6.2 android