Build Information
Failed to build LinuxMainGen, reference master (d7751d
), with Swift 6.0 for Linux on 27 Nov 2024 03:09:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.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.0
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" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/kareman/Moderator.git
[1/658] Fetching moderator
[449/16674] Fetching moderator, sourcekitten
Fetched https://github.com/kareman/Moderator.git from cache (1.66s)
Fetching https://github.com/kareman/FileSmith.git
Fetched https://github.com/jpsim/SourceKitten.git from cache (2.06s)
[1/1686] Fetching filesmith
Fetched https://github.com/kareman/FileSmith.git from cache (0.43s)
Computing version for https://github.com/kareman/Moderator.git
Computed https://github.com/kareman/Moderator.git at 0.5.1 (0.90s)
Computing version for https://github.com/kareman/FileSmith.git
Computed https://github.com/kareman/FileSmith.git at 0.3.0 (3.38s)
Fetching https://github.com/kareman/SwiftShell.git
[1/4863] Fetching swiftshell
Fetched https://github.com/kareman/SwiftShell.git from cache (0.58s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 5.1.0 (0.90s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.36.0 (0.85s)
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
[1/2820] Fetching swxmlhash
[2821/12756] Fetching swxmlhash, yams
[2822/25151] Fetching swxmlhash, yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.01s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (2.03s)
Fetched https://github.com/jpsim/Yams.git from cache (2.09s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.91s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (0.90s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.90s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3
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/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.36.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.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/26] Write sources
[8/26] Compiling SourceKit SourceKit.c
[9/26] Compiling Clang_C Clang_C.c
[10/26] Compiling writer.c
[11/26] Compiling reader.c
[12/26] Compiling parser.c
[13/26] Compiling api.c
[14/26] Compiling emitter.c
[15/26] Write swift-version-24593BA9C3E375BF.txt
[15/26] Compiling scanner.c
[18/78] Emitting module SWXMLHash
[19/81] Compiling Moderator SwiftCompat.swift
[20/81] Compiling Moderator Parsers.swift
[21/81] Compiling SwiftShell Lazy-split.swift
[22/82] Compiling SWXMLHash XMLIndexer+XMLDeserialization.swift
[23/82] Compiling SWXMLHash XMLObjectDeserialization.swift
[24/83] Compiling SwiftShell Stream.swift
[25/83] Compiling SWXMLHash XMLContent.swift
[26/83] Compiling SWXMLHash XMLElement.swift
[27/83] Compiling SWXMLHash XMLHash.swift
[28/83] Compiling SwiftShell Context.swift
[29/83] Emitting module Moderator
[30/83] Compiling Moderator Moderator.swift
[31/84] Compiling SwiftShell Files.swift
[32/84] Compiling SwiftShell Process.swift
[33/84] Compiling SwiftShell Array.swift
[35/84] Compiling SWXMLHash IndexOp.swift
[36/84] Compiling SWXMLHash LazyXMLParser.swift
[37/84] Compiling SWXMLHash Stack.swift
[38/84] Compiling SWXMLHash String+Extensions.swift
[39/84] Compiling SWXMLHash TextElement.swift
[40/84] Compiling SWXMLHash XMLAttribute.swift
[41/84] Compiling SWXMLHash XMLValueDeserialization.swift
[42/84] Compiling SWXMLHash Bool+XMLDeserialization.swift
[43/84] Compiling SWXMLHash Double+XMLDeserialization.swift
[44/84] Compiling SWXMLHash Float+XMLDeserialization.swift
[45/84] Compiling SWXMLHash ParsingError.swift
[46/84] Compiling SWXMLHash XMLDeserializationError.swift
[47/84] Compiling SWXMLHash FullXMLParser.swift
[48/84] Compiling SWXMLHash XMLAttributeDeserializable.swift
[49/84] Compiling SWXMLHash XMLElementDeserializable.swift
[52/84] Compiling SWXMLHash Int+XMLDeserialization.swift
[53/84] Compiling SWXMLHash String+XMLDeserialization.swift
[54/84] Compiling SWXMLHash IndexingError.swift
[59/84] Emitting module Yams
[60/84] Compiling Yams YamlError.swift
[61/84] Compiling SWXMLHash XMLHashOptions.swift
[62/84] Compiling SWXMLHash XMLIndexer.swift
[63/84] Compiling SWXMLHash shim.swift
[64/84] Compiling SwiftShell String.swift
[66/85] Wrapping AST for Moderator for debugging
[76/85] Emitting module SwiftShell
[79/87] Wrapping AST for SWXMLHash for debugging
[80/87] Wrapping AST for SwiftShell for debugging
[81/87] Wrapping AST for Yams for debugging
[83/138] Compiling FileSmith SymbolicLinks.swift
[84/138] Compiling FileSmith Attributes.swift
[85/138] Emitting module FileSmith
[86/138] Compiling FileSmith Errors.swift
[87/138] Compiling FileSmith Directory.swift
[88/138] Compiling FileSmith Paths.swift
[89/138] Compiling FileSmith File.swift
[90/138] Compiling FileSmith General.swift
[92/139] Compiling SourceKittenFramework SyntaxToken.swift
[93/139] Compiling SourceKittenFramework Text.swift
[94/139] Compiling SourceKittenFramework UID.swift
[95/139] Compiling SourceKittenFramework UIDRepresentable.swift
[96/139] Compiling SourceKittenFramework UncheckedSendable.swift
[97/139] Compiling SourceKittenFramework Version.swift
[97/145] Wrapping AST for FileSmith for debugging
[99/145] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[100/145] Compiling SourceKittenFramework SwiftDocKey.swift
[101/145] Compiling SourceKittenFramework SwiftDocs.swift
[102/145] Compiling SourceKittenFramework SwiftVersion.swift
[103/145] Compiling SourceKittenFramework SyntaxKind.swift
[104/145] Compiling SourceKittenFramework SyntaxMap.swift
[105/145] Compiling SourceKittenFramework Dictionary+Merge.swift
[106/145] Compiling SourceKittenFramework Documentation.swift
[107/145] Compiling SourceKittenFramework Exec.swift
[108/145] Compiling SourceKittenFramework File+Hashable.swift
[109/145] Compiling SourceKittenFramework File.swift
[110/145] Compiling SourceKittenFramework JSONOutput.swift
[111/145] Compiling SourceKittenFramework WindowsError.swift
[112/145] Compiling SourceKittenFramework Xcode.swift
[113/145] Compiling SourceKittenFramework XcodeBuildSetting.swift
[114/145] Compiling SourceKittenFramework library_wrapper.swift
[115/145] Compiling SourceKittenFramework library_wrapper_Clang_C.swift
[116/145] Compiling SourceKittenFramework library_wrapper_SourceKit.swift
[117/145] Compiling SourceKittenFramework ByteCount.swift
[118/145] Compiling SourceKittenFramework ByteRange.swift
[119/145] Compiling SourceKittenFramework Clang+SourceKitten.swift
[120/145] Compiling SourceKittenFramework ClangTranslationUnit.swift
[121/145] Compiling SourceKittenFramework CodeCompletionItem.swift
[122/145] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[123/145] Emitting module SourceKittenFramework
[124/145] Compiling SourceKittenFramework OffsetMap.swift
[125/145] Compiling SourceKittenFramework Parameter.swift
[126/145] Compiling SourceKittenFramework Request.swift
[127/145] Compiling SourceKittenFramework SourceDeclaration.swift
[128/145] Compiling SourceKittenFramework SourceKitObject.swift
[129/145] Compiling SourceKittenFramework SourceLocation.swift
[130/145] Compiling SourceKittenFramework Language.swift
[131/145] Compiling SourceKittenFramework LibraryWrapperGenerator.swift
[132/145] Compiling SourceKittenFramework Line.swift
[133/145] Compiling SourceKittenFramework LinuxCompatibility.swift
[134/145] Compiling SourceKittenFramework Module.swift
[135/145] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[136/145] Compiling SourceKittenFramework StatementKind.swift
[137/145] Compiling SourceKittenFramework String+SourceKitten.swift
[138/145] Compiling SourceKittenFramework StringView+SourceKitten.swift
[139/145] Compiling SourceKittenFramework StringView.swift
[140/145] Compiling SourceKittenFramework Structure.swift
[141/145] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[142/146] Wrapping AST for SourceKittenFramework for debugging
[144/154] 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)
[145/154] Compiling LinuxMainGen SourceParser.swift
[146/154] Compiling LinuxMainGen Structure+Value.swift
[147/154] Compiling LinuxMainGen main.swift
/host/spi-builder-workspace/Sources/LinuxMainGen/main.swift:38:18: warning: reference to class property 'stderror' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | } catch {
38 | WritableFile.stderror.print(error)
| `- warning: reference to class property 'stderror' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 | WritableFile.stderror.print()
40 | WritableFile.stderror.print(arguments.usagetext)
/host/spi-builder-workspace/.build/checkouts/FileSmith/Sources/FileSmith/File.swift:215:20: note: class property declared here
213 |
214 | /// A WritableStream which writes to standard error.
215 | static public var stderror: WritableStream = {
| `- note: class property declared here
216 | WritableFile(path: "/dev/stderr", filehandle: FileHandle.standardError)
217 | }()
/host/spi-builder-workspace/Sources/LinuxMainGen/main.swift:39:18: warning: reference to class property 'stderror' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
37 | } catch {
38 | WritableFile.stderror.print(error)
39 | WritableFile.stderror.print()
| `- warning: reference to class property 'stderror' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
40 | WritableFile.stderror.print(arguments.usagetext)
41 | exit(Int32(error._code))
/host/spi-builder-workspace/.build/checkouts/FileSmith/Sources/FileSmith/File.swift:215:20: note: class property declared here
213 |
214 | /// A WritableStream which writes to standard error.
215 | static public var stderror: WritableStream = {
| `- note: class property declared here
216 | WritableFile(path: "/dev/stderr", filehandle: FileHandle.standardError)
217 | }()
/host/spi-builder-workspace/Sources/LinuxMainGen/main.swift:40:18: warning: reference to class property 'stderror' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
38 | WritableFile.stderror.print(error)
39 | WritableFile.stderror.print()
40 | WritableFile.stderror.print(arguments.usagetext)
| `- warning: reference to class property 'stderror' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
41 | exit(Int32(error._code))
42 | }
/host/spi-builder-workspace/.build/checkouts/FileSmith/Sources/FileSmith/File.swift:215:20: note: class property declared here
213 |
214 | /// A WritableStream which writes to standard error.
215 | static public var stderror: WritableStream = {
| `- note: class property declared here
216 | WritableFile(path: "/dev/stderr", filehandle: FileHandle.standardError)
217 | }()
[148/154] Compiling LinuxMainGen TestClass.swift
[149/154] Compiling LinuxMainGen String+Util.swift
[150/154] Compiling LinuxMainGen Structure+Util.swift
[151/154] Emitting module LinuxMainGen
/host/spi-builder-workspace/Sources/LinuxMainGen/main.swift:38:18: warning: reference to class property 'stderror' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | } catch {
38 | WritableFile.stderror.print(error)
| `- warning: reference to class property 'stderror' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 | WritableFile.stderror.print()
40 | WritableFile.stderror.print(arguments.usagetext)
/host/spi-builder-workspace/.build/checkouts/FileSmith/Sources/FileSmith/File.swift:215:20: note: class property declared here
213 |
214 | /// A WritableStream which writes to standard error.
215 | static public var stderror: WritableStream = {
| `- note: class property declared here
216 | WritableFile(path: "/dev/stderr", filehandle: FileHandle.standardError)
217 | }()
/host/spi-builder-workspace/Sources/LinuxMainGen/main.swift:39:18: warning: reference to class property 'stderror' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
37 | } catch {
38 | WritableFile.stderror.print(error)
39 | WritableFile.stderror.print()
| `- warning: reference to class property 'stderror' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
40 | WritableFile.stderror.print(arguments.usagetext)
41 | exit(Int32(error._code))
/host/spi-builder-workspace/.build/checkouts/FileSmith/Sources/FileSmith/File.swift:215:20: note: class property declared here
213 |
214 | /// A WritableStream which writes to standard error.
215 | static public var stderror: WritableStream = {
| `- note: class property declared here
216 | WritableFile(path: "/dev/stderr", filehandle: FileHandle.standardError)
217 | }()
/host/spi-builder-workspace/Sources/LinuxMainGen/main.swift:40:18: warning: reference to class property 'stderror' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
38 | WritableFile.stderror.print(error)
39 | WritableFile.stderror.print()
40 | WritableFile.stderror.print(arguments.usagetext)
| `- warning: reference to class property 'stderror' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
41 | exit(Int32(error._code))
42 | }
/host/spi-builder-workspace/.build/checkouts/FileSmith/Sources/FileSmith/File.swift:215:20: note: class property declared here
213 |
214 | /// A WritableStream which writes to standard error.
215 | static public var stderror: WritableStream = {
| `- note: class property declared here
216 | WritableFile(path: "/dev/stderr", filehandle: FileHandle.standardError)
217 | }()
BUILD FAILURE 6.0 linux