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 0.5.1 (4a8cf5), with Swift 6.0 for Linux on 31 Oct 2024 11:38:12 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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yonaskolb/Beak.git
Reference: 0.5.1
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
 * tag               0.5.1      -> FETCH_HEAD
HEAD is now at 4a8cf57 Updated to 0.5.1
Cloned https://github.com/yonaskolb/Beak.git
Revision (git rev-parse @):
4a8cf570e9aa30e803e98b9c5a68ba4716a6719d
SUCCESS checkout https://github.com/yonaskolb/Beak.git at 0.5.1
========================================
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-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 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/PathKit.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/jpsim/SourceKitten
Fetching https://github.com/jakeheis/SwiftCLI
[1/5074] Fetching swiftcli
[357/6485] Fetching swiftcli, pathkit
[3747/7506] Fetching swiftcli, pathkit, spectre
[7507/23522] Fetching swiftcli, pathkit, spectre, sourcekitten
Fetched https://github.com/kylef/PathKit.git from cache (0.28s)
Fetched https://github.com/jakeheis/SwiftCLI from cache (0.29s)
[3584/17037] Fetching spectre, sourcekitten
Fetched https://github.com/kylef/Spectre.git from cache (0.89s)
Fetched https://github.com/jpsim/SourceKitten from cache (0.91s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (1.86s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.44s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 5.3.3 (1.81s)
Computing version for https://github.com/jpsim/SourceKitten
Computed https://github.com/jpsim/SourceKitten at 0.36.0 (0.44s)
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/2820] Fetching swxmlhash
[2821/12722] Fetching swxmlhash, yams
[4010/25043] Fetching swxmlhash, yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.67s)
[12623/12722] Fetching swxmlhash, yams
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.97s)
Fetched https://github.com/jpsim/Yams.git from cache (1.00s)
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.44s)
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/jpsim/SourceKitten
Working copy of https://github.com/jpsim/SourceKitten resolved at 0.36.0
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/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
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
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/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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/28] Write sources
[6/28] Compiling Clang_C Clang_C.c
[7/28] Compiling reader.c
[8/28] Write sources
[11/28] Compiling writer.c
[12/28] Compiling parser.c
[13/28] Compiling api.c
[14/28] Compiling emitter.c
[15/28] Compiling SourceKit SourceKit.c
[16/28] Write swift-version-24593BA9C3E375BF.txt
[17/28] Compiling scanner.c
[19/90] Emitting module SWXMLHash
[20/93] Emitting module PathKit
[21/93] Compiling Yams Mark.swift
[22/93] Compiling Yams Node.Mapping.swift
[23/94] Compiling Yams String+Yams.swift
[24/94] Compiling Yams Tag.swift
[27/94] Compiling Yams Node.Scalar.swift
[28/94] Compiling Yams YamlError.swift
[30/94] Compiling Yams Node.Sequence.swift
[31/94] Compiling SWXMLHash XMLHashOptions.swift
[32/94] Compiling SWXMLHash XMLIndexer.swift
[33/94] Compiling SWXMLHash shim.swift
[34/94] Compiling SWXMLHash TextElement.swift
[35/94] Compiling SWXMLHash XMLAttribute.swift
[36/94] Compiling Yams Constructor.swift
[37/94] Compiling Yams Decoder.swift
[38/94] Compiling Yams Emitter.swift
[39/94] Compiling Yams Encoder.swift
[42/96] Compiling Yams Node.swift
[49/96] Emitting module SwiftCLI
[50/96] Compiling Yams Parser.swift
[53/96] Compiling Yams Representer.swift
[54/96] Compiling Yams Resolver.swift
[55/96] Compiling SWXMLHash IndexOp.swift
[56/96] Compiling SWXMLHash LazyXMLParser.swift
[57/96] Compiling SWXMLHash Stack.swift
[58/96] Compiling SWXMLHash String+Extensions.swift
[61/96] Emitting module Yams
[67/96] Compiling SwiftCLI ValueBox.swift
[68/96] Compiling SwiftCLI VersionCommand.swift
[69/96] Compiling SWXMLHash XMLHash.swift
[73/96] Compiling PathKit PathKit.swift
[89/100] Wrapping AST for SWXMLHash for debugging
[91/100] Wrapping AST for PathKit for debugging
[92/100] Wrapping AST for SwiftCLI for debugging
[93/100] Wrapping AST for Yams for debugging
[95/143] Emitting module SourceKittenFramework
[96/149] Compiling SourceKittenFramework OffsetMap.swift
[97/149] Compiling SourceKittenFramework Parameter.swift
[98/149] Compiling SourceKittenFramework Request.swift
[99/149] Compiling SourceKittenFramework SourceDeclaration.swift
[100/149] Compiling SourceKittenFramework SourceKitObject.swift
[101/149] Compiling SourceKittenFramework SourceLocation.swift
[102/149] Compiling SourceKittenFramework ByteCount.swift
[103/149] Compiling SourceKittenFramework ByteRange.swift
[104/149] Compiling SourceKittenFramework Clang+SourceKitten.swift
[105/149] Compiling SourceKittenFramework ClangTranslationUnit.swift
[106/149] Compiling SourceKittenFramework CodeCompletionItem.swift
[107/149] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[108/149] Compiling SourceKittenFramework Dictionary+Merge.swift
[109/149] Compiling SourceKittenFramework Documentation.swift
[110/149] Compiling SourceKittenFramework Exec.swift
[111/149] Compiling SourceKittenFramework File+Hashable.swift
[112/149] Compiling SourceKittenFramework File.swift
[113/149] Compiling SourceKittenFramework JSONOutput.swift
[114/149] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[115/149] Compiling SourceKittenFramework SwiftDocKey.swift
[116/149] Compiling SourceKittenFramework SwiftDocs.swift
[117/149] Compiling SourceKittenFramework SwiftVersion.swift
[118/149] Compiling SourceKittenFramework SyntaxKind.swift
[119/149] Compiling SourceKittenFramework SyntaxMap.swift
[120/149] Compiling SourceKittenFramework SyntaxToken.swift
[121/149] Compiling SourceKittenFramework Text.swift
[122/149] Compiling SourceKittenFramework UID.swift
[123/149] Compiling SourceKittenFramework UIDRepresentable.swift
[124/149] Compiling SourceKittenFramework UncheckedSendable.swift
[125/149] Compiling SourceKittenFramework Version.swift
[126/149] Compiling SourceKittenFramework StatementKind.swift
[127/149] Compiling SourceKittenFramework String+SourceKitten.swift
[128/149] Compiling SourceKittenFramework StringView+SourceKitten.swift
[129/149] Compiling SourceKittenFramework StringView.swift
[130/149] Compiling SourceKittenFramework Structure.swift
[131/149] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[132/149] Compiling SourceKittenFramework Language.swift
[133/149] Compiling SourceKittenFramework LibraryWrapperGenerator.swift
[134/149] Compiling SourceKittenFramework Line.swift
[135/149] Compiling SourceKittenFramework LinuxCompatibility.swift
[136/149] Compiling SourceKittenFramework Module.swift
[137/149] Compiling SourceKittenFramework ObjCDeclarationKind.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/159] Compiling BeakCore PackageManager.swift
[148/159] Compiling BeakCore FunctionParser.swift
[149/159] 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 | }
[150/160] Compiling BeakCore Function.swift
[151/160] Compiling BeakCore Dependency.swift
[152/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
[153/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
[154/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
[155/160] Compiling BeakCore SwiftParser.swift
BUILD FAILURE 6.0 linux