The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftTranslate, reference 0.2.0 (83840a), with Swift 5.10 for Linux on 13 Jul 2024 07:41:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.46.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hidden-spectrum/swift-translate.git
Reference: 0.2.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.2.0      -> FETCH_HEAD
HEAD is now at 83840a9 Merge pull request #36 from hidden-spectrum/develop
Cloned https://github.com/hidden-spectrum/swift-translate.git
Revision (git rev-parse @):
83840a95de9b1b0924795c865bcc9bf6cc2757ca
SUCCESS checkout https://github.com/hidden-spectrum/swift-translate.git at 0.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/hidden-spectrum/swift-translate.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:2616150e65f8b5d336ef2ff8828ee78d83c0c72abe57c7be9f4d8e5b61afb28f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/MacPaw/OpenAI.git
[1/1118] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow.git from cache (0.34s)
[1/3899] Fetching openai
[3900/15947] Fetching openai, swift-argument-parser
Fetched https://github.com/MacPaw/OpenAI.git from cache (0.50s)
[241/12048] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.01s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.0.1 (1.38s)
Computing version for https://github.com/MacPaw/OpenAI.git
Computed https://github.com/MacPaw/OpenAI.git at 0.2.9 (1.48s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.3.0 (0.50s)
Creating working copy for https://github.com/MacPaw/OpenAI.git
Working copy of https://github.com/MacPaw/OpenAI.git resolved at 0.2.9
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.0.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.3.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin SwiftTranslate
Building for debugging...
[2/17] Write sources
[8/17] Write swift-version-24593BA9C3E375BF.txt
[10/84] Compiling Rainbow StringGenerator.swift
[11/85] Compiling Rainbow Style.swift
[12/85] Compiling Rainbow String+Rainbow.swift
[13/85] Emitting module ArgumentParserToolInfo
[14/85] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/86] Wrapping AST for ArgumentParserToolInfo for debugging
[17/123] Compiling ArgumentParser CommandParser.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[18/123] Compiling ArgumentParser InputKey.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[19/125] Emitting module Rainbow
[20/125] Compiling ArgumentParser ArgumentVisibility.swift
[21/125] Compiling ArgumentParser CompletionKind.swift
[22/125] Compiling ArgumentParser OptionGroup.swift
[23/125] Compiling ArgumentParser AsyncParsableCommand.swift
[24/125] Compiling ArgumentParser CommandConfiguration.swift
[25/125] Compiling ArgumentParser EnumerableFlag.swift
[26/125] Compiling OpenAI StreamableQuery.swift
[27/130] Compiling Rainbow Rainbow.swift
[28/130] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[31/130] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[33/130] Compiling ArgumentParser NameSpecification.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[35/130] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[39/135] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[40/135] Compiling ArgumentParser ArgumentDefinition.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[41/135] Compiling ArgumentParser ArgumentSet.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[42/135] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[43/135] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[44/135] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[45/135] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/135] Emitting module SwiftStringCatalog
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[49/135] Compiling Rainbow OutputTarget.swift
[52/135] Compiling SwiftStringCatalog CodableKeyDictionary.swift
[53/135] Compiling ArgumentParser ParsableArguments.swift
[54/135] Compiling ArgumentParser ParsableArgumentsValidation.swift
[55/135] Compiling ArgumentParser ParsableCommand.swift
[56/135] Compiling ArgumentParser ArgumentDecoder.swift
[57/135] Compiling ArgumentParser DumpHelpGenerator.swift
[58/135] Compiling ArgumentParser HelpCommand.swift
[59/135] Compiling ArgumentParser HelpGenerator.swift
[60/135] Compiling ArgumentParser MessageInfo.swift
[61/135] Compiling ArgumentParser UsageGenerator.swift
[68/136] Emitting module OpenAI
[69/136] Compiling SwiftStringCatalog PluralQualifier.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
error: fatalError
BUILD FAILURE 5.10 linux