Build Information
Failed to build Cgetargv, reference 0.0.9 (c4bc98
), with Swift 6.1 for Linux on 30 Apr 2025 11:40:37 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/getargv/getargv.swift.git
Reference: 0.0.9
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
* tag 0.0.9 -> FETCH_HEAD
HEAD is now at c4bc984 Merge 7a28b74cff75327cd766bdd1ec1b0b9d168c398d into 5c10e5a65ab9f6b72f84dc579f2e37129cea6784
Cloned https://github.com/getargv/getargv.swift.git
Revision (git rev-parse @):
c4bc984b7067714b26577da5e0014d4493991066
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/getargv/getargv.swift.git at 0.0.9
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/getargv/getargv.swift.git
https://github.com/getargv/getargv.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"c_language_standard" : "c99",
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-docc-plugin"
},
{
"identity" : "swift-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "0.11.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-testing"
}
],
"manifest_display_name" : "Cgetargv",
"name" : "Cgetargv",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "SwiftGetargv",
"targets" : [
"SwiftGetargv"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Cgetargv",
"targets" : [
"Cgetargv"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "getargv2",
"targets" : [
"getargv2"
],
"type" : {
"executable" : null
}
},
{
"name" : "getargv",
"targets" : [
"getargv"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "getargv2",
"module_type" : "SwiftTarget",
"name" : "getargv2",
"path" : "Sources/getargv2",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"getargv2"
],
"sources" : [
"getargv2.swift"
],
"target_dependencies" : [
"SwiftGetargv"
],
"type" : "executable"
},
{
"c99name" : "getargv",
"module_type" : "SwiftTarget",
"name" : "getargv",
"path" : "Sources/getargv",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"getargv"
],
"sources" : [
"getargv.swift"
],
"target_dependencies" : [
"Cgetargv"
],
"type" : "executable"
},
{
"c99name" : "SwiftGetargvTests",
"module_type" : "SwiftTarget",
"name" : "SwiftGetargvTests",
"path" : "Tests/SwiftGetargvTests",
"product_dependencies" : [
"Testing"
],
"sources" : [
"Test.swift"
],
"target_dependencies" : [
"SwiftGetargv"
],
"type" : "test"
},
{
"c99name" : "SwiftGetargv",
"module_type" : "SwiftTarget",
"name" : "SwiftGetargv",
"path" : "Sources/SwiftGetargv",
"product_memberships" : [
"SwiftGetargv",
"getargv2"
],
"sources" : [
"SwiftGetargv.swift"
],
"target_dependencies" : [
"Cgetargv"
],
"type" : "library"
},
{
"c99name" : "CgetargvTests",
"module_type" : "SwiftTarget",
"name" : "CgetargvTests",
"path" : "Tests/CgetargvTests",
"product_dependencies" : [
"Testing"
],
"sources" : [
"Test.swift"
],
"target_dependencies" : [
"Cgetargv"
],
"type" : "test"
},
{
"c99name" : "Cgetargv",
"module_type" : "SystemLibraryTarget",
"name" : "Cgetargv",
"path" : "Sources/Cgetargv",
"product_memberships" : [
"SwiftGetargv",
"Cgetargv",
"getargv2",
"getargv"
],
"sources" : [
],
"type" : "system-target"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/swiftlang/swift-testing
[1/2049] Fetching swift-docc-plugin
[2050/24274] Fetching swift-docc-plugin, swift-testing
[7829/39224] Fetching swift-docc-plugin, swift-testing, swift-argument-parser
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.05s)
Fetched https://github.com/swiftlang/swift-testing from cache (1.05s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.06s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (4.17s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3376] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.63s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (1.32s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.63s)
Computing version for https://github.com/swiftlang/swift-testing
Computed https://github.com/swiftlang/swift-testing at 0.99.0 (0.69s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/70245] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.45s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (5.25s)
Creating working copy for https://github.com/swiftlang/swift-testing
Working copy of https://github.com/swiftlang/swift-testing resolved at 0.99.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
warning: couldn't find pc file for getargv
warning: couldn't find pc file for getargv
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/18] Write sources
[8/18] Write swift-version-24593BA9C3E375BF.txt
[10/22] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/22] Emitting module ArgumentParserToolInfo
[12/23] Wrapping AST for ArgumentParserToolInfo for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/61] Emitting module SwiftGetargv
/host/spi-builder-workspace/Sources/Cgetargv/module.modulemap:2:10: error: header '/usr/local/include/libgetargv.h' not found
1 | module Cgetargv [system] {
2 | header "/usr/local/include/libgetargv.h"
| `- error: header '/usr/local/include/libgetargv.h' not found
3 | link "getargv"
4 | export *
/host/spi-builder-workspace/Sources/SwiftGetargv/SwiftGetargv.swift:1:8: error: could not build C module 'Cgetargv'
1 | import Cgetargv
| `- error: could not build C module 'Cgetargv'
2 | import Foundation
3 | import System
[15/61] Compiling SwiftGetargv SwiftGetargv.swift
/host/spi-builder-workspace/Sources/Cgetargv/module.modulemap:2:10: error: header '/usr/local/include/libgetargv.h' not found
1 | module Cgetargv [system] {
2 | header "/usr/local/include/libgetargv.h"
| `- error: header '/usr/local/include/libgetargv.h' not found
3 | link "getargv"
4 | export *
/host/spi-builder-workspace/Sources/SwiftGetargv/SwiftGetargv.swift:1:8: error: could not build C module 'Cgetargv'
1 | import Cgetargv
| `- error: could not build C module 'Cgetargv'
2 | import Foundation
3 | import System
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: couldn't find pc file for getargv
warning: couldn't find pc file for getargv
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/17] Emitting module SwiftGetargv
/host/spi-builder-workspace/Sources/Cgetargv/module.modulemap:2:10: error: header '/usr/local/include/libgetargv.h' not found
1 | module Cgetargv [system] {
2 | header "/usr/local/include/libgetargv.h"
| `- error: header '/usr/local/include/libgetargv.h' not found
3 | link "getargv"
4 | export *
/host/spi-builder-workspace/Sources/SwiftGetargv/SwiftGetargv.swift:1:8: error: could not build C module 'Cgetargv'
1 | import Cgetargv
| `- error: could not build C module 'Cgetargv'
2 | import Foundation
3 | import System
[6/17] Compiling SwiftGetargv SwiftGetargv.swift
/host/spi-builder-workspace/Sources/Cgetargv/module.modulemap:2:10: error: header '/usr/local/include/libgetargv.h' not found
1 | module Cgetargv [system] {
2 | header "/usr/local/include/libgetargv.h"
| `- error: header '/usr/local/include/libgetargv.h' not found
3 | link "getargv"
4 | export *
/host/spi-builder-workspace/Sources/SwiftGetargv/SwiftGetargv.swift:1:8: error: could not build C module 'Cgetargv'
1 | import Cgetargv
| `- error: could not build C module 'Cgetargv'
2 | import Foundation
3 | import System
[7/17] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 linux