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 ActionBuilderCore, reference v2.0.0 (dd50ff), with Swift 6.0 for Linux on 3 Dec 2024 09:59:38 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/ActionBuilderCore.git
Reference: v2.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/elegantchaos/ActionBuilderCore
 * tag               v2.0.0     -> FETCH_HEAD
HEAD is now at dd50ffd Fixed string tests
Cloned https://github.com/elegantchaos/ActionBuilderCore.git
Revision (git rev-parse @):
dd50ffd847ed3dc23fbeb9f3df17cc0aaa4e4c7d
SUCCESS checkout https://github.com/elegantchaos/ActionBuilderCore.git at v2.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/elegantchaos/ActionBuilderCore.git
{
  "dependencies" : [
    {
      "identity" : "chaosbytestreams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/ChaosByteStreams.git"
    },
    {
      "identity" : "runner",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.6",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/Runner.git"
    },
    {
      "identity" : "semanticversion",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/SemanticVersion.git"
    },
    {
      "identity" : "versionator",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.2",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/Versionator.git"
    },
    {
      "identity" : "chaostesting",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/ChaosTesting"
    }
  ],
  "manifest_display_name" : "ActionBuilderCore",
  "name" : "ActionBuilderCore",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "ActionBuilderCore",
      "targets" : [
        "ActionBuilderCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ActionBuilderTool",
      "targets" : [
        "ActionBuilderTool"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ActionBuilderTool",
      "module_type" : "SwiftTarget",
      "name" : "ActionBuilderTool",
      "path" : "Sources/ActionBuilderTool",
      "product_dependencies" : [
        "ChaosByteStreams",
        "VersionatorPlugin"
      ],
      "product_memberships" : [
        "ActionBuilderTool"
      ],
      "sources" : [
        "ActionBuilderTool.swift"
      ],
      "target_dependencies" : [
        "ActionBuilderCore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ActionBuilderCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "ActionBuilderCoreTests",
      "path" : "Tests/ActionBuilderCoreTests",
      "product_dependencies" : [
        "ChaosTesting"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/ActionBuilderCoreTests/Resources/Example-config.package",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ActionBuilderCoreTests/Resources/Example-mac.package",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/ActionBuilderCoreTests/Resources/Example-multi.package",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ActionBuilderCoreTests.swift"
      ],
      "target_dependencies" : [
        "ActionBuilderCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ActionBuilderCore",
      "module_type" : "SwiftTarget",
      "name" : "ActionBuilderCore",
      "path" : "Sources/ActionBuilderCore",
      "product_dependencies" : [
        "Runner",
        "SemanticVersion"
      ],
      "product_memberships" : [
        "ActionBuilderCore",
        "ActionBuilderTool"
      ],
      "sources" : [
        "CaseInsensitiveRawRepresentable.swift",
        "Compiler.swift",
        "Configuration.swift",
        "Generator.swift",
        "GitInfo.swift",
        "Github.swift",
        "JSONDictionary.swift",
        "Option.swift",
        "PackageInfo.swift",
        "Platform.swift",
        "Repo+SPM.swift",
        "Repo.swift",
        "Settings.swift",
        "TargetInfo.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/elegantchaos/ChaosByteStreams.git
Fetching https://github.com/elegantchaos/Versionator.git
Fetching https://github.com/elegantchaos/Runner.git
Fetching https://github.com/elegantchaos/ChaosTesting
Fetching https://github.com/elegantchaos/SemanticVersion.git
[1/30] Fetching chaostesting
[31/414] Fetching chaostesting, versionator
[415/566] Fetching chaostesting, versionator, semanticversion
[567/682] Fetching chaostesting, versionator, semanticversion, chaosbytestreams
[610/1358] Fetching chaostesting, versionator, semanticversion, chaosbytestreams, runner
Fetched https://github.com/elegantchaos/Runner.git from cache (0.77s)
Fetched https://github.com/elegantchaos/Versionator.git from cache (0.77s)
Fetched https://github.com/elegantchaos/SemanticVersion.git from cache (0.77s)
Fetched https://github.com/elegantchaos/ChaosTesting from cache (0.77s)
Fetched https://github.com/elegantchaos/ChaosByteStreams.git from cache (0.77s)
Computing version for https://github.com/elegantchaos/ChaosTesting
Computed https://github.com/elegantchaos/ChaosTesting at 1.0.1 (0.43s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.2 (2.33s)
Computing version for https://github.com/elegantchaos/Versionator.git
Computed https://github.com/elegantchaos/Versionator.git at 2.0.6 (0.41s)
Computing version for https://github.com/elegantchaos/Runner.git
Computed https://github.com/elegantchaos/Runner.git at 2.1.3 (0.40s)
Computing version for https://github.com/elegantchaos/ChaosByteStreams.git
Computed https://github.com/elegantchaos/ChaosByteStreams.git at 1.0.6 (0.40s)
Creating working copy for https://github.com/elegantchaos/SemanticVersion.git
Working copy of https://github.com/elegantchaos/SemanticVersion.git resolved at 1.1.2
Creating working copy for https://github.com/elegantchaos/Versionator.git
Working copy of https://github.com/elegantchaos/Versionator.git resolved at 2.0.6
Creating working copy for https://github.com/elegantchaos/ChaosByteStreams.git
Working copy of https://github.com/elegantchaos/ChaosByteStreams.git 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
Creating working copy for https://github.com/elegantchaos/ChaosTesting
Working copy of https://github.com/elegantchaos/ChaosTesting resolved at 1.0.1
Building for debugging...
[0/11] Write sources
[4/11] Write swift-version-24593BA9C3E375BF.txt
[6/17] Emitting module VersionatorUtils
[7/17] Compiling VersionatorUtils String+AsyncSequence.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/18] Compiling ChaosByteStreams Data+ByteStreams.swift
[10/18] Compiling ChaosByteStreams String+ByteStreams.swift
[11/18] 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/18] 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`.
[12/18] Wrapping AST for VersionatorUtils for debugging
BUILD FAILURE 6.0 linux