The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftCodePatterns, reference v1.0.0 (fc2ea7), with Swift 6.1 for Wasm on 28 May 2025 17:17:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/ShenghaiWang/SwiftCodePatterns.git
Reference: v1.0.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/ShenghaiWang/SwiftCodePatterns
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at fc2ea7c Update Transformer to v1.0.0
Cloned https://github.com/ShenghaiWang/SwiftCodePatterns.git
Revision (git rev-parse @):
fc2ea7c576337fea4d1d49ec57fd4504c627459c
SUCCESS checkout https://github.com/ShenghaiWang/SwiftCodePatterns.git at v1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ShenghaiWang/SwiftCodePatterns.git
https://github.com/ShenghaiWang/SwiftCodePatterns.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftCodePatterns",
  "name" : "SwiftCodePatterns",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "Code Patterns Command",
      "targets" : [
        "Code Patterns Command"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "Code Patterns BuildTool",
      "targets" : [
        "Code Patterns BuildTool"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Transformer",
      "module_type" : "BinaryTarget",
      "name" : "Transformer",
      "path" : "Transformer.artifactbundle",
      "product_memberships" : [
        "Code Patterns Command",
        "Code Patterns BuildTool"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "Code_Patterns_Command",
      "module_type" : "PluginTarget",
      "name" : "Code Patterns Command",
      "path" : "Plugins/Code Patterns Command",
      "plugin_capability" : {
        "intent" : {
          "description" : "Generate code based on the AutoCodePatterns.yml configuration",
          "type" : "custom",
          "verb" : "Run Code Patterns"
        },
        "permissions" : [
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "Code Patterns Command"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Transformer"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "Code_Patterns_BuildTool",
      "module_type" : "PluginTarget",
      "name" : "Code Patterns BuildTool",
      "path" : "Plugins/Code Patterns BuildTool",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "Code Patterns BuildTool"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Transformer"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
BUILD FAILURE 6.1 wasm