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 Flock, reference master (d61e7f), with Swift 6.0 for Linux on 26 Nov 2024 09:54:44 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/jakeheis/flock.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/jakeheis/flock
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d61e7fd Update README
Cloned https://github.com/jakeheis/flock.git
Revision (git rev-parse @):
d61e7fd3ef4f731382fca192976682953784be13
SUCCESS checkout https://github.com/jakeheis/flock.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/jakeheis/flock.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/jakeheis/Shout
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/yonaskolb/Beak
Fetching https://github.com/jakeheis/SwiftCLI
[1/5074] Fetching swiftcli
[306/5808] Fetching swiftcli, shout
[5657/6934] Fetching swiftcli, shout, rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.26s)
Fetched https://github.com/jakeheis/Shout from cache (0.26s)
Fetched https://github.com/jakeheis/SwiftCLI from cache (0.27s)
[1/5126] Fetching beak
Fetched https://github.com/yonaskolb/Beak from cache (6.21s)
Computing version for https://github.com/yonaskolb/Beak
Computed https://github.com/yonaskolb/Beak at 0.5.1 (1.78s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/jpsim/SourceKitten
[1/1021] Fetching spectre
[165/2432] Fetching spectre, pathkit
Fetched https://github.com/kylef/Spectre.git from cache (0.22s)
Fetched https://github.com/kylef/PathKit.git from cache (0.22s)
[1/16016] Fetching sourcekitten
Fetched https://github.com/jpsim/SourceKitten from cache (0.93s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (1.79s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.42s)
Computing version for https://github.com/jakeheis/SwiftCLI
Computed https://github.com/jakeheis/SwiftCLI at 5.3.3 (0.42s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.42s)
Computing version for https://github.com/jakeheis/Shout
Computed https://github.com/jakeheis/Shout at 0.5.7 (0.43s)
Fetching https://github.com/IBM-Swift/BlueSocket
[1/2942] Fetching bluesocket
Fetched https://github.com/IBM-Swift/BlueSocket from cache (0.41s)
Computing version for https://github.com/IBM-Swift/BlueSocket
Computed https://github.com/IBM-Swift/BlueSocket at 1.0.200 (0.41s)
Computing version for https://github.com/jpsim/SourceKitten
Computed https://github.com/jpsim/SourceKitten at 0.36.0 (0.43s)
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/12756] Fetching swxmlhash, yams
[4312/25151] Fetching swxmlhash, yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.62s)
[12756/12756] Fetching swxmlhash, yams
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.83s)
Fetched https://github.com/jpsim/Yams.git from cache (0.86s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.44s)
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/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/jakeheis/Shout
Working copy of https://github.com/jakeheis/Shout resolved at 0.5.7
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/yonaskolb/Beak
Working copy of https://github.com/yonaskolb/Beak resolved at 0.5.1
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/jpsim/SourceKitten
Working copy of https://github.com/jpsim/SourceKitten resolved at 0.36.0
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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Creating working copy for https://github.com/IBM-Swift/BlueSocket
Working copy of https://github.com/IBM-Swift/BlueSocket resolved at 1.0.200
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3
warning: couldn't find pc file for libssh2
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/31] Write sources
[11/31] Compiling Clang_C Clang_C.c
[12/31] Compiling reader.c
[12/31] Write sources
[14/31] Compiling writer.c
[15/31] Compiling parser.c
[16/31] Compiling api.c
[17/31] Compiling SourceKit SourceKit.c
[18/31] Write swift-version-24593BA9C3E375BF.txt
[19/31] Compiling emitter.c
[20/31] Compiling scanner.c
[22/108] Emitting module Rainbow
[23/109] Emitting module Yams
[24/110] Compiling Rainbow XcodeColorsSupport.swift
[25/110] Compiling Yams Constructor.swift
[26/110] Compiling Yams Decoder.swift
[27/110] Compiling Yams Mark.swift
[28/110] Compiling Yams Node.Mapping.swift
[29/110] Compiling Yams Node.Scalar.swift
[30/110] Compiling Yams Node.Sequence.swift
[31/110] Compiling Yams Emitter.swift
[32/110] Compiling Yams Encoder.swift
[33/110] Compiling Rainbow String+Rainbow.swift
[34/110] Compiling Rainbow StringGenerator.swift
[35/110] Compiling Rainbow Style.swift
[38/110] Emitting module SWXMLHash
[45/113] Compiling Yams String+Yams.swift
[46/113] Compiling Yams Tag.swift
[47/113] Compiling Yams Node.swift
[48/113] Compiling Yams Parser.swift
[52/115] Compiling SWXMLHash TextElement.swift
[53/115] Compiling SWXMLHash XMLAttribute.swift
[54/115] Compiling Yams YamlError.swift
[60/115] Compiling Rainbow Rainbow.swift
[63/116] Compiling SwiftCLI ValueBox.swift
[64/116] Compiling SwiftCLI VersionCommand.swift
[65/116] Compiling SWXMLHash XMLHash.swift
[67/116] Compiling Yams Representer.swift
[68/116] Compiling Yams Resolver.swift
[70/116] Compiling SWXMLHash LazyXMLParser.swift
[71/116] Compiling SWXMLHash Stack.swift
[72/116] Compiling SWXMLHash String+Extensions.swift
[75/116] Compiling SWXMLHash IndexOp.swift
[76/116] Emitting module SwiftCLI
[88/118] Wrapping AST for Rainbow for debugging
[95/118] Compiling Socket SocketUtils.swift
[96/118] Compiling SWXMLHash XMLHashOptions.swift
[97/118] Compiling SWXMLHash XMLIndexer.swift
[98/118] Compiling SWXMLHash shim.swift
[98/118] Wrapping AST for SwiftCLI for debugging
[105/119] Wrapping AST for Yams for debugging
[107/119] Wrapping AST for SWXMLHash for debugging
[109/119] Emitting module Socket
[110/119] Compiling Socket SocketProtocols.swift
[111/119] Compiling Socket Socket.swift
[113/163] Emitting module PathKit
[114/163] Compiling PathKit PathKit.swift
[115/175] Wrapping AST for PathKit for debugging
[117/175] Compiling Shout SSH.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
[118/176] Compiling Shout Agent.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
[119/176] Compiling Shout Channel.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
[120/176] Compiling Shout SSHAuthMethod.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
[121/176] Compiling Shout SSHError.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
[124/176] Compiling Shout FileAttributes.swift
[125/176] Compiling Shout FilePermissions.swift
[126/176] Compiling Shout FileType.swift
[127/176] Compiling Shout ReadWrite.swift
[128/182] Compiling Shout Session.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
[129/182] Emitting module SourceKittenFramework
[130/182] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[131/182] Compiling SourceKittenFramework SwiftDocKey.swift
[132/182] Compiling SourceKittenFramework SwiftDocs.swift
[133/182] Compiling SourceKittenFramework SwiftVersion.swift
[134/182] Compiling SourceKittenFramework SyntaxKind.swift
[135/182] Compiling SourceKittenFramework SyntaxMap.swift
[136/182] Compiling SourceKittenFramework Language.swift
[137/182] Compiling SourceKittenFramework LibraryWrapperGenerator.swift
[138/182] Compiling SourceKittenFramework Line.swift
[139/182] Compiling SourceKittenFramework LinuxCompatibility.swift
[140/182] Compiling SourceKittenFramework Module.swift
[141/182] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[142/182] Compiling SourceKittenFramework SyntaxToken.swift
[143/182] Compiling SourceKittenFramework Text.swift
[144/182] Compiling SourceKittenFramework UID.swift
[145/182] Compiling SourceKittenFramework UIDRepresentable.swift
[146/182] Compiling SourceKittenFramework UncheckedSendable.swift
[147/182] Compiling SourceKittenFramework Version.swift
[148/182] Compiling SourceKittenFramework WindowsError.swift
[149/182] Compiling SourceKittenFramework Xcode.swift
[150/182] Compiling SourceKittenFramework XcodeBuildSetting.swift
[151/182] Compiling SourceKittenFramework library_wrapper.swift
[152/182] Compiling SourceKittenFramework library_wrapper_Clang_C.swift
[153/182] Compiling SourceKittenFramework library_wrapper_SourceKit.swift
[154/182] Compiling SourceKittenFramework Dictionary+Merge.swift
[155/182] Compiling SourceKittenFramework Documentation.swift
[156/182] Compiling SourceKittenFramework Exec.swift
[157/182] Compiling SourceKittenFramework File+Hashable.swift
[158/182] Compiling SourceKittenFramework File.swift
[159/182] Compiling SourceKittenFramework JSONOutput.swift
[160/182] Compiling SourceKittenFramework OffsetMap.swift
[161/182] Compiling SourceKittenFramework Parameter.swift
[162/182] Compiling SourceKittenFramework Request.swift
[163/182] Compiling SourceKittenFramework SourceDeclaration.swift
[164/182] Compiling SourceKittenFramework SourceKitObject.swift
[165/182] Compiling SourceKittenFramework SourceLocation.swift
[166/182] Compiling SourceKittenFramework StatementKind.swift
[167/182] Compiling SourceKittenFramework String+SourceKitten.swift
[168/182] Compiling SourceKittenFramework StringView+SourceKitten.swift
[169/182] Compiling SourceKittenFramework StringView.swift
[170/182] Compiling SourceKittenFramework Structure.swift
[171/182] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[172/183] Wrapping AST for SourceKittenFramework for debugging
[174/192] Compiling BeakCore String.swift
[175/193] Compiling BeakCore SourceKit.swift
/host/spi-builder-workspace/.build/checkouts/Beak/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/.build/checkouts/Beak/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 | }
[176/193] Compiling BeakCore FunctionParser.swift
[177/193] Compiling BeakCore PackageManager.swift
[178/193] Compiling BeakCore Function.swift
[179/193] Compiling BeakCore SwiftParser.swift
[180/193] Compiling BeakCore Dependency.swift
[181/193] Emitting module BeakCore
[182/193] Compiling BeakCore BeakError.swift
[183/193] Compiling BeakCore BeakFile.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[184/193] Emitting module Shout
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/Shout/Agent.swift:8:8: error: could not build C module 'CSSH'
 6 | //
 7 |
 8 | import CSSH
   |        `- error: could not build C module 'CSSH'
 9 |
10 | /// Direct bindings to libssh2_agent
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/Shout/Sources/CSSH/shim.h:4:10: error: 'libssh2.h' file not found
2 | #define __CLIBSSH_SHIM_H__
3 |
4 | #include <libssh2.h>
  |          `- error: 'libssh2.h' file not found
5 | #include <libssh2_sftp.h>
6 | #include <libssh2_publickey.h>
BUILD FAILURE 6.0 linux