The Swift Package Index logo.Swift Package Index

Build Information

Failed to build sword, reference main (01eb42), with Swift 6.4 for Linux on 22 Sep 2026 03:22:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rockname/sword.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/rockname/sword
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 01eb420 Merge pull request #30 from rockname/update-readme
Cloned https://github.com/rockname/sword.git
Revision (git rev-parse @):
01eb420d4c100b4045d9319d9cddd91f0f05ad35
SUCCESS checkout https://github.com/rockname/sword.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/rockname/sword.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser
[1/1460] Fetching pathkit
Fetching https://github.com/jpsim/Yams.git
Fetched https://github.com/kylef/PathKit.git (0.47s)
[1/18918] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.86s)
[1/11861] Fetching yams
[5813/91860] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git (1.23s)
[36000/79999] Fetching swift-syntax
Fetching https://github.com/davecom/SwiftGraph
Fetched https://github.com/apple/swift-syntax.git (3.43s)
[1/3301] Fetching swiftgraph
Fetched https://github.com/davecom/SwiftGraph (0.98s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (5.44s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git (0.89s)
Computing version for https://github.com/davecom/SwiftGraph
Computed https://github.com/davecom/SwiftGraph at 3.1.0 (2.04s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (0.31s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.18s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.18s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.17s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/davecom/SwiftGraph
Working copy of https://github.com/davecom/SwiftGraph resolved at 3.1.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 888]
[Planning deferred tasks]
[Starting]
[71 / 354] SwiftSyntax600
[183 / 394] Yams
[201 / 394] ArgumentParserToolInfo
[214 / 394] SwiftGraph
[224 / 394] Yams
[226 / 394] Yams
[228 / 395] Yams
[233 / 395] Yams-product
[234 / 395] Yams-product
[239 / 396] SwordFoundation
[247 / 398] Yams
[252 / 398] SwiftGraph
[253 / 398] PathKit
[255 / 398]
[263 / 398] CYaml
[264 / 398] CYaml
[266 / 400] ArgumentParser
[270 / 409] CYaml
[272 / 418] SwiftSyntax
[274 / 420] Yams
[276 / 421] Yams
[278 / 422] SwiftSyntax
[279 / 422] ArgumentParser
[281 / 422] ArgumentParser
[287 / 422] SwiftGraph
[290 / 422] SwiftGraph
[293 / 422] ArgumentParserToolInfo
[294 / 422] ArgumentParser
[295 / 422] ArgumentParser-product
[296 / 422] ArgumentParser-product
[297 / 422] ArgumentParser-product
[299 / 422] ArgumentParser
[300 / 422] ArgumentParser
[301 / 422] ArgumentParser
[301 / 422]
[302 / 422]
[302 / 422] ArgumentParser
[305 / 423] ArgumentParser
[305 / 423] SwiftSyntax
[319 / 447] SwiftDiagnostics
[320 / 456] SwiftParser
[322 / 456] SwiftDiagnostics
[334 / 457] SwiftBasicFormat
[344 / 457] SwiftSyntaxSupport
[346 / 457] SwiftSyntaxSupport
[348 / 458] SwordComponentArgument
[350 / 458] SwordComponentArgument
[353 / 458] SwiftParser
[357 / 458] SwiftParser
[358 / 458] SwiftParser-product
[359 / 458] SwiftParser-product
[360 / 458] SwiftDiagnostics
[362 / 458] SwiftDiagnostics
[364 / 458] SwiftOperators
[366 / 458] SwiftDiagnostics
[367 / 458] SwiftDiagnostics
[368 / 458] SwiftBasicFormat
[369 / 458] SwiftBasicFormat
[370 / 458] SwiftParserDiagnostics
[371 / 459] SwiftParserDiagnostics
[374 / 459] SwiftDiagnostics
[379 / 479] SwiftOperators
[380 / 479] SwiftParserDiagnostics
[381 / 480] SwiftParserDiagnostics
[385 / 480] SwiftParserDiagnostics
[393 / 480] SwiftSyntaxBuilder
[395 / 481] SwiftParserDiagnostics
[399 / 481] SwiftParser
[401 / 481] SwiftOperators
[402 / 481] SwiftOperators
[404 / 481] SwiftOperators
[406 / 481] SwiftOperators
[408 / 482] SwiftBasicFormat
[415 / 492] SwiftSyntaxBuilder
[416 / 492] SwiftSyntaxBuilder
[417 / 493] SwiftSyntaxBuilder
[418 / 493] SwiftSyntaxBuilder
[421 / 493] SwiftSyntaxBuilder
[422 / 493] SwiftSyntaxBuilder
[429 / 495] SwiftSyntaxMacros
[435 / 513] SwordGenerator
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/SwordGenerator/Logging/Logging.swift:1:8: error: no such module 'os'
 1 | import os
   |        `- error: no such module 'os'
 2 |
 3 | enum Logging {
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/SwordGenerator/Descriptor/DependencyDescriptor.swift /host/spi-builder-workspace/Sources/SwordGenerator/Descriptor/ModuleDescriptor.swift /host/spi-builder-workspace/Sources/SwordGenerator/Descriptor/ProviderDescriptor.swift /host/spi-builder-workspace/Sources/SwordGenerator/Descriptor/RootComponentDescriptor.swift /host/spi-builder-workspace/Sources/SwordGenerator/Descriptor/SubcomponentDescriptor.swift /host/spi-builder-workspace/Sources/SwordGenerator/Exporter/Renderer/SwordRenderer.swift /host/spi-builder-workspace/Sources/SwordGenerator/Exporter/SwordExporter.swift /host/spi-builder-workspace/Sources/SwordGenerator/Extension/Scope+methodName.swift /host/spi-builder-workspace/Sources/SwordGenerator/Factory/BindingGraphFactory.swift /host/spi-builder-workspace/Sources/SwordGenerator/Factory/ComponentTreeFactory.swift /host/spi-builder-workspace/Sources/SwordGenerator/Factory/DependenciesFactory.swift /host/spi-builder-workspace/Sources/SwordGenerator/Factory/Factory.swift /host/spi-builder-workspace/Sources/SwordGenerator/Factory/ModulesFactory.swift /host/spi-builder-workspace/Sources/SwordGenerator/Logging/Logging.swift /host/spi-builder-workspace/Sources/SwordGenerator/Model/Binding.swift /host/spi-builder-workspace/Sources/SwordGenerator/Model/BindingGraph.swift /host/spi-builder-workspace/Sources/SwordGenerator/Model/Component.swift /host/spi-builder-workspace/Sources/SwordGenerator/Model/ComponentName.swift /host/spi-builder-workspace/Sources/SwordGenerator/Model/ComponentTree.swift /host/spi-builder-workspace/Sources/SwordGenerator/Model/Dependency.swift /host/spi-builder-workspace/Sources/SwordGenerator/Model/Import.swift /host/spi-builder-workspace/Sources/SwordGenerator/Model/Initializer.swift /host/spi-builder-workspace/Sources/SwordGenerator/Model/Interface.swift /host/spi-builder-workspace/Sources/SwordGenerator/Model/Module.swift /host/spi-builder-workspace/Sources/SwordGenerator/Model/Parameter.swift /host/spi-builder-workspace/Sources/SwordGenerator/Model/Provider.swift /host/spi-builder-workspace/Sources/SwordGenerator/Model/SourceFile.swift /host/spi-builder-workspace/Sources/SwordGenerator/Parser/SwordParser.swift /host/spi-builder-workspace/Sources/SwordGenerator/Parser/Visitor/ComponentVisitor.swift /host/spi-builder-workspace/Sources/SwordGenerator/Parser/Visitor/DependencyVisitor.swift /host/spi-builder-workspace/Sources/SwordGenerator/Parser/Visitor/Extension/AttributeListSyntax+attribute.swift /host/spi-builder-workspace/Sources/SwordGenerator/Parser/Visitor/ImportVisitor.swift /host/spi-builder-workspace/Sources/SwordGenerator/Parser/Visitor/ModuleVisitor.swift /host/spi-builder-workspace/Sources/SwordGenerator/Parser/Visitor/SourceFileVisitor.swift /host/spi-builder-workspace/Sources/SwordGenerator/Parser/Visitor/SubcomponentVisitor.swift /host/spi-builder-workspace/Sources/SwordGenerator/Reporter/Report.swift /host/spi-builder-workspace/Sources/SwordGenerator/Reporter/SwordReporter.swift /host/spi-builder-workspace/Sources/SwordGenerator/SwordGenerator.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/_SwiftSyntaxCShims/include/module.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/_SwiftSyntaxCShims/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-linux-x86_64/SwordGenerator-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-linux-x86_64/SwordGenerator-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-linux-x86_64/SwordGenerator-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwordGenerator -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-linux-x86_64/SwordGenerator-t.build/Objects-normal/x86_64/SwordGenerator_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-linux-x86_64/SwordGenerator-t.build/Objects-normal/x86_64/Modules/SwordGenerator.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-linux-x86_64/SwordGenerator-t.build/Objects-normal/x86_64/Modules/SwordGenerator.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-linux-x86_64/SwordGenerator-t.build/Objects-normal/x86_64/SwordGenerator-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-linux-x86_64/SwordGenerator-t.build/Objects-normal/x86_64/SwordGenerator-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-linux-x86_64/SwordGenerator-t.build/Objects-normal/x86_64/SwordGenerator-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/sword.build/Debug-linux-x86_64/SwordGenerator-t.build/Objects-normal/x86_64/Modules/SwordGenerator.swiftmodule
[438 / 513] SwiftSyntax
error: Build failed
BUILD FAILURE 6.4 linux