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-4606859-0":/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: 1.0.3
Cloned https://github.com/bannzai/teapot.git into spi-builder-workspace
SUCCESS checkout https://github.com/bannzai/teapot.git at 1.0.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/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/PathKit.git
Fetching https://github.com/bannzai/Ragnarok.git
[1/1405] Fetching pathkit
[1392/2789] Fetching pathkit, yamlswift
[2306/3643] Fetching pathkit, yamlswift, ragnarok
Fetching https://github.com/bannzai/Ocha.git
Fetched https://github.com/kylef/PathKit.git (0.27s)
Fetched https://github.com/bannzai/Ragnarok.git (0.27s)
Fetching https://github.com/kylef/Commander.git
Fetched https://github.com/behrang/YamlSwift.git (0.27s)
Fetching https://github.com/kareman/SwiftShell.git
[1/775] Fetching ocha
[242/2363] Fetching ocha, commander
[1876/7226] Fetching ocha, commander, swiftshell
[4034/5638] Fetching ocha, swiftshell
Fetched https://github.com/kylef/Commander.git (0.26s)
Fetching https://github.com/apple/swift-syntax.git
[3988/4863] Fetching swiftshell
Fetched https://github.com/bannzai/Ocha.git (0.27s)
Fetching https://github.com/kylef/Spectre.git
Fetched https://github.com/kareman/SwiftShell.git (0.38s)
Computing version for https://github.com/kylef/Commander.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git (0.22s)
Computed https://github.com/kylef/Commander.git at 0.8.0 (0.93s)
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.39s)
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.30s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (1.23s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 4.1.2 (0.35s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.38s)
Computing version for https://github.com/bannzai/Ragnarok.git
Computed https://github.com/bannzai/Ragnarok.git at 1.0.2 (0.48s)
Fetched https://github.com/apple/swift-syntax.git (4.26s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50000.0 (0.49s)
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/bannzai/Ocha.git
Working copy of https://github.com/bannzai/Ocha.git resolved at 1.1.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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.0
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/behrang/YamlSwift.git
Working copy of https://github.com/behrang/YamlSwift.git resolved at 3.4.4
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/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/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.8.0
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 1