Build Information
Failed to build ChattyCLI with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/polpielladev/chatty-cli.git
Reference: v1.0.5
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/polpielladev/chatty-cli
* tag v1.0.5 -> FETCH_HEAD
HEAD is now at 8d54f97 Adds `MIT` license
Cloned https://github.com/polpielladev/chatty-cli.git
Revision (git rev-parse @):
8d54f975c430e2129481c99f2ff876837f6d688d
SUCCESS checkout https://github.com/polpielladev/chatty-cli.git at v1.0.5
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/polpielladev/chatty-cli.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/polpielladev/clack-swift
[1/94] Fetching clack-swift
Fetched https://github.com/polpielladev/clack-swift from cache (0.21s)
Fetching https://github.com/pakLebah/ANSITerminal.git
Fetching https://github.com/nate-parrott/openai-streaming-completions-swift.git
Fetching https://github.com/kishikawakatsumi/KeychainAccess
Fetching https://github.com/apple/swift-argument-parser.git
[1/90] Fetching ansiterminal
[91/246] Fetching ansiterminal, openai-streaming-completions-swift
[247/4614] Fetching ansiterminal, openai-streaming-completions-swift, keychainaccess
Fetched https://github.com/pakLebah/ANSITerminal.git from cache (0.66s)
[1/11435] Fetching swift-argument-parser
Fetched https://github.com/nate-parrott/openai-streaming-completions-swift.git from cache (1.04s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.05s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (1.05s)
Computing version for https://github.com/pakLebah/ANSITerminal.git
Computed https://github.com/pakLebah/ANSITerminal.git at 0.0.3 (0.40s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (0.41s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.2 (0.43s)
Computing version for https://github.com/nate-parrott/openai-streaming-completions-swift.git
Computed https://github.com/nate-parrott/openai-streaming-completions-swift.git at 1.0.1 (0.40s)
Creating working copy for https://github.com/nate-parrott/openai-streaming-completions-swift.git
Working copy of https://github.com/nate-parrott/openai-streaming-completions-swift.git resolved at 1.0.1
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.2.2
Creating working copy for https://github.com/pakLebah/ANSITerminal.git
Working copy of https://github.com/pakLebah/ANSITerminal.git resolved at 0.0.3
Creating working copy for https://github.com/polpielladev/clack-swift
Working copy of https://github.com/polpielladev/clack-swift resolved at 0d95ad488a21047dc36a9c0ac7f54338ce0c88ca
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess
Working copy of https://github.com/kishikawakatsumi/KeychainAccess resolved at 4.2.2
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/18] Write sources
[8/18] Write swift-version-24593BA9C3E375BF.txt
[10/34] Emitting module ArgumentParserToolInfo
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/34] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
import Security
^
[12/34] Compiling ANSITerminal ansiScreen.swift
[13/34] Compiling ANSITerminal ansiKeyboard.swift
[14/34] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/37] Wrapping AST for ArgumentParserToolInfo for debugging
[17/72] Compiling OpenAIStreamingCompletions OpenAI.swift
/host/spi-builder-workspace/.build/checkouts/openai-streaming-completions-swift/Sources/OpenAIStreamingCompletions/OpenAI+TextCompletion.swift:2:8: error: no such module 'Combine'
import Combine
^
[18/72] Compiling KeychainAccess Keychain.swift
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
import Security
^
error: fatalError
[19/72] Compiling ANSITerminal ansiAttribute.swift
[20/72] Emitting module ANSITerminal
/host/spi-builder-workspace/.build/checkouts/openai-streaming-completions-swift/Sources/OpenAIStreamingCompletions/OpenAI+TextCompletion.swift:2:8: error: no such module 'Combine'
import Combine
^
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/11] Write swift-version-24593BA9C3E375BF.txt
[3/58] Compiling OpenAIStreamingCompletions OpenAI.swift
/host/spi-builder-workspace/.build/checkouts/openai-streaming-completions-swift/Sources/OpenAIStreamingCompletions/OpenAI+TextCompletion.swift:2:8: error: no such module 'Combine'
import Combine
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/58] Emitting module OpenAIStreamingCompletions
/host/spi-builder-workspace/.build/checkouts/openai-streaming-completions-swift/Sources/OpenAIStreamingCompletions/OpenAI+TextCompletion.swift:2:8: error: no such module 'Combine'
import Combine
^
[5/58] Compiling OpenAIStreamingCompletions Event.swift
/host/spi-builder-workspace/.build/checkouts/openai-streaming-completions-swift/Sources/OpenAIStreamingCompletions/OpenAI+TextCompletion.swift:2:8: error: no such module 'Combine'
import Combine
^
[6/58] Compiling OpenAIStreamingCompletions OpenAI+TextCompletion.swift
/host/spi-builder-workspace/.build/checkouts/openai-streaming-completions-swift/Sources/OpenAIStreamingCompletions/OpenAI+TextCompletion.swift:2:8: error: no such module 'Combine'
import Combine
^
[7/58] Compiling OpenAIStreamingCompletions EventStreamParser.swift
/host/spi-builder-workspace/.build/checkouts/openai-streaming-completions-swift/Sources/OpenAIStreamingCompletions/OpenAI+TextCompletion.swift:2:8: error: no such module 'Combine'
import Combine
^
[8/58] Compiling OpenAIStreamingCompletions OpenAI+ChatCompletion.swift
/host/spi-builder-workspace/.build/checkouts/openai-streaming-completions-swift/Sources/OpenAIStreamingCompletions/OpenAI+TextCompletion.swift:2:8: error: no such module 'Combine'
import Combine
^
[9/58] Compiling OpenAIStreamingCompletions EventSource.swift
/host/spi-builder-workspace/.build/checkouts/openai-streaming-completions-swift/Sources/OpenAIStreamingCompletions/OpenAI+TextCompletion.swift:2:8: error: no such module 'Combine'
import Combine
^
error: fatalError
[10/58] Emitting module ANSITerminal
[11/58] Compiling ANSITerminal ANSITerminal.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/58] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
import Security
^
BUILD FAILURE 5.10 linux