This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 Ocha with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.38.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bannzai/ocha.git
Reference: 1.1.0
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/ocha
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 50ef2f5 Merge pull request #14 from bannzai/migrate/swift5
Cloned https://github.com/bannzai/ocha.git
Revision (git rev-parse @):
50ef2f5e3db5b1543d8d826daccb91cab02573c5
SUCCESS checkout https://github.com/bannzai/ocha.git at 1.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/bannzai/ocha.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:37:53: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    return exampleDependencies + [targetDependency].flatMap{ $0 }
                                                    ^
/host/spi-builder-workspace/Package.swift:37:53: note: use 'compactMap(_:)' instead
    return exampleDependencies + [targetDependency].flatMap{ $0 }
                                                    ^~~~~~~
                                                    compactMap
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:37:53: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    return exampleDependencies + [targetDependency].flatMap{ $0 }
                                                    ^
/host/spi-builder-workspace/Package.swift:37:53: note: use 'compactMap(_:)' instead
    return exampleDependencies + [targetDependency].flatMap{ $0 }
                                                    ^~~~~~~
                                                    compactMap
Fetching https://github.com/bannzai/Ragnarok.git
Fetching https://github.com/kareman/SwiftShell.git
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
[1022/1875] Fetching spectre, ragnarok
[1031/6738] Fetching spectre, ragnarok, swiftshell
Fetching https://github.com/kylef/PathKit.git
Fetched https://github.com/bannzai/Ragnarok.git (0.38s)
Fetched https://github.com/kylef/Spectre.git (0.38s)
Fetching https://github.com/apple/swift-syntax.git
Fetched https://github.com/kareman/SwiftShell.git (0.38s)
[1/1404] Fetching pathkit
Fetched https://github.com/kylef/PathKit.git (0.23s)
Computing version for https://github.com/bannzai/Ragnarok.git
[1/60591] Fetching swift-syntax
Computed https://github.com/bannzai/Ragnarok.git at 1.0.2 (1.36s)
Fetched https://github.com/apple/swift-syntax.git (5.90s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (0.38s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 4.1.2 (1.57s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.40200.0 (0.43s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.65s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.40200.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/bannzai/Ragnarok.git
Working copy of https://github.com/bannzai/Ragnarok.git resolved at 1.0.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
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 5.8 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.