Build Information
Failed to build LinuxMainGen, reference 0.2.0 (d7751d
), with Swift 6.2 (beta) for Linux on 18 Jun 2025 03:21:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rb-de0/linuxmaingen.git
Reference: 0.2.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/rb-de0/linuxmaingen
* tag 0.2.0 -> FETCH_HEAD
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 0.2.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/rb-de0/linuxmaingen.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/kareman/Moderator.git
Fetching https://github.com/kareman/FileSmith.git
[1/1686] Fetching filesmith
[35/2344] Fetching filesmith, moderator
[331/18488] Fetching filesmith, moderator, sourcekitten
Fetched https://github.com/kareman/FileSmith.git from cache (0.79s)
[6099/16802] Fetching moderator, sourcekitten
Fetched https://github.com/kareman/Moderator.git from cache (2.33s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (2.56s)
Computing version for https://github.com/kareman/Moderator.git
Computed https://github.com/kareman/Moderator.git at 0.5.1 (3.45s)
Computing version for https://github.com/kareman/FileSmith.git
Computed https://github.com/kareman/FileSmith.git at 0.3.0 (4.54s)
Fetching https://github.com/kareman/SwiftShell.git
[1/4863] Fetching swiftshell
Fetched https://github.com/kareman/SwiftShell.git from cache (0.49s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 5.1.0 (2.19s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.2 (0.65s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
[2821/13679] Fetching swxmlhash, yams
[3147/29059] Fetching swxmlhash, yams, swift-argument-parser
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.75s)
[4099/26239] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.65s)
[7493/10859] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (2.77s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.0.1 (3.70s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.89s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.91s)
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.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.5.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
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.0.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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/26] Write sources
[7/26] Compiling SourceKit SourceKit.c
[7/26] Write sources
[9/26] Compiling Clang_C Clang_C.c
[10/26] Compiling reader.c
[11/26] Write swift-version-24593BA9C3E375BF.txt
[11/26] Compiling writer.c
[13/30] Compiling api.c
[14/32] Compiling parser.c
[15/58] Compiling emitter.c
[16/63] Compiling scanner.c
[18/83] Emitting module Yams
[19/85] Compiling Yams Tag.swift
[20/85] Compiling Yams YamlAnchorProviding.swift
[21/85] Compiling Moderator SwiftCompat.swift
[22/85] Compiling SwiftShell Lazy-split.swift
[23/86] Compiling Moderator Parsers.swift
[24/86] Compiling SwiftShell String.swift
[25/86] Compiling Yams Mark.swift
[26/86] Compiling Yams Node.Alias.swift
[27/86] Compiling Yams Node.Mapping.swift
[28/86] Compiling Yams Emitter.swift
[29/86] Compiling Yams Encoder.swift
[30/86] Compiling Yams AliasDereferencingStrategy.swift
[31/89] Compiling Yams YamlError.swift
[32/89] Compiling Yams YamlTagProviding.swift
[33/89] Compiling Yams Resolver.swift
[34/89] Compiling Yams String+Yams.swift
[35/89] Compiling Yams Anchor.swift
[36/89] Compiling Yams Constructor.swift
[37/89] Compiling Yams Node.Scalar.swift
[38/89] Compiling Yams Node.Sequence.swift
[39/89] Emitting module Moderator
[40/89] Compiling Moderator Moderator.swift
[41/89] Compiling SwiftShell Array.swift
[42/89] Compiling SwiftShell Process.swift
[46/90] Compiling Yams Decoder.swift
[47/90] Emitting module SWXMLHash
[51/90] Compiling Yams Node.swift
[55/90] Compiling SWXMLHash XMLElement.swift
[56/90] Compiling SWXMLHash XMLHash.swift
[57/90] Emitting module SwiftShell
[61/90] Compiling Yams Parser.swift
[62/90] Compiling Yams RedundancyAliasingStrategy.swift
[63/90] Compiling Yams Representer.swift
[76/90] Compiling SwiftShell Context.swift
[77/90] Compiling SwiftShell Files.swift
[78/91] Compiling SwiftShell Stream.swift
[81/92] Compiling SWXMLHash XMLHashOptions.swift
[82/92] Compiling SWXMLHash XMLIndexer.swift
[83/92] Compiling SWXMLHash shim.swift
[84/93] Wrapping AST for Moderator for debugging
[85/93] Wrapping AST for SwiftShell for debugging
[85/93] Wrapping AST for Yams for debugging
[87/93] Wrapping AST for SWXMLHash for debugging
[89/144] Compiling FileSmith Errors.swift
[90/144] Compiling FileSmith File.swift
[91/144] Compiling FileSmith SymbolicLinks.swift
[92/144] Emitting module FileSmith
[93/144] Compiling FileSmith Attributes.swift
[94/144] Compiling FileSmith Directory.swift
[95/144] Compiling SourceKittenFramework SyntaxToken.swift
[96/144] Compiling SourceKittenFramework Text.swift
[97/144] Compiling SourceKittenFramework UID.swift
[98/144] Compiling SourceKittenFramework UIDRepresentable.swift
[99/144] Compiling SourceKittenFramework UncheckedSendable.swift
[100/144] Compiling SourceKittenFramework Version.swift
[101/150] Compiling FileSmith General.swift
[102/150] Compiling FileSmith Paths.swift
[104/151] Emitting module SourceKittenFramework
[105/151] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[106/151] Compiling SourceKittenFramework SwiftDocKey.swift
[107/151] Compiling SourceKittenFramework SwiftDocs.swift
[108/151] Compiling SourceKittenFramework SwiftVersion.swift
[109/151] Compiling SourceKittenFramework SyntaxKind.swift
[110/151] Compiling SourceKittenFramework SyntaxMap.swift
[110/151] Wrapping AST for FileSmith for debugging
[112/151] Compiling SourceKittenFramework ByteCount.swift
[113/151] Compiling SourceKittenFramework ByteRange.swift
[114/151] Compiling SourceKittenFramework Clang+SourceKitten.swift
[115/151] Compiling SourceKittenFramework ClangTranslationUnit.swift
[116/151] Compiling SourceKittenFramework CodeCompletionItem.swift
[117/151] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[118/151] Compiling SourceKittenFramework Dictionary+Merge.swift
[119/151] Compiling SourceKittenFramework Documentation.swift
[120/151] Compiling SourceKittenFramework Exec.swift
[121/151] Compiling SourceKittenFramework File+Hashable.swift
[122/151] Compiling SourceKittenFramework File.swift
[123/151] Compiling SourceKittenFramework JSONOutput.swift
[124/151] Compiling SourceKittenFramework OffsetMap.swift
[125/151] Compiling SourceKittenFramework Parameter.swift
[126/151] Compiling SourceKittenFramework Request.swift
[127/151] Compiling SourceKittenFramework SourceDeclaration.swift
[128/151] Compiling SourceKittenFramework SourceKitObject.swift
[129/151] Compiling SourceKittenFramework SourceLocation.swift
[130/151] Compiling SourceKittenFramework Language.swift
[131/151] Compiling SourceKittenFramework LibraryWrapperGenerator.swift
[132/151] Compiling SourceKittenFramework Line.swift
[133/151] Compiling SourceKittenFramework LinuxCompatibility.swift
[134/151] Compiling SourceKittenFramework Module.swift
[135/151] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[136/151] Compiling SourceKittenFramework StatementKind.swift
[137/151] Compiling SourceKittenFramework String+SourceKitten.swift
[138/151] Compiling SourceKittenFramework StringView+SourceKitten.swift
[139/151] Compiling SourceKittenFramework StringView.swift
[140/151] Compiling SourceKittenFramework Structure.swift
[141/151] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[142/151] Compiling SourceKittenFramework WindowsError.swift
[143/151] Compiling SourceKittenFramework Xcode.swift
[144/151] Compiling SourceKittenFramework XcodeBuildSetting.swift
[145/151] Compiling SourceKittenFramework library_wrapper.swift
[146/151] Compiling SourceKittenFramework library_wrapper_Clang_C.swift
[147/151] Compiling SourceKittenFramework library_wrapper_SourceKit.swift
[148/152] Wrapping AST for SourceKittenFramework for debugging
[150/160] Compiling LinuxMainGen TestClass.swift
[151/160] 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/160] Compiling LinuxMainGen SourceParser.swift
[153/160] Compiling LinuxMainGen main.swift
[154/160] Compiling LinuxMainGen Structure+Util.swift
[155/160] Compiling LinuxMainGen Structure+Value.swift
[156/160] Compiling LinuxMainGen String+Util.swift
[157/160] Emitting module LinuxMainGen
BUILD FAILURE 6.2 linux