The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Teapot with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bannzai/teapot.git
Reference: master
Cloned https://github.com/bannzai/teapot.git into spi-builder-workspace
SUCCESS checkout https://github.com/bannzai/teapot.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/behrang/YamlSwift.git
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/bannzai/Ocha.git
[1/1384] Fetching yamlswift
[624/2159] Fetching yamlswift, ocha
[949/3747] Fetching yamlswift, ocha, commander
Fetching https://github.com/kareman/SwiftShell.git
Fetched https://github.com/behrang/YamlSwift.git (0.29s)
Fetched https://github.com/kylef/Commander.git (0.29s)
Fetching https://github.com/kylef/Spectre.git
Fetched https://github.com/bannzai/Ocha.git (0.35s)
Fetching https://github.com/kylef/PathKit.git
[1/1021] Fetching spectre
[1022/5884] Fetching spectre, swiftshell
Fetched https://github.com/kylef/Spectre.git (0.23s)
Fetching https://github.com/bannzai/Ragnarok.git
[973/4863] Fetching swiftshell
[1023/6268] Fetching swiftshell, pathkit
Fetched https://github.com/kylef/PathKit.git (0.26s)
Fetching https://github.com/apple/swift-syntax.git
[1800/4863] Fetching swiftshell
[4864/5717] Fetching swiftshell, ragnarok
Fetched https://github.com/bannzai/Ragnarok.git (0.21s)
Fetched https://github.com/kareman/SwiftShell.git (0.47s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.8.0 (1.68s)
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
    return exampleDependencies + [targetDependency].flatMap{ $0 }
                                                    ^
/Package.swift:37:53: note: use 'compactMap(_:)' instead
    return exampleDependencies + [targetDependency].flatMap{ $0 }
                                                    ^~~~~~~
                                                    compactMap
Computed https://github.com/bannzai/Ocha.git at 1.1.0 (0.45s)
Computing version for https://github.com/behrang/YamlSwift.git
[1/41001] Fetching swift-syntax
Computed https://github.com/behrang/YamlSwift.git at 3.4.4 (0.32s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (1.29s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 4.1.2 (0.34s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.40s)
Computing version for https://github.com/bannzai/Ragnarok.git
Computed https://github.com/bannzai/Ragnarok.git at 1.0.2 (0.39s)
Fetched https://github.com/apple/swift-syntax.git (5.62s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50000.0 (0.39s)
warning: 'ocha': /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 }
                                                    ^
/Package.swift:37:53: note: use 'compactMap(_:)' instead
    return exampleDependencies + [targetDependency].flatMap{ $0 }
                                                    ^~~~~~~
                                                    compactMap
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.8.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/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.50000.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/bannzai/Ocha.git
Working copy of https://github.com/bannzai/Ocha.git resolved at 1.1.0
Creating working copy for https://github.com/behrang/YamlSwift.git
Working copy of https://github.com/behrang/YamlSwift.git resolved at 3.4.4
Creating working copy for https://github.com/bannzai/Ragnarok.git
Working copy of https://github.com/bannzai/Ragnarok.git resolved at 1.0.2
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
    return exampleDependencies + [targetDependency].flatMap{ $0 }
                                                    ^
/host/spi-builder-workspace/.build/checkouts/Ocha/Package.swift:37:53: note: use 'compactMap(_:)' instead
    return exampleDependencies + [targetDependency].flatMap{ $0 }
                                                    ^~~~~~~
                                                    compactMap
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.9 linux

Build Machine: Linux 2