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 Cgetargv with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.28.7
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/getargv/getargv.swift.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/getargv/getargv.swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f13b0db workaround checkout bug
Cloned https://github.com/getargv/getargv.swift.git
Revision (git rev-parse @):
f13b0dbafc812b4d1d002a481dcdf8deb53c05f5
SPI manifest file found: $PWD/checkout/.spi.yml
SUCCESS checkout https://github.com/getargv/getargv.swift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD/checkout
https://github.com/getargv/getargv.swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2386] Fetching swift-docc-symbolkit
[145/3834] Fetching swift-docc-symbolkit, swift-docc-plugin
[3778/15244] Fetching swift-docc-symbolkit, swift-docc-plugin, swift-argument-parser
Fetched https://github.com/apple/swift-docc-symbolkit (0.68s)
Fetched https://github.com/apple/swift-docc-plugin (0.68s)
Fetched https://github.com/apple/swift-argument-parser (0.69s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (1.18s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.3.0 (0.36s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.43s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/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.3.0
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
warning: couldn't find pc file for getargv
[1/1] Compiling plugin GenerateManual
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[3/3] Compiling plugin Swift-DocC Preview
Building for debugging...
[4/14] Emitting module ArgumentParserToolInfo
[5/14] Compiling ArgumentParserToolInfo ToolInfo.swift
[7/16] Wrapping AST for ArgumentParserToolInfo for debugging
[9/53] Emitting module ArgumentParser
[10/58] Compiling ArgumentParser ArgumentVisibility.swift
[11/58] Compiling ArgumentParser CompletionKind.swift
[12/58] Compiling ArgumentParser Errors.swift
[13/58] Compiling ArgumentParser Flag.swift
[14/58] Compiling ArgumentParser NameSpecification.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/58] Emitting module SwiftGetargv
/host/spi-builder-workspace/Sources/Cgetargv/module.modulemap:2:10: error: header '/usr/local/include/libgetargv.h' not found
  header "/usr/local/include/libgetargv.h"
         ^
/host/spi-builder-workspace/Sources/SwiftGetargv/SwiftGetargv.swift:1:8: error: could not build C module 'Cgetargv'
import Cgetargv
       ^
[16/58] Compiling SwiftGetargv SwiftGetargv.swift
/host/spi-builder-workspace/Sources/Cgetargv/module.modulemap:2:10: error: header '/usr/local/include/libgetargv.h' not found
  header "/usr/local/include/libgetargv.h"
         ^
/host/spi-builder-workspace/Sources/SwiftGetargv/SwiftGetargv.swift:1:8: error: could not build C module 'Cgetargv'
import Cgetargv
       ^
error: fatalError
warning: couldn't find pc file for getargv
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[3/3] Compiling plugin Swift-DocC Preview
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/13] Emitting module SwiftGetargv
/host/spi-builder-workspace/Sources/Cgetargv/module.modulemap:2:10: error: header '/usr/local/include/libgetargv.h' not found
  header "/usr/local/include/libgetargv.h"
         ^
/host/spi-builder-workspace/Sources/SwiftGetargv/SwiftGetargv.swift:1:8: error: could not build C module 'Cgetargv'
import Cgetargv
       ^
[5/13] Compiling SwiftGetargv SwiftGetargv.swift
/host/spi-builder-workspace/Sources/Cgetargv/module.modulemap:2:10: error: header '/usr/local/include/libgetargv.h' not found
  header "/usr/local/include/libgetargv.h"
         ^
/host/spi-builder-workspace/Sources/SwiftGetargv/SwiftGetargv.swift:1:8: error: could not build C module 'Cgetargv'
import Cgetargv
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2