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.9 for Linux on 13 Jul 2024 07:41:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.9
Building package at path:  $workDir
https://github.com/hidden-spectrum/swift-translate.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:94c03ecf5df463051a5b8bdec5d09f635a7b31b1b290e2ba09836b1f5f74db71
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-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
[1119/5017] Fetching rainbow, openai
Fetched https://github.com/MacPaw/OpenAI.git (0.41s)
Fetched https://github.com/onevcat/Rainbow.git (0.41s)
[1/12048] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.78s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.0.1 (1.11s)
Computing version for https://github.com/MacPaw/OpenAI.git
Computed https://github.com/MacPaw/OpenAI.git at 0.2.9 (1.09s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.3.0 (0.33s)
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.3.0
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.0.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin SwiftTranslate
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/76] Emitting module SwiftStringCatalog
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[4/78] Emitting module Rainbow
[5/79] Compiling Rainbow StringGenerator.swift
[6/79] Compiling Rainbow Style.swift
[7/79] Emitting module ArgumentParserToolInfo
[8/79] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/81] Wrapping AST for ArgumentParserToolInfo for debugging
[12/118] Compiling ArgumentParser EnumerableFlag.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[13/118] Compiling ArgumentParser ArgumentDefinition.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[14/118] Compiling ArgumentParser AsyncParsableCommand.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[15/118] Compiling ArgumentParser CommandConfiguration.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[16/118] Emitting module ArgumentParser
[18/123] Compiling ArgumentParser ArgumentSet.swift
[19/123] Compiling ArgumentParser CommandParser.swift
[20/123] Compiling ArgumentParser InputKey.swift
[21/123] Compiling ArgumentParser InputOrigin.swift
[22/123] Compiling ArgumentParser Name.swift
[23/128] Compiling ArgumentParser Parsed.swift
[24/128] Compiling ArgumentParser ParsedValues.swift
[25/128] Compiling ArgumentParser ParserError.swift
[26/128] Compiling ArgumentParser SplitArguments.swift
[27/128] Compiling ArgumentParser ExpressibleByArgument.swift
[28/128] Compiling ArgumentParser ParsableArguments.swift
[29/128] Compiling ArgumentParser ParsableArgumentsValidation.swift
[30/128] Compiling ArgumentParser ParsableCommand.swift
[31/128] Compiling ArgumentParser ArgumentDecoder.swift
[32/128] Compiling ArgumentParser DumpHelpGenerator.swift
[33/128] Compiling ArgumentParser HelpCommand.swift
[34/128] Compiling ArgumentParser HelpGenerator.swift
[35/128] Compiling ArgumentParser MessageInfo.swift
[36/128] Compiling ArgumentParser UsageGenerator.swift
[37/128] Compiling ArgumentParser CollectionExtensions.swift
[38/128] Emitting module OpenAI
[39/128] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[40/128] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[41/128] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[42/128] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[43/128] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[44/128] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[45/128] Compiling ArgumentParser ArgumentVisibility.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[46/128] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[47/128] Compiling Rainbow String+Rainbow.swift
[48/128] Compiling Rainbow OutputTarget.swift
[55/128] Compiling Rainbow Rainbow.swift
[56/128] Compiling ArgumentParser Option.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[57/128] Compiling ArgumentParser OptionGroup.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[58/128] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[59/128] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/Sources/SwiftStringCatalog/Models/_CatalogEntry.swift:6:8: error: no such module 'os.log'
import os.log
       ^
[60/128] Compiling ArgumentParser NameSpecification.swift
/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.9 linux