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 Versionator, reference main (aa8e54), with Swift 6.1 for Wasm on 29 May 2025 22:27:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/elegantchaos/Versionator.git
Reference: main
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/elegantchaos/Versionator
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at aa8e54f updated tests
Cloned https://github.com/elegantchaos/Versionator.git
Revision (git rev-parse @):
aa8e54f57fd69c5338c1a3583d3de284092c5b46
SUCCESS checkout https://github.com/elegantchaos/Versionator.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/elegantchaos/Versionator.git
https://github.com/elegantchaos/Versionator.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "runner",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.3",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/Runner.git"
    }
  ],
  "manifest_display_name" : "Versionator",
  "name" : "Versionator",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "VersionatorPlugin",
      "targets" : [
        "VersionatorPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "VersionatorTool",
      "targets" : [
        "VersionatorTool"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VersionatorUtils",
      "module_type" : "SwiftTarget",
      "name" : "VersionatorUtils",
      "path" : "Sources/VersionatorUtils",
      "product_memberships" : [
        "VersionatorPlugin",
        "VersionatorTool"
      ],
      "sources" : [
        "String+AsyncSequence.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "VersionatorTool",
      "module_type" : "SwiftTarget",
      "name" : "VersionatorTool",
      "path" : "Sources/VersionatorTool",
      "product_dependencies" : [
        "Runner"
      ],
      "product_memberships" : [
        "VersionatorPlugin",
        "VersionatorTool"
      ],
      "sources" : [
        "URL+SystemPaths.swift",
        "VersionatorTool.swift"
      ],
      "target_dependencies" : [
        "VersionatorUtils"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "VersionatorTests",
      "module_type" : "SwiftTarget",
      "name" : "VersionatorTests",
      "path" : "Tests/VersionatorTests",
      "product_dependencies" : [
        "Runner"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/VersionatorTests/Resources/Example.git",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/VersionatorTests/Resources/Example.out",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "TestingSupport.swift",
        "VersionatorTests.swift"
      ],
      "target_dependencies" : [
        "VersionatorTool",
        "VersionatorUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "VersionatorPlugin",
      "module_type" : "PluginTarget",
      "name" : "VersionatorPlugin",
      "path" : "Plugins/VersionatorPlugin",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "VersionatorPlugin"
      ],
      "sources" : [
        "plugin+Xcode.swift",
        "plugin.swift"
      ],
      "target_dependencies" : [
        "VersionatorTool"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 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/elegantchaos/Runner.git
[1/676] Fetching runner
Fetched https://github.com/elegantchaos/Runner.git from cache (0.28s)
Computing version for https://github.com/elegantchaos/Runner.git
Computed https://github.com/elegantchaos/Runner.git at 2.1.3 (1.36s)
Fetching https://github.com/elegantchaos/ChaosByteStreams
[1/116] Fetching chaosbytestreams
Fetched https://github.com/elegantchaos/ChaosByteStreams from cache (0.39s)
Computing version for https://github.com/elegantchaos/ChaosByteStreams
Computed https://github.com/elegantchaos/ChaosByteStreams at 1.0.6 (0.85s)
Creating working copy for https://github.com/elegantchaos/ChaosByteStreams
Working copy of https://github.com/elegantchaos/ChaosByteStreams resolved at 1.0.6
Creating working copy for https://github.com/elegantchaos/Runner.git
Working copy of https://github.com/elegantchaos/Runner.git resolved at 2.1.3
[1/1] Compiling plugin VersionatorPlugin
Building for debugging...
[1/22] Write sources
[9/22] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/34] Emitting module ChaosByteStreams
/host/spi-builder-workspace/.build/checkouts/ChaosByteStreams/Sources/ChaosByteStreams/DataBuffer.swift:77:21: error: cannot find type 'AsyncLineSequence' in scope
 75 |
 76 |   /// Return a line sequence that reads from this buffer.
 77 |   public var lines: AsyncLineSequence<AsyncBytes> { get async { await bytes.lines } }
    |                     `- error: cannot find type 'AsyncLineSequence' in scope
 78 |
 79 |   /// Wait for the buffer to close, then return it as a `String`.
/host/spi-builder-workspace/.build/checkouts/ChaosByteStreams/Sources/ChaosByteStreams/DataBuffer.swift:77:53: error: getter of noncopyable type cannot be 'async' or 'throws'
 75 |
 76 |   /// Return a line sequence that reads from this buffer.
 77 |   public var lines: AsyncLineSequence<AsyncBytes> { get async { await bytes.lines } }
    |                                                     `- error: getter of noncopyable type cannot be 'async' or 'throws'
 78 |
 79 |   /// Wait for the buffer to close, then return it as a `String`.
[12/34] Compiling ChaosByteStreams DataBuffer.swift
/host/spi-builder-workspace/.build/checkouts/ChaosByteStreams/Sources/ChaosByteStreams/DataBuffer.swift:77:21: error: cannot find type 'AsyncLineSequence' in scope
 75 |
 76 |   /// Return a line sequence that reads from this buffer.
 77 |   public var lines: AsyncLineSequence<AsyncBytes> { get async { await bytes.lines } }
    |                     `- error: cannot find type 'AsyncLineSequence' in scope
 78 |
 79 |   /// Wait for the buffer to close, then return it as a `String`.
/host/spi-builder-workspace/.build/checkouts/ChaosByteStreams/Sources/ChaosByteStreams/DataBuffer.swift:77:53: error: getter of noncopyable type cannot be 'async' or 'throws'
 75 |
 76 |   /// Return a line sequence that reads from this buffer.
 77 |   public var lines: AsyncLineSequence<AsyncBytes> { get async { await bytes.lines } }
    |                                                     `- error: getter of noncopyable type cannot be 'async' or 'throws'
 78 |
 79 |   /// Wait for the buffer to close, then return it as a `String`.
[13/34] Emitting module VersionatorUtils
[14/34] Compiling VersionatorUtils String+AsyncSequence.swift
[15/34] Compiling ChaosByteStreams Data+ByteStreams.swift
[16/34] Compiling ChaosByteStreams String+ByteStreams.swift
[17/35] Emitting module VersionatorUtils
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
[0/1] Planning build
[1/1] Compiling plugin VersionatorPlugin
Building for debugging...
[1/14] Write swift-version-24593BA9C3E375BF.txt
[3/26] Emitting module VersionatorUtils
[4/26] Compiling VersionatorUtils String+AsyncSequence.swift
[5/27] Compiling ChaosByteStreams String+ByteStreams.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/27] Emitting module ChaosByteStreams
/host/spi-builder-workspace/.build/checkouts/ChaosByteStreams/Sources/ChaosByteStreams/DataBuffer.swift:77:21: error: cannot find type 'AsyncLineSequence' in scope
 75 |
 76 |   /// Return a line sequence that reads from this buffer.
 77 |   public var lines: AsyncLineSequence<AsyncBytes> { get async { await bytes.lines } }
    |                     `- error: cannot find type 'AsyncLineSequence' in scope
 78 |
 79 |   /// Wait for the buffer to close, then return it as a `String`.
/host/spi-builder-workspace/.build/checkouts/ChaosByteStreams/Sources/ChaosByteStreams/DataBuffer.swift:77:53: error: getter of noncopyable type cannot be 'async' or 'throws'
 75 |
 76 |   /// Return a line sequence that reads from this buffer.
 77 |   public var lines: AsyncLineSequence<AsyncBytes> { get async { await bytes.lines } }
    |                                                     `- error: getter of noncopyable type cannot be 'async' or 'throws'
 78 |
 79 |   /// Wait for the buffer to close, then return it as a `String`.
[8/27] Compiling ChaosByteStreams Data+ByteStreams.swift
[9/27] Compiling ChaosByteStreams DataBuffer.swift
/host/spi-builder-workspace/.build/checkouts/ChaosByteStreams/Sources/ChaosByteStreams/DataBuffer.swift:77:21: error: cannot find type 'AsyncLineSequence' in scope
 75 |
 76 |   /// Return a line sequence that reads from this buffer.
 77 |   public var lines: AsyncLineSequence<AsyncBytes> { get async { await bytes.lines } }
    |                     `- error: cannot find type 'AsyncLineSequence' in scope
 78 |
 79 |   /// Wait for the buffer to close, then return it as a `String`.
/host/spi-builder-workspace/.build/checkouts/ChaosByteStreams/Sources/ChaosByteStreams/DataBuffer.swift:77:53: error: getter of noncopyable type cannot be 'async' or 'throws'
 75 |
 76 |   /// Return a line sequence that reads from this buffer.
 77 |   public var lines: AsyncLineSequence<AsyncBytes> { get async { await bytes.lines } }
    |                                                     `- error: getter of noncopyable type cannot be 'async' or 'throws'
 78 |
 79 |   /// Wait for the buffer to close, then return it as a `String`.
[10/27] Emitting module VersionatorUtils
/host/spi-builder-workspace/.build/checkouts/ChaosByteStreams/Sources/ChaosByteStreams/DataBuffer.swift:77:21: error: cannot find type 'AsyncLineSequence' in scope
 75 |
 76 |   /// Return a line sequence that reads from this buffer.
 77 |   public var lines: AsyncLineSequence<AsyncBytes> { get async { await bytes.lines } }
    |                     `- error: cannot find type 'AsyncLineSequence' in scope
 78 |
 79 |   /// Wait for the buffer to close, then return it as a `String`.
[10/27] Wrapping AST for VersionatorUtils for debugging
BUILD FAILURE 6.1 wasm