The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Teapot, reference 1.0.3 (7b259e), with Swift 6.1 for Wasm on 27 May 2025 14:46:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bannzai/teapot.git
Reference: 1.0.3
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
 * tag               1.0.3      -> FETCH_HEAD
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 1.0.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bannzai/teapot.git
https://github.com/bannzai/teapot.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftshell",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.1.2",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kareman/SwiftShell.git"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    },
    {
      "identity" : "yamlswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.4.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/behrang/YamlSwift.git"
    },
    {
      "identity" : "ocha",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bannzai/Ocha.git"
    },
    {
      "identity" : "commander",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Commander.git"
    }
  ],
  "manifest_display_name" : "Teapot",
  "name" : "Teapot",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Teapot",
      "targets" : [
        "Teapot"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TeapotCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "TeapotCoreTests",
      "path" : "Tests/TeapotCoreTests",
      "product_dependencies" : [
        "Ocha"
      ],
      "sources" : [
        "Mock.swift",
        "StartTests.swift"
      ],
      "target_dependencies" : [
        "TeapotCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TeapotCore",
      "module_type" : "SwiftTarget",
      "name" : "TeapotCore",
      "path" : "Sources/TeapotCore",
      "product_dependencies" : [
        "Ocha",
        "SwiftShell",
        "PathKit",
        "Yaml"
      ],
      "product_memberships" : [
        "Teapot"
      ],
      "sources" : [
        "Collector/Collector.swift",
        "Collector/FilePathCollector.swift",
        "Executor/Executor.swift",
        "Executor/TeapotCommandExecutor.swift",
        "Extractor/Extractor.swift",
        "Extractor/FilePathExtractor.swift",
        "Reader/ConfigReader.swift",
        "Reader/Glob.swift",
        "Reader/YamlReadError.swift",
        "Reader/YamlReader.swift",
        "Runner.swift",
        "Setup.swift",
        "Structure/Alias.swift",
        "Translator/ConfigurationTranslator.swift",
        "Translator/Translator.swift",
        "Watcher/Watcher.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Teapot",
      "module_type" : "SwiftTarget",
      "name" : "Teapot",
      "path" : "Sources/Teapot",
      "product_dependencies" : [
        "Commander"
      ],
      "product_memberships" : [
        "Teapot"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "TeapotCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kareman/SwiftShell.git
Fetching https://github.com/behrang/YamlSwift.git
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/bannzai/Ocha.git
[1/1588] Fetching commander
[1478/2363] Fetching commander, ocha
[1575/3747] Fetching commander, ocha, yamlswift
[3260/8610] Fetching commander, ocha, yamlswift, swiftshell
[3261/10021] Fetching commander, ocha, yamlswift, swiftshell, pathkit
Fetched https://github.com/kylef/Commander.git from cache (0.45s)
[4363/8433] Fetching ocha, yamlswift, swiftshell, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.66s)
Fetched https://github.com/bannzai/Ocha.git from cache (0.66s)
Fetched https://github.com/behrang/YamlSwift.git from cache (0.66s)
Fetched https://github.com/kareman/SwiftShell.git from cache (0.67s)
Computing version for https://github.com/bannzai/Ocha.git
warning: 'ocha': /Package.swift:36:53: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
34 |
35 |   var targetDependencies: [PackageDescription.Target.Dependency] {
36 |     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
37 |   }
38 |
Computed https://github.com/bannzai/Ocha.git at 1.1.0 (1.53s)
Fetching https://github.com/bannzai/Ragnarok.git
[1/854] Fetching ragnarok
Fetched https://github.com/bannzai/Ragnarok.git from cache (0.23s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (2.97s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.46s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 4.1.2 (3.20s)
Computing version for https://github.com/bannzai/Ragnarok.git
Computed https://github.com/bannzai/Ragnarok.git at 1.0.2 (0.69s)
Fetching https://github.com/apple/swift-syntax.git
[1/70444] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (7.10s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (7.81s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.1 (0.73s)
Computing version for https://github.com/behrang/YamlSwift.git
Computed https://github.com/behrang/YamlSwift.git at 3.4.4 (0.67s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50700.1 (1.33s)
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/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.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
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/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
warning: 'ocha': /host/spi-builder-workspace/.build/checkouts/Ocha/Package.swift:36:53: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
34 |
35 |   var targetDependencies: [PackageDescription.Target.Dependency] {
36 |     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
37 |   }
38 |
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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'ocha': /host/spi-builder-workspace/.build/checkouts/Ocha/Package.swift:36:53: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
34 |
35 |   var targetDependencies: [PackageDescription.Target.Dependency] {
36 |     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
37 |   }
38 |
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.1 wasm