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 Teapot, reference master (7b259e), with Swift 6.0 for Linux on 31 Oct 2024 17:22:39 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/bannzai/teapot.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/bannzai/teapot
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7b259e5 Merge pull request #12 from bannzai/fix/command/mark_of_file
Cloned https://github.com/bannzai/teapot.git
Revision (git rev-parse @):
7b259e520136febf157165dd1f5fb862d27710c9
SUCCESS checkout https://github.com/bannzai/teapot.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/bannzai/teapot.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/bannzai/Ocha.git
Fetching https://github.com/behrang/YamlSwift.git
Fetching https://github.com/kareman/SwiftShell.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Commander.git
[1/775] Fetching ocha
[63/2159] Fetching ocha, yamlswift
[1672/3747] Fetching ocha, yamlswift, commander
[1673/8610] Fetching ocha, yamlswift, commander, swiftshell
[4282/10021] Fetching ocha, yamlswift, commander, swiftshell, pathkit
Fetched https://github.com/kylef/Commander.git from cache (0.24s)
[7218/8433] Fetching ocha, yamlswift, swiftshell, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.25s)
[6828/7022] Fetching ocha, yamlswift, swiftshell
Fetched https://github.com/behrang/YamlSwift.git from cache (0.34s)
Fetched https://github.com/bannzai/Ocha.git from cache (0.34s)
Fetched https://github.com/kareman/SwiftShell.git from cache (0.34s)
Computing version for https://github.com/bannzai/Ocha.git
warning: 'ocha': /Package.swift:37:53: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
35 |
36 |   var targetDependencies: [PackageDescription.Target.Dependency] {
37 |     return exampleDependencies + [targetDependency].flatMap{ $0 }
   |                                                     |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
   |                                                     `- note: use 'compactMap(_:)' instead
38 |   }
39 |
Computed https://github.com/bannzai/Ocha.git at 1.1.0 (0.50s)
Fetching https://github.com/bannzai/Ragnarok.git
[1/854] Fetching ragnarok
Fetched https://github.com/bannzai/Ragnarok.git from cache (0.20s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (1.80s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.18s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 4.1.2 (1.80s)
Computing version for https://github.com/bannzai/Ragnarok.git
Computed https://github.com/bannzai/Ragnarok.git at 1.0.2 (0.43s)
Fetching https://github.com/apple/swift-syntax.git
[1/66388] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.52s)
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/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.1 (0.42s)
Computing version for https://github.com/behrang/YamlSwift.git
Computed https://github.com/behrang/YamlSwift.git at 3.4.4 (0.41s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50700.1 (0.67s)
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/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50700.1
Creating working copy for https://github.com/bannzai/Ragnarok.git
Working copy of https://github.com/bannzai/Ragnarok.git resolved at 1.0.2
Creating working copy for https://github.com/bannzai/Ocha.git
Working copy of https://github.com/bannzai/Ocha.git resolved at 1.1.0
Creating working copy for https://github.com/kareman/SwiftShell.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 4.1.2
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/behrang/YamlSwift.git
Working copy of https://github.com/behrang/YamlSwift.git resolved at 3.4.4
warning: 'ocha': /host/spi-builder-workspace/.build/checkouts/Ocha/Package.swift:37:53: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
35 |
36 |   var targetDependencies: [PackageDescription.Target.Dependency] {
37 |     return exampleDependencies + [targetDependency].flatMap{ $0 }
   |                                                     |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
   |                                                     `- note: use 'compactMap(_:)' instead
38 |   }
39 |
error: 'ragnarok': Source files for target ragnarok should be located under 'Sources/ragnarok', or a custom sources path can be set with the 'path' property in Package.swift
BUILD FAILURE 6.0 linux