The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Versionator, reference v2.0.6 (f67fae), with Swift 6.0 for Linux on 3 Dec 2024 12:23:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/Versionator.git
Reference: v2.0.6
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
 * tag               v2.0.6     -> FETCH_HEAD
HEAD is now at f67fae2 Fixed Xcode plugin.
Cloned https://github.com/elegantchaos/Versionator.git
Revision (git rev-parse @):
f67fae2e7c4da26f768f622ab68cbdff409c90f6
SUCCESS checkout https://github.com/elegantchaos/Versionator.git at v2.0.6
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/elegantchaos/Versionator.git
{
  "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-4606859-1":/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/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 (0.68s)
Fetching https://github.com/elegantchaos/ChaosByteStreams
[1/116] Fetching chaosbytestreams
Fetched https://github.com/elegantchaos/ChaosByteStreams from cache (0.24s)
Computing version for https://github.com/elegantchaos/ChaosByteStreams
Computed https://github.com/elegantchaos/ChaosByteStreams at 1.0.6 (0.66s)
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/ChaosByteStreams
Working copy of https://github.com/elegantchaos/ChaosByteStreams resolved at 1.0.6
[1/1] Compiling plugin VersionatorPlugin
Building for debugging...
[1/12] Write sources
[5/12] Write swift-version-24593BA9C3E375BF.txt
[7/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`.
[8/18] Compiling ChaosByteStreams String+ByteStreams.swift
[9/18] Emitting module VersionatorUtils
[10/18] Compiling VersionatorUtils String+AsyncSequence.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/18] Compiling ChaosByteStreams Data+ByteStreams.swift
[12/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`.
[13/19] Wrapping AST for VersionatorUtils for debugging
BUILD FAILURE 6.0 linux