The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-command, reference main (a447aa), with Swift 5.10 for Linux on 21 Jul 2025 14:57:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pelagornis/swift-command.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/pelagornis/swift-command
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a447aab Update Tuist Support Command
Cloned https://github.com/pelagornis/swift-command.git
Revision (git rev-parse @):
a447aab3a90512fa8c791a910eb53d116487e4e1
SUCCESS checkout https://github.com/pelagornis/swift-command.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/pelagornis/swift-command.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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:c30bb8beee7254e839cc0142f4ae78578b8fc8e8159324cc3637097cc1b395b6
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-docc-plugin
[1/3871] Fetching swift-log
[195/5965] Fetching swift-log, swift-docc-plugin
Fetched https://github.com/apple/swift-log from cache (0.55s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.56s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.47s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (1.33s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3429] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.50s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.49s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/10] Compiling Logging MetadataProvider.swift
[7/10] Compiling Logging LogHandler.swift
[8/10] Compiling Logging Locks.swift
[9/10] Compiling Logging Logging.swift
[10/10] Emitting module Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/29] Emitting module Command
/host/spi-builder-workspace/Sources/Command/Task.swift:3:8: error: no such module 'Darwin'
import Darwin
       ^
[13/31] Compiling Command Alias.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:3:8: error: no such module 'Darwin'
import Darwin
       ^
[14/31] Compiling Command Arguments.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:3:8: error: no such module 'Darwin'
import Darwin
       ^
[15/31] Compiling Command Command.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:3:8: error: no such module 'Darwin'
import Darwin
       ^
[16/31] Compiling Command Tuist.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:3:8: error: no such module 'Darwin'
import Darwin
       ^
[17/31] Compiling Command Task.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:3:8: error: no such module 'Darwin'
import Darwin
       ^
[18/31] Compiling Command Result.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:3:8: error: no such module 'Darwin'
import Darwin
       ^
[19/31] Compiling Command Fastlane.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:3:8: error: no such module 'Darwin'
import Darwin
       ^
[20/31] Compiling Command Request.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:3:8: error: no such module 'Darwin'
import Darwin
       ^
[21/31] Compiling Command Response.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:3:8: error: no such module 'Darwin'
import Darwin
       ^
[22/31] Compiling Command Git.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:3:8: error: no such module 'Darwin'
import Darwin
       ^
[23/31] Compiling Command SwiftPackage.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:3:8: error: no such module 'Darwin'
import Darwin
       ^
[24/31] Compiling Command StringExt.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:3:8: error: no such module 'Darwin'
import Darwin
       ^
[25/31] Compiling Command URLExt.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:3:8: error: no such module 'Darwin'
import Darwin
       ^
[26/31] Compiling Command CommandValues.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:3:8: error: no such module 'Darwin'
import Darwin
       ^
[27/31] Compiling Command Bash.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:3:8: error: no such module 'Darwin'
import Darwin
       ^
[28/31] Compiling Command Make.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:3:8: error: no such module 'Darwin'
import Darwin
       ^
[29/31] Compiling Command Zsh.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:3:8: error: no such module 'Darwin'
import Darwin
       ^
[30/31] Compiling Command Environment.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:3:8: error: no such module 'Darwin'
import Darwin
       ^
[31/31] Compiling Command DataExt.swift
/host/spi-builder-workspace/Sources/Command/Task.swift:3:8: error: no such module 'Darwin'
import Darwin
       ^
error: fatalError
BUILD FAILURE 5.10 linux