The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/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: 0.5.0
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
 * tag               0.5.0      -> FETCH_HEAD
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 0.5.0
========================================
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-54344845-0":/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/jpsim/Yams.git
Fetching https://github.com/davecom/SwiftGraph
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser
[1/1460] Fetching pathkit
[1461/20378] Fetching pathkit, swift-argument-parser
[1462/32239] Fetching pathkit, swift-argument-parser, yams
Fetched https://github.com/kylef/PathKit.git (0.73s)
Fetched https://github.com/apple/swift-argument-parser (0.74s)
[6405/11861] Fetching yams
[7948/15162] Fetching yams, swiftgraph
[15163/95161] Fetching yams, swiftgraph, swift-syntax
Fetched https://github.com/davecom/SwiftGraph (1.13s)
[13461/91860] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git (1.15s)
[4000/79999] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (2.92s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.96s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git (0.88s)
Computing version for https://github.com/davecom/SwiftGraph
Computed https://github.com/davecom/SwiftGraph at 3.1.0 (1.90s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (0.28s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.17s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.17s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.16s)
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/davecom/SwiftGraph
Working copy of https://github.com/davecom/SwiftGraph resolved at 3.1.0
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-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
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
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 888]
[Planning deferred tasks]
[180 / 374] SwiftGraph
[200 / 391] Yams
[201 / 391] SwordFoundation
[208 / 391] PathKit
[218 / 391] Yams
[218 / 391] SwiftSyntax600
[221 / 392] Yams
[225 / 392] Yams
[226 / 392] Yams-product
[227 / 392] Yams-product
[240 / 396] Yams
[250 / 397] SwiftSyntax510
[257 / 399] CYaml
[265 / 399] ArgumentParserToolInfo
[278 / 420] CYaml
[279 / 421] ArgumentParserToolInfo
[281 / 422] SwiftSyntax
[282 / 422] ArgumentParser
[284 / 422] ArgumentParser
[289 / 422] SwiftSyntax
[290 / 422] PathKit
[294 / 422] PathKit
[297 / 422] SwiftSyntax
[298 / 422] ArgumentParser
[299 / 422] ArgumentParser-product
[300 / 422] ArgumentParser-product
[301 / 422] ArgumentParser-product
[302 / 422] ArgumentParser
[305 / 423] SwiftSyntax
[321 / 456] SwiftSyntaxSupport
[328 / 456] SwordComponentArgument
[339 / 457] SwordComponentArgument
[342 / 458] SwiftParser
[355 / 458] SwiftSyntaxSupport
[356 / 458] SwiftParser
[357 / 458] SwiftParser-product
[358 / 458] SwiftParser-product
[359 / 458] SwiftParser-product
[362 / 458] SwiftDiagnostics
[362 / 458] SwiftOperators
[364 / 458] SwiftDiagnostics
[365 / 458] SwiftDiagnostics
[366 / 458] SwiftDiagnostics
[369 / 458] SwiftBasicFormat
[371 / 459] SwiftDiagnostics
[372 / 459] SwiftParserDiagnostics
[377 / 469] SwiftParserDiagnostics
[381 / 470] SwiftParserDiagnostics
[382 / 470] SwiftParser
[387 / 470] SwiftParserDiagnostics
[388 / 471] SwiftSyntaxBuilder
[389 / 471] SwiftSyntaxBuilder
[398 / 491] SwiftSyntaxBuilder
[399 / 491] SwiftSyntaxBuilder
[401 / 491] SwiftOperators
[402 / 491] SwiftOperators
[408 / 491] SwiftSyntaxBuilder
[414 / 491] SwiftSyntaxBuilder
[416 / 492] SwiftParserDiagnostics
[418 / 492] SwiftSyntaxBuilder
[422 / 492] SwiftOperators
[425 / 492] SwiftOperators
[427 / 494] SwiftSyntaxMacros
[430 / 512] 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
error: Build failed
BUILD FAILURE 6.4 linux