Build Information
Failed to build Saber, reference master (31e012), with Swift 6.4 for Linux on 16 Sep 2026 20:46:27 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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apleshkov/saber.git
Reference: master
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/apleshkov/saber
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 31e012b additional tests
Cloned https://github.com/apleshkov/saber.git
Revision (git rev-parse @):
31e012b672ce1a86526d45d08b4ca5c3e77053c6
SUCCESS checkout https://github.com/apleshkov/saber.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/apleshkov/saber.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/jpsim/SourceKitten.git
Fetching https://github.com/Carthage/Commandant.git
[1/2329] Fetching commandant
[2330/18661] Fetching commandant, sourcekitten
Fetched https://github.com/Carthage/Commandant.git (1.05s)
Fetched https://github.com/jpsim/SourceKitten.git (1.06s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.18.0 (2.11s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.38.0 (0.18s)
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/2876] Fetching swxmlhash
[2877/14737] Fetching swxmlhash, yams
[4538/33602] Fetching swxmlhash, yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (0.90s)
[9874/14737] Fetching swxmlhash, yams
Fetched https://github.com/drmohundro/SWXMLHash.git (1.22s)
Fetched https://github.com/jpsim/Yams.git (1.24s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (1.42s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.2 (0.16s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.16s)
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.38.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.18.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.2.2
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 305]
[Constructing 1 / 662]
[74 / 130] Commandant
[81 / 148] Yams
[82 / 148] Commandant
[96 / 148] Yams
[96 / 148] Commandant
[103 / 148] Yams
[104 / 148] Yams-product
[111 / 148] SourceKittenFramework
[114 / 149] Yams
[119 / 149] Clang_C
[127 / 159] SourceKittenFramework
[128 / 160] SourceKittenFramework
[130 / 161] SourceKittenFramework
[133 / 161] SWXMLHash
[136 / 161] SourceKittenFramework
[147 / 171] Saber
[151 / 172] SourceKittenFramework
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/Saber/Parser/RawData.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile RawData.swift
/host/spi-builder-workspace/Sources/Saber/Parser/RawData.swift:36:44: [1;31merror: [1;39mreference to member 'lineAndCharacter' cannot be resolved without a contextual type[0;0m
[0;36m34 |[0;0m func annotations(for structure: [String : SourceKitRepresentable]) -> [String] {
[0;36m35 |[0;0m guard let offset = structure[SwiftDocKey.offset] as? Int64,
[0;36m36 |[0;0m let cursor = contents.bridge().lineAndCharacter(forByteOffset: Int(offset)),
[0;36m|[0;0m `- [1;31merror: [1;39mreference to member 'lineAndCharacter' cannot be resolved without a contextual type[0;0m
[0;36m37 |[0;0m cursor.line > 0 else {
[0;36m38 |[0;0m return []
/host/spi-builder-workspace/Sources/Saber/Parser/RawData.swift:58:30: [1;31merror: [1;39mreference to member 'lines' cannot be resolved without a contextual type[0;0m
[0;36m56 |[0;0m
[0;36m57 |[0;0m private func parse(contents: String, prefix: String) -> [ParsedLine] {
[0;36m58 |[0;0m return contents.bridge().lines().map {
[0;36m|[0;0m `- [1;31merror: [1;39mreference to member 'lines' cannot be resolved without a contextual type[0;0m
[0;36m59 |[0;0m let rawText = $0.content.trimmingCharacters(in: .whitespaces)
[0;36m60 |[0;0m let kind: ParsedLine.Kind
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/Saber/Generator/Container.swift /host/spi-builder-workspace/Sources/Saber/Generator/ContainerData.swift /host/spi-builder-workspace/Sources/Saber/Generator/ContainerDataFactory.swift /host/spi-builder-workspace/Sources/Saber/Generator/ContainerExternal.swift /host/spi-builder-workspace/Sources/Saber/Generator/ContainerFactory.swift /host/spi-builder-workspace/Sources/Saber/Generator/FunctionInvocationArgument.swift /host/spi-builder-workspace/Sources/Saber/Generator/Injections.swift /host/spi-builder-workspace/Sources/Saber/Generator/Service.swift /host/spi-builder-workspace/Sources/Saber/Generator/SomeType.swift /host/spi-builder-workspace/Sources/Saber/Generator/TypeDeclaration.swift /host/spi-builder-workspace/Sources/Saber/Generator/TypeProvider.swift /host/spi-builder-workspace/Sources/Saber/Generator/TypeRepository.swift /host/spi-builder-workspace/Sources/Saber/Generator/TypeResolver.swift /host/spi-builder-workspace/Sources/Saber/Generator/TypeUsage.swift /host/spi-builder-workspace/Sources/Saber/Logger/ConsoleLogger.swift /host/spi-builder-workspace/Sources/Saber/Logger/LogLevel.swift /host/spi-builder-workspace/Sources/Saber/Logger/Loggable.swift /host/spi-builder-workspace/Sources/Saber/Logger/Logger.swift /host/spi-builder-workspace/Sources/Saber/Logger/Logging.swift /host/spi-builder-workspace/Sources/Saber/Parser/AnnotationParserHelper.swift /host/spi-builder-workspace/Sources/Saber/Parser/Container/ContainerAnnotation.swift /host/spi-builder-workspace/Sources/Saber/Parser/Container/ContainerAnnotationParser.swift /host/spi-builder-workspace/Sources/Saber/Parser/Container/ContainerExternalParser.swift /host/spi-builder-workspace/Sources/Saber/Parser/Container/ContainerParser.swift /host/spi-builder-workspace/Sources/Saber/Parser/Container/ParsedContainer.swift /host/spi-builder-workspace/Sources/Saber/Parser/Container/ParsedContainerExternal.swift /host/spi-builder-workspace/Sources/Saber/Parser/Dictionary+Structure.swift /host/spi-builder-workspace/Sources/Saber/Parser/Extension/ExtensionParser.swift /host/spi-builder-workspace/Sources/Saber/Parser/Extension/ParsedExtension.swift /host/spi-builder-workspace/Sources/Saber/Parser/FileParser.swift /host/spi-builder-workspace/Sources/Saber/Parser/Lambda/LambdaParser.swift /host/spi-builder-workspace/Sources/Saber/Parser/Lambda/ParsedLambda.swift /host/spi-builder-workspace/Sources/Saber/Parser/Method/MethodAnnotation.swift /host/spi-builder-workspace/Sources/Saber/Parser/Method/MethodAnnotationParser.swift /host/spi-builder-workspace/Sources/Saber/Parser/Method/MethodParser.swift /host/spi-builder-workspace/Sources/Saber/Parser/Method/ParsedArgument.swift /host/spi-builder-workspace/Sources/Saber/Parser/Method/ParsedMethod.swift -primary-file /host/spi-builder-workspace/Sources/Saber/Parser/NestedParsedDecl.swift -primary-file /host/spi-builder-workspace/Sources/Saber/Parser/ParsedData.swift -primary-file /host/spi-builder-workspace/Sources/Saber/Parser/Property/ParsedProperty.swift -primary-file /host/spi-builder-workspace/Sources/Saber/Parser/Property/PropertyAnnotation.swift -primary-file /host/spi-builder-workspace/Sources/Saber/Parser/Property/PropertyAnnotationParser.swift -primary-file /host/spi-builder-workspace/Sources/Saber/Parser/Property/PropertyParser.swift -primary-file /host/spi-builder-workspace/Sources/Saber/Parser/RawData.swift /host/spi-builder-workspace/Sources/Saber/Parser/StringExtractor.swift /host/spi-builder-workspace/Sources/Saber/Parser/Type/ParsedType.swift /host/spi-builder-workspace/Sources/Saber/Parser/Type/TypeAnnotation.swift /host/spi-builder-workspace/Sources/Saber/Parser/Type/TypeAnnotationParser.swift /host/spi-builder-workspace/Sources/Saber/Parser/Type/TypeParser.swift /host/spi-builder-workspace/Sources/Saber/Parser/TypeUsage/ParsedTypeUsage.swift /host/spi-builder-workspace/Sources/Saber/Parser/TypeUsage/TypeUsageParser.swift /host/spi-builder-workspace/Sources/Saber/Parser/Typealias/ParsedTypealias.swift /host/spi-builder-workspace/Sources/Saber/Parser/Typealias/TypealiasParser.swift /host/spi-builder-workspace/Sources/Saber/ReferenceType.swift /host/spi-builder-workspace/Sources/Saber/Renderer/Renderer.swift /host/spi-builder-workspace/Sources/Saber/SaberConfiguration.swift /host/spi-builder-workspace/Sources/Saber/SaberVersion.swift /host/spi-builder-workspace/Sources/Saber/Throwable.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/Saber.build/Debug-linux-x86_64/Saber-t.build/Objects-normal/x86_64/supplementaryOutputs-27 -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 4.2 -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/Yams/Sources/CYaml/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/SourceKit.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/Clang_C.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/Yams/Sources/CYaml/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKit/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/Clang_C/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/Saber.build/Debug-linux-x86_64/Saber-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Saber.build/Debug-linux-x86_64/Saber-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Saber.build/Debug-linux-x86_64/Saber-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Saber -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Saber.build/Debug-linux-x86_64/Saber-t.build/Objects-normal/x86_64/Saber_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 -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Saber.build/Debug-linux-x86_64/Saber-t.build/Objects-normal/x86_64/NestedParsedDecl.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Saber.build/Debug-linux-x86_64/Saber-t.build/Objects-normal/x86_64/ParsedData.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Saber.build/Debug-linux-x86_64/Saber-t.build/Objects-normal/x86_64/ParsedProperty.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Saber.build/Debug-linux-x86_64/Saber-t.build/Objects-normal/x86_64/PropertyAnnotation.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Saber.build/Debug-linux-x86_64/Saber-t.build/Objects-normal/x86_64/PropertyAnnotationParser.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Saber.build/Debug-linux-x86_64/Saber-t.build/Objects-normal/x86_64/PropertyParser.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Saber.build/Debug-linux-x86_64/Saber-t.build/Objects-normal/x86_64/RawData.o -index-unit-output-path /Saber.build/Debug-linux-x86_64/Saber-t.build/Objects-normal/x86_64/NestedParsedDecl.o -index-unit-output-path /Saber.build/Debug-linux-x86_64/Saber-t.build/Objects-normal/x86_64/ParsedData.o -index-unit-output-path /Saber.build/Debug-linux-x86_64/Saber-t.build/Objects-normal/x86_64/ParsedProperty.o -index-unit-output-path /Saber.build/Debug-linux-x86_64/Saber-t.build/Objects-normal/x86_64/PropertyAnnotation.o -index-unit-output-path /Saber.build/Debug-linux-x86_64/Saber-t.build/Objects-normal/x86_64/PropertyAnnotationParser.o -index-unit-output-path /Saber.build/Debug-linux-x86_64/Saber-t.build/Objects-normal/x86_64/PropertyParser.o -index-unit-output-path /Saber.build/Debug-linux-x86_64/Saber-t.build/Objects-normal/x86_64/RawData.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux