The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Beak, reference master (c3af65), with Swift 6.0 for Linux on 31 Oct 2024 11:38:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yonaskolb/Beak.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/yonaskolb/Beak
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c3af652 Update README.md (#48)
Cloned https://github.com/yonaskolb/Beak.git
Revision (git rev-parse @):
c3af652abe63902f2f68296ce1e10757c9e59c13
SUCCESS checkout https://github.com/yonaskolb/Beak.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/yonaskolb/Beak.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 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/kylef/Spectre.git
Fetching https://github.com/jpsim/SourceKitten
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/jakeheis/SwiftCLI
[1/1411] Fetching pathkit
[1412/2432] Fetching pathkit, spectre
[1698/7506] Fetching pathkit, spectre, swiftcli
Fetched https://github.com/kylef/PathKit.git from cache (0.23s)
[4675/6095] Fetching spectre, swiftcli
Fetched https://github.com/kylef/Spectre.git from cache (0.23s)
[4212/5074] Fetching swiftcli
[5075/21090] Fetching swiftcli, sourcekitten
Fetched https://github.com/jakeheis/SwiftCLI from cache (0.98s)
Fetched https://github.com/jpsim/SourceKitten from cache (1.00s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (1.82s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.48s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 5.3.3 (1.89s)
Computing version for https://github.com/jpsim/SourceKitten
Computed https://github.com/jpsim/SourceKitten at 0.36.0 (0.53s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
[2821/12722] Fetching swxmlhash, yams
[5792/25043] Fetching swxmlhash, yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.80s)
[12623/12722] Fetching swxmlhash, yams
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.12s)
Fetched https://github.com/jpsim/Yams.git from cache (1.15s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.42s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (0.43s)
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.40s)
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
Working copy of https://github.com/jpsim/SourceKitten resolved at 0.36.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
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/jakeheis/SwiftCLI
Working copy of https://github.com/jakeheis/SwiftCLI resolved at 5.3.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.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/28] Write sources
[6/28] Compiling Clang_C Clang_C.c
[7/28] Compiling writer.c
[7/28] Write sources
[11/28] Compiling reader.c
[12/28] Compiling parser.c
[13/28] Compiling api.c
[14/28] Compiling emitter.c
[15/28] Compiling scanner.c
[16/28] Compiling SourceKit SourceKit.c
[17/28] Write swift-version-24593BA9C3E375BF.txt
[19/90] Emitting module Yams
[20/91] Compiling SWXMLHash XMLAttributeDeserializable.swift
[21/91] Compiling SWXMLHash XMLElementDeserializable.swift
[22/91] Compiling SWXMLHash XMLValueDeserialization.swift
[23/91] Compiling SWXMLHash Bool+XMLDeserialization.swift
[24/91] Compiling SWXMLHash Double+XMLDeserialization.swift
[25/91] Compiling SWXMLHash Float+XMLDeserialization.swift
[26/94] Compiling SWXMLHash IndexingError.swift
[27/94] Compiling SWXMLHash ParsingError.swift
[28/94] Compiling PathKit PathKit.swift
[29/94] Emitting module PathKit
[30/94] Compiling SWXMLHash IndexOp.swift
[31/94] Compiling SWXMLHash LazyXMLParser.swift
[32/94] Compiling SWXMLHash Stack.swift
[34/94] Compiling SWXMLHash XMLDeserializationError.swift
[35/94] Compiling SWXMLHash FullXMLParser.swift
[38/94] Compiling SWXMLHash XMLIndexer+XMLDeserialization.swift
[39/94] Emitting module SwiftCLI
[40/94] Compiling SWXMLHash XMLObjectDeserialization.swift
[46/97] Compiling SWXMLHash XMLContent.swift
[50/97] Compiling SWXMLHash String+XMLDeserialization.swift
[55/97] Compiling SWXMLHash Int+XMLDeserialization.swift
[56/97] Compiling SWXMLHash XMLElement.swift
[57/97] Compiling SWXMLHash XMLHash.swift
[62/97] Emitting module SWXMLHash
[67/97] Compiling SwiftCLI ValueBox.swift
[68/97] Compiling SwiftCLI VersionCommand.swift
[69/97] Compiling SWXMLHash XMLAttribute.swift
[73/97] Compiling Yams YamlError.swift
[79/97] Compiling SWXMLHash XMLHashOptions.swift
[80/97] Compiling SWXMLHash XMLIndexer.swift
[81/97] Compiling SWXMLHash shim.swift
[90/100] Wrapping AST for PathKit for debugging
[91/100] Wrapping AST for SWXMLHash for debugging
[92/100] Wrapping AST for SwiftCLI for debugging
[93/100] Wrapping AST for Yams for debugging
[95/143] Compiling SourceKittenFramework ByteCount.swift
[96/143] Compiling SourceKittenFramework ByteRange.swift
[97/143] Compiling SourceKittenFramework Clang+SourceKitten.swift
[98/143] Compiling SourceKittenFramework ClangTranslationUnit.swift
[99/143] Compiling SourceKittenFramework CodeCompletionItem.swift
[100/143] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[101/149] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[102/149] Compiling SourceKittenFramework SwiftDocKey.swift
[103/149] Compiling SourceKittenFramework SwiftDocs.swift
[104/149] Compiling SourceKittenFramework SwiftVersion.swift
[105/149] Compiling SourceKittenFramework SyntaxKind.swift
[106/149] Compiling SourceKittenFramework SyntaxMap.swift
[107/149] Compiling SourceKittenFramework Language.swift
[108/149] Compiling SourceKittenFramework LibraryWrapperGenerator.swift
[109/149] Compiling SourceKittenFramework Line.swift
[110/149] Compiling SourceKittenFramework LinuxCompatibility.swift
[111/149] Compiling SourceKittenFramework Module.swift
[112/149] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[113/149] Compiling SourceKittenFramework SyntaxToken.swift
[114/149] Compiling SourceKittenFramework Text.swift
[115/149] Compiling SourceKittenFramework UID.swift
[116/149] Compiling SourceKittenFramework UIDRepresentable.swift
[117/149] Compiling SourceKittenFramework UncheckedSendable.swift
[118/149] Compiling SourceKittenFramework Version.swift
[119/149] Emitting module SourceKittenFramework
[120/149] Compiling SourceKittenFramework OffsetMap.swift
[121/149] Compiling SourceKittenFramework Parameter.swift
[122/149] Compiling SourceKittenFramework Request.swift
[123/149] Compiling SourceKittenFramework SourceDeclaration.swift
[124/149] Compiling SourceKittenFramework SourceKitObject.swift
[125/149] Compiling SourceKittenFramework SourceLocation.swift
[126/149] Compiling SourceKittenFramework Dictionary+Merge.swift
[127/149] Compiling SourceKittenFramework Documentation.swift
[128/149] Compiling SourceKittenFramework Exec.swift
[129/149] Compiling SourceKittenFramework File+Hashable.swift
[130/149] Compiling SourceKittenFramework File.swift
[131/149] Compiling SourceKittenFramework JSONOutput.swift
[132/149] Compiling SourceKittenFramework StatementKind.swift
[133/149] Compiling SourceKittenFramework String+SourceKitten.swift
[134/149] Compiling SourceKittenFramework StringView+SourceKitten.swift
[135/149] Compiling SourceKittenFramework StringView.swift
[136/149] Compiling SourceKittenFramework Structure.swift
[137/149] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[138/149] Compiling SourceKittenFramework WindowsError.swift
[139/149] Compiling SourceKittenFramework Xcode.swift
[140/149] Compiling SourceKittenFramework XcodeBuildSetting.swift
[141/149] Compiling SourceKittenFramework library_wrapper.swift
[142/149] Compiling SourceKittenFramework library_wrapper_Clang_C.swift
[143/149] Compiling SourceKittenFramework library_wrapper_SourceKit.swift
[144/150] Wrapping AST for SourceKittenFramework for debugging
[146/159] Compiling BeakCore String.swift
[147/160] Compiling BeakCore SourceKit.swift
/host/spi-builder-workspace/Sources/BeakCore/SourceKit.swift:86:72: error: reference to member 'substringWithByteRange' cannot be resolved without a contextual type
84 |
85 |     func extract(from source: [String: SourceKitRepresentable], contents: String) -> String? {
86 |         let substring = range(for: source).flatMap { contents.bridge().substringWithByteRange(start: Int($0.offset), length: Int($0.length)) }
   |                                                                        `- error: reference to member 'substringWithByteRange' cannot be resolved without a contextual type
87 |         return substring?.isEmpty == true ? nil : substring?.trimmingCharacters(in: .whitespacesAndNewlines)
88 |     }
/host/spi-builder-workspace/Sources/BeakCore/SourceKit.swift:87:86: error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
85 |     func extract(from source: [String: SourceKitRepresentable], contents: String) -> String? {
86 |         let substring = range(for: source).flatMap { contents.bridge().substringWithByteRange(start: Int($0.offset), length: Int($0.length)) }
87 |         return substring?.isEmpty == true ? nil : substring?.trimmingCharacters(in: .whitespacesAndNewlines)
   |                                                                                      `- error: cannot infer contextual base in reference to member 'whitespacesAndNewlines'
88 |     }
89 | }
[148/160] Compiling BeakCore PackageManager.swift
[149/160] Compiling BeakCore FunctionParser.swift
[150/160] Compiling BeakCore Function.swift
[151/160] Compiling BeakCore SwiftParser.swift
[152/160] Compiling BeakCore Dependency.swift
[153/160] Compiling BeakCore BeakError.swift
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:7:10: warning: associated value 'missingRequiredParam' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
 5 |     case compileError(String)
 6 |     case invalidFunction(String)
 7 |     case missingRequiredParam(Function.Param)
   |          `- warning: associated value 'missingRequiredParam' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
 8 |     case parsingError(SwiftStructure)
 9 |     case conversionError(Function.Param, String)
/host/spi-builder-workspace/Sources/BeakCore/Function.swift:24:19: note: consider making struct 'Param' conform to the 'Sendable' protocol
22 |     }
23 |
24 |     public struct Param: Equatable {
   |                   `- note: consider making struct 'Param' conform to the 'Sendable' protocol
25 |         public let name: String
26 |         public let type: ParamType
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:8:10: warning: associated value 'parsingError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'any SourceKitRepresentable'; this is an error in the Swift 6 language mode
 6 |     case invalidFunction(String)
 7 |     case missingRequiredParam(Function.Param)
 8 |     case parsingError(SwiftStructure)
   |          `- warning: associated value 'parsingError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'any SourceKitRepresentable'; this is an error in the Swift 6 language mode
 9 |     case conversionError(Function.Param, String)
10 |
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/Request.swift:10:17: note: protocol 'SourceKitRepresentable' does not conform to the 'Sendable' protocol
  8 | // This file could easily be split up
  9 |
 10 | public protocol SourceKitRepresentable {
    |                 `- note: protocol 'SourceKitRepresentable' does not conform to the 'Sendable' protocol
 11 |     func isEqualTo(_ rhs: SourceKitRepresentable) -> Bool
 12 | }
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
 1 | import SourceKittenFramework
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
 2 |
 3 | public enum BeakError: Error, CustomStringConvertible {
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:9:10: warning: associated value 'conversionError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
 7 |     case missingRequiredParam(Function.Param)
 8 |     case parsingError(SwiftStructure)
 9 |     case conversionError(Function.Param, String)
   |          `- warning: associated value 'conversionError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
10 |
11 |     public var description: String {
/host/spi-builder-workspace/Sources/BeakCore/Function.swift:24:19: note: consider making struct 'Param' conform to the 'Sendable' protocol
22 |     }
23 |
24 |     public struct Param: Equatable {
   |                   `- note: consider making struct 'Param' conform to the 'Sendable' protocol
25 |         public let name: String
26 |         public let type: ParamType
[154/160] Compiling BeakCore BeakFile.swift
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:7:10: warning: associated value 'missingRequiredParam' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
 5 |     case compileError(String)
 6 |     case invalidFunction(String)
 7 |     case missingRequiredParam(Function.Param)
   |          `- warning: associated value 'missingRequiredParam' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
 8 |     case parsingError(SwiftStructure)
 9 |     case conversionError(Function.Param, String)
/host/spi-builder-workspace/Sources/BeakCore/Function.swift:24:19: note: consider making struct 'Param' conform to the 'Sendable' protocol
22 |     }
23 |
24 |     public struct Param: Equatable {
   |                   `- note: consider making struct 'Param' conform to the 'Sendable' protocol
25 |         public let name: String
26 |         public let type: ParamType
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:8:10: warning: associated value 'parsingError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'any SourceKitRepresentable'; this is an error in the Swift 6 language mode
 6 |     case invalidFunction(String)
 7 |     case missingRequiredParam(Function.Param)
 8 |     case parsingError(SwiftStructure)
   |          `- warning: associated value 'parsingError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'any SourceKitRepresentable'; this is an error in the Swift 6 language mode
 9 |     case conversionError(Function.Param, String)
10 |
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/Request.swift:10:17: note: protocol 'SourceKitRepresentable' does not conform to the 'Sendable' protocol
  8 | // This file could easily be split up
  9 |
 10 | public protocol SourceKitRepresentable {
    |                 `- note: protocol 'SourceKitRepresentable' does not conform to the 'Sendable' protocol
 11 |     func isEqualTo(_ rhs: SourceKitRepresentable) -> Bool
 12 | }
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
 1 | import SourceKittenFramework
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
 2 |
 3 | public enum BeakError: Error, CustomStringConvertible {
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:9:10: warning: associated value 'conversionError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
 7 |     case missingRequiredParam(Function.Param)
 8 |     case parsingError(SwiftStructure)
 9 |     case conversionError(Function.Param, String)
   |          `- warning: associated value 'conversionError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
10 |
11 |     public var description: String {
/host/spi-builder-workspace/Sources/BeakCore/Function.swift:24:19: note: consider making struct 'Param' conform to the 'Sendable' protocol
22 |     }
23 |
24 |     public struct Param: Equatable {
   |                   `- note: consider making struct 'Param' conform to the 'Sendable' protocol
25 |         public let name: String
26 |         public let type: ParamType
[155/160] Emitting module BeakCore
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:7:10: warning: associated value 'missingRequiredParam' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
 5 |     case compileError(String)
 6 |     case invalidFunction(String)
 7 |     case missingRequiredParam(Function.Param)
   |          `- warning: associated value 'missingRequiredParam' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
 8 |     case parsingError(SwiftStructure)
 9 |     case conversionError(Function.Param, String)
/host/spi-builder-workspace/Sources/BeakCore/Function.swift:24:19: note: consider making struct 'Param' conform to the 'Sendable' protocol
22 |     }
23 |
24 |     public struct Param: Equatable {
   |                   `- note: consider making struct 'Param' conform to the 'Sendable' protocol
25 |         public let name: String
26 |         public let type: ParamType
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:8:10: warning: associated value 'parsingError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'any SourceKitRepresentable'; this is an error in the Swift 6 language mode
 6 |     case invalidFunction(String)
 7 |     case missingRequiredParam(Function.Param)
 8 |     case parsingError(SwiftStructure)
   |          `- warning: associated value 'parsingError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'any SourceKitRepresentable'; this is an error in the Swift 6 language mode
 9 |     case conversionError(Function.Param, String)
10 |
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/Request.swift:10:17: note: protocol 'SourceKitRepresentable' does not conform to the 'Sendable' protocol
  8 | // This file could easily be split up
  9 |
 10 | public protocol SourceKitRepresentable {
    |                 `- note: protocol 'SourceKitRepresentable' does not conform to the 'Sendable' protocol
 11 |     func isEqualTo(_ rhs: SourceKitRepresentable) -> Bool
 12 | }
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
 1 | import SourceKittenFramework
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SourceKittenFramework'
 2 |
 3 | public enum BeakError: Error, CustomStringConvertible {
/host/spi-builder-workspace/Sources/BeakCore/BeakError.swift:9:10: warning: associated value 'conversionError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
 7 |     case missingRequiredParam(Function.Param)
 8 |     case parsingError(SwiftStructure)
 9 |     case conversionError(Function.Param, String)
   |          `- warning: associated value 'conversionError' of 'Sendable'-conforming enum 'BeakError' has non-sendable type 'Function.Param'; this is an error in the Swift 6 language mode
10 |
11 |     public var description: String {
/host/spi-builder-workspace/Sources/BeakCore/Function.swift:24:19: note: consider making struct 'Param' conform to the 'Sendable' protocol
22 |     }
23 |
24 |     public struct Param: Equatable {
   |                   `- note: consider making struct 'Param' conform to the 'Sendable' protocol
25 |         public let name: String
26 |         public let type: ParamType
BUILD FAILURE 6.0 linux