Build Information
Failed to build LinuxMainGen, reference master (d7751d), with Swift 6.3 for Linux on 23 Apr 2026 05:37:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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.3
Building package at path: $PWD
https://github.com/rb-de0/linuxmaingen.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/kareman/Moderator.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/kareman/FileSmith.git
[1/658] Fetching moderator
[403/2344] Fetching moderator, filesmith
[1225/18544] Fetching moderator, filesmith, sourcekitten
Fetched https://github.com/kareman/FileSmith.git from cache (0.37s)
[3364/16858] Fetching moderator, sourcekitten
Fetched https://github.com/kareman/Moderator.git from cache (1.78s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (2.18s)
Computing version for https://github.com/kareman/Moderator.git
Computed https://github.com/kareman/Moderator.git at 0.5.1 (2.95s)
Computing version for https://github.com/kareman/FileSmith.git
Computed https://github.com/kareman/FileSmith.git at 0.3.0 (3.75s)
Fetching https://github.com/kareman/SwiftShell.git
[1/4891] Fetching swiftshell
Fetched https://github.com/kareman/SwiftShell.git from cache (1.04s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 5.1.1 (1.57s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.3 (0.96s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2858] Fetching swxmlhash
[516/20322] Fetching swxmlhash, swift-argument-parser
[4606/31873] Fetching swxmlhash, swift-argument-parser, yams
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.74s)
[23356/29015] Fetching swift-argument-parser, yams
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.87s)
Fetched https://github.com/jpsim/Yams.git from cache (1.91s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.1 (2.32s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.45s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (1.37s)
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.1
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.3
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.7.1
Creating working copy for https://github.com/kareman/Moderator.git
Working copy of https://github.com/kareman/Moderator.git resolved at 0.5.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/27] Write sources
[9/27] Compiling Clang_C Clang_C.c
[10/27] Compiling reader.c
[11/27] Compiling writer.c
[12/27] Compiling SourceKit SourceKit.c
[13/27] Write swift-version-24593BA9C3E375BF.txt
[14/27] Compiling parser.c
[15/27] Compiling api.c
[16/32] Compiling emitter.c
[17/45] Compiling scanner.c
[19/84] Emitting module Moderator
[20/84] Emitting module SWXMLHash
[21/87] Emitting module Yams
[22/89] Compiling Yams Tag.swift
[23/89] Compiling Yams YamlAnchorProviding.swift
[24/89] Compiling Moderator SwiftCompat.swift
[25/89] Compiling Yams Mark.swift
[26/89] Compiling Yams Node.Alias.swift
[27/89] Compiling Yams Node.Mapping.swift
[28/89] Compiling SwiftShell Array.swift
[29/90] Compiling Moderator Parsers.swift
[30/90] Compiling Yams Resolver.swift
[31/90] Compiling Yams String+Yams.swift
[32/90] Compiling Yams AliasDereferencingStrategy.swift
[33/90] Compiling Yams Anchor.swift
[34/90] Compiling Yams Constructor.swift
[35/90] Compiling Yams Decoder.swift
[36/90] Compiling SwiftShell String.swift
[39/90] Compiling Yams YamlError.swift
[40/90] Compiling Yams Emitter.swift
[41/90] Compiling Yams Encoder.swift
[44/90] Compiling Yams Node.Scalar.swift
[45/90] Compiling Yams Node.Sequence.swift
[46/90] Compiling Yams Node.swift
[47/90] Compiling Yams Parser.swift
[48/90] Compiling Yams RedundancyAliasingStrategy.swift
[49/90] Compiling Yams Representer.swift
[53/90] Compiling SwiftShell Files.swift
[54/90] Compiling Yams YamlTagProviding.swift
[55/90] Compiling SWXMLHash XMLElement.swift
[56/90] Compiling SWXMLHash XMLHash.swift
[62/90] Compiling Moderator Moderator.swift
[63/91] Compiling SwiftShell Lazy-split.swift
[64/91] Compiling SwiftShell Process.swift
[65/91] Compiling SwiftShell Stream.swift
[70/91] Emitting module SwiftShell
[71/91] Compiling SwiftShell Context.swift
[77/91] Compiling SWXMLHash XMLHashOptions.swift
[78/91] Compiling SWXMLHash XMLIndexer.swift
[79/91] Compiling SWXMLHash shim.swift
[85/94] Wrapping AST for Moderator for debugging
[86/94] Wrapping AST for SwiftShell for debugging
[87/94] Wrapping AST for SWXMLHash for debugging
[88/102] Wrapping AST for Yams for debugging
[90/145] Emitting module FileSmith
[91/145] Compiling FileSmith SymbolicLinks.swift
[92/145] Compiling FileSmith Errors.swift
[93/145] Compiling FileSmith File.swift
[94/145] Compiling FileSmith Directory.swift
[95/145] Compiling FileSmith Attributes.swift
[96/145] Compiling SourceKittenFramework SyntaxToken.swift
[97/145] Compiling SourceKittenFramework Text.swift
[98/145] Compiling SourceKittenFramework UID.swift
[99/145] Compiling SourceKittenFramework UIDRepresentable.swift
[100/145] Compiling SourceKittenFramework UncheckedSendable.swift
[101/145] Compiling SourceKittenFramework Version.swift
[102/151] Compiling FileSmith General.swift
[103/151] Compiling FileSmith Paths.swift
[104/152] Wrapping AST for FileSmith for debugging
[106/152] Compiling SourceKittenFramework ByteCount.swift
[107/152] Compiling SourceKittenFramework ByteRange.swift
[108/152] Compiling SourceKittenFramework Clang+SourceKitten.swift
[109/152] Compiling SourceKittenFramework ClangTranslationUnit.swift
[110/152] Compiling SourceKittenFramework CodeCompletionItem.swift
[111/152] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[112/152] Emitting module SourceKittenFramework
[113/152] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[114/152] Compiling SourceKittenFramework SwiftDocKey.swift
[115/152] Compiling SourceKittenFramework SwiftDocs.swift
[116/152] Compiling SourceKittenFramework SwiftVersion.swift
[117/152] Compiling SourceKittenFramework SyntaxKind.swift
[118/152] Compiling SourceKittenFramework SyntaxMap.swift
[119/152] Compiling SourceKittenFramework Dictionary+Merge.swift
[120/152] Compiling SourceKittenFramework Documentation.swift
[121/152] Compiling SourceKittenFramework Exec.swift
[122/152] Compiling SourceKittenFramework File+Hashable.swift
[123/152] Compiling SourceKittenFramework File.swift
[124/152] Compiling SourceKittenFramework JSONOutput.swift
[125/152] Compiling SourceKittenFramework OffsetMap.swift
[126/152] Compiling SourceKittenFramework Parameter.swift
[127/152] Compiling SourceKittenFramework Request.swift
[128/152] Compiling SourceKittenFramework SourceDeclaration.swift
[129/152] Compiling SourceKittenFramework SourceKitObject.swift
[130/152] Compiling SourceKittenFramework SourceLocation.swift
[131/152] Compiling SourceKittenFramework StatementKind.swift
[132/152] Compiling SourceKittenFramework String+SourceKitten.swift
[133/152] Compiling SourceKittenFramework StringView+SourceKitten.swift
[134/152] Compiling SourceKittenFramework StringView.swift
[135/152] Compiling SourceKittenFramework Structure.swift
[136/152] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[137/152] Compiling SourceKittenFramework Language.swift
[138/152] Compiling SourceKittenFramework LibraryWrapperGenerator.swift
[139/152] Compiling SourceKittenFramework Line.swift
[140/152] Compiling SourceKittenFramework LinuxCompatibility.swift
[141/152] Compiling SourceKittenFramework Module.swift
[142/152] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[143/152] Compiling SourceKittenFramework WindowsError.swift
[144/152] Compiling SourceKittenFramework Xcode.swift
[145/152] Compiling SourceKittenFramework XcodeBuildSetting.swift
[146/152] Compiling SourceKittenFramework library_wrapper.swift
[147/152] Compiling SourceKittenFramework library_wrapper_Clang_C.swift
[148/152] Compiling SourceKittenFramework library_wrapper_SourceKit.swift
[149/153] Wrapping AST for SourceKittenFramework for debugging
[151/161] Compiling LinuxMainGen SourceWriter.swift
/host/spi-builder-workspace/Sources/LinuxMainGen/SourceWriter.swift:40:59: error: value of type 'NSString' has no member 'byteRangeToNSRange'
38 | }
39 |
40 | if let range = testClass.file.contents.ns.byteRangeToNSRange(start: offset, length: length) {
| `- error: value of type 'NSString' has no member 'byteRangeToNSRange'
41 | contents = testClass.file.contents.ns.replacingCharacters(in: range, with: "")
42 | let file = try FileSmith.WritableFile(open: path)
[152/161] Compiling LinuxMainGen SourceParser.swift
[153/161] Compiling LinuxMainGen main.swift
[154/161] Compiling LinuxMainGen TestClass.swift
[155/161] Emitting module LinuxMainGen
[156/161] Compiling LinuxMainGen String+Util.swift
[157/161] Compiling LinuxMainGen Structure+Util.swift
[158/161] Compiling LinuxMainGen Structure+Value.swift
BUILD FAILURE 6.3 linux