Build Information
Failed to build LinuxMainGen, reference master (d7751d), with Swift 6.4 for Linux on 16 Sep 2026 14:12:28 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/rb-de0/linuxmaingen.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/rb-de0/linuxmaingen
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d7751d5 Add support nested test classes
Cloned https://github.com/rb-de0/linuxmaingen.git
Revision (git rev-parse @):
d7751d57ff9dc12260436a732cb099c33ab8c137
SUCCESS checkout https://github.com/rb-de0/linuxmaingen.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/rb-de0/linuxmaingen.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/kareman/Moderator.git
Fetching https://github.com/kareman/FileSmith.git
[1/658] Fetching moderator
[449/2344] Fetching moderator, filesmith
[753/18676] Fetching moderator, filesmith, sourcekitten
Fetched https://github.com/kareman/FileSmith.git (0.51s)
[3395/16990] Fetching moderator, sourcekitten
Fetched https://github.com/kareman/Moderator.git (0.76s)
Fetched https://github.com/jpsim/SourceKitten.git (0.87s)
Computing version for https://github.com/kareman/Moderator.git
Computed https://github.com/kareman/Moderator.git at 0.5.1 (1.06s)
Computing version for https://github.com/kareman/FileSmith.git
Computed https://github.com/kareman/FileSmith.git at 0.3.0 (1.03s)
Fetching https://github.com/kareman/SwiftShell.git
[1/4891] Fetching swiftshell
Fetched https://github.com/kareman/SwiftShell.git (0.55s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 5.1.1 (0.74s)
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/jpsim/Yams.git
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/2865] Fetching swxmlhash
[2866/14726] Fetching swxmlhash, yams
[3341/33585] Fetching swxmlhash, yams, swift-argument-parser
Fetched https://github.com/drmohundro/SWXMLHash.git (1.17s)
Fetched https://github.com/apple/swift-argument-parser.git (1.18s)
Fetched https://github.com/jpsim/Yams.git (1.19s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (1.37s)
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/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/kareman/Moderator.git
Working copy of https://github.com/kareman/Moderator.git resolved at 0.5.1
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/kareman/FileSmith.git
Working copy of https://github.com/kareman/FileSmith.git resolved at 0.3.0
Creating working copy for https://github.com/kareman/SwiftShell.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 5.1.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.2.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
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 307]
[Constructing 203 / 682]
[76 / 135] CYaml
[82 / 153] Yams
[83 / 153] Moderator
[87 / 153] Moderator
[97 / 153] Yams
[109 / 153] Yams
[110 / 153] SwiftShell
[111 / 153] SwiftShell
[117 / 153] SwiftShell-product
[119 / 153] SWXMLHash
[123 / 154] SwiftShell
[128 / 155] SwiftShell
[137 / 166] SourceKittenFramework
[141 / 174] SourceKittenFramework
[144 / 175] Moderator
[147 / 176] FileSmith
[152 / 176] SWXMLHash
[165 / 176] FileSmith-product
[167 / 176] linuxmain-gen-product
[173 / 185] linuxmain-gen-product
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/LinuxMainGen/SourceWriter.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile SourceWriter.swift
/host/spi-builder-workspace/Sources/LinuxMainGen/SourceWriter.swift:40:59: [1;31merror: [1;39mvalue of type 'NSString' has no member 'byteRangeToNSRange'[0;0m
[0;36m38 |[0;0m }
[0;36m39 |[0;0m
[0;36m40 |[0;0m if let range = [4;39mtestClass.file.contents.ns[0;0m.[4;39mbyteRangeToNSRange[0;0m(start: offset, length: length) {
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type 'NSString' has no member 'byteRangeToNSRange'[0;0m
[0;36m41 |[0;0m contents = testClass.file.contents.ns.replacingCharacters(in: range, with: "")
[0;36m42 |[0;0m let file = try FileSmith.WritableFile(open: path)
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/LinuxMainGen/Extension/String+Util.swift /host/spi-builder-workspace/Sources/LinuxMainGen/Extension/Structure+Util.swift /host/spi-builder-workspace/Sources/LinuxMainGen/Extension/Structure+Value.swift /host/spi-builder-workspace/Sources/LinuxMainGen/SourceParser.swift -primary-file /host/spi-builder-workspace/Sources/LinuxMainGen/SourceWriter.swift /host/spi-builder-workspace/Sources/LinuxMainGen/TestClass.swift /host/spi-builder-workspace/Sources/LinuxMainGen/main.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/LinuxMainGen.build/Debug-linux-x86_64/linuxmain-gen-p.build/Objects-normal/x86_64/SourceWriter.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/LinuxMainGen.build/Debug-linux-x86_64/linuxmain-gen-p.build/Objects-normal/x86_64/SourceWriter.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/LinuxMainGen.build/Debug-linux-x86_64/linuxmain-gen-p.build/Objects-normal/x86_64/SourceWriter.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/LinuxMainGen.build/Debug-linux-x86_64/linuxmain-gen-p.build/Objects-normal/x86_64/SourceWriter.dia -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 -Onone -D SWIFT_PACKAGE -D DEBUG -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/LinuxMainGen.build/Debug-linux-x86_64/linuxmain-gen-p.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/LinuxMainGen.build/Debug-linux-x86_64/linuxmain-gen-p.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/LinuxMainGen.build/Debug-linux-x86_64/linuxmain-gen-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name LinuxMainGen -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/LinuxMainGen.build/Debug-linux-x86_64/linuxmain-gen-p.build/Objects-normal/x86_64/linuxmain-gen_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 -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/LinuxMainGen.build/Debug-linux-x86_64/linuxmain-gen-p.build/Objects-normal/x86_64/SourceWriter.o -index-unit-output-path /LinuxMainGen.build/Debug-linux-x86_64/linuxmain-gen-p.build/Objects-normal/x86_64/SourceWriter.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
[178 / 186] SourceKittenFramework
error: Build failed
BUILD FAILURE 6.4 linux