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 SagaPythonMarkdownReader, reference main (f69e17), with Swift 6.0 for Linux on 18 Feb 2025 16:33:24 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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/loopwerk/SagaPythonMarkdownReader.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/loopwerk/SagaPythonMarkdownReader
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f69e178 Migrate to Saga 2.0.0
Cloned https://github.com/loopwerk/SagaPythonMarkdownReader.git
Revision (git rev-parse @):
f69e17872cb3ec7f1606a6db2c005fa44085ae3a
SUCCESS checkout https://github.com/loopwerk/SagaPythonMarkdownReader.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/loopwerk/SagaPythonMarkdownReader.git
https://github.com/loopwerk/SagaPythonMarkdownReader.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "saga",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/loopwerk/Saga.git"
    },
    {
      "identity" : "swiftmarkdown",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/loopwerk/SwiftMarkdown"
    }
  ],
  "manifest_display_name" : "SagaPythonMarkdownReader",
  "name" : "SagaPythonMarkdownReader",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "SagaPythonMarkdownReader",
      "targets" : [
        "SagaPythonMarkdownReader"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SagaPythonMarkdownReaderTests",
      "module_type" : "SwiftTarget",
      "name" : "SagaPythonMarkdownReaderTests",
      "path" : "Tests/SagaPythonMarkdownReaderTests",
      "sources" : [
        "SagaPythonMarkdownReaderTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SagaPythonMarkdownReader"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SagaPythonMarkdownReader",
      "module_type" : "SwiftTarget",
      "name" : "SagaPythonMarkdownReader",
      "path" : "Sources/SagaPythonMarkdownReader",
      "product_dependencies" : [
        "Saga",
        "SwiftMarkdown"
      ],
      "product_memberships" : [
        "SagaPythonMarkdownReader"
      ],
      "sources" : [
        "SagaPythonMarkdownReader.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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 -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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/loopwerk/Saga.git
Fetching https://github.com/loopwerk/SwiftMarkdown
[1/63] Fetching swiftmarkdown
[64/2816] Fetching swiftmarkdown, saga
Fetched https://github.com/loopwerk/SwiftMarkdown from cache (0.23s)
[524/2753] Fetching saga
Fetched https://github.com/loopwerk/Saga.git from cache (0.35s)
Computing version for https://github.com/loopwerk/SwiftMarkdown
Computed https://github.com/loopwerk/SwiftMarkdown at 0.4.0 (1.80s)
Fetching https://github.com/pvieito/PythonKit.git
[1/1633] Fetching pythonkit
Fetched https://github.com/pvieito/PythonKit.git from cache (0.44s)
Computing version for https://github.com/loopwerk/Saga.git
Computed https://github.com/loopwerk/Saga.git at 2.0.0 (0.77s)
Fetching https://github.com/kylef/PathKit
[1/1411] Fetching pathkit
Fetched https://github.com/kylef/PathKit from cache (0.29s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (1.98s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.24s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.54s)
Computing version for https://github.com/pvieito/PythonKit.git
Computed https://github.com/pvieito/PythonKit.git at 0.5.0 (0.55s)
Creating working copy for https://github.com/loopwerk/SwiftMarkdown
Working copy of https://github.com/loopwerk/SwiftMarkdown resolved at 0.4.0
Creating working copy for https://github.com/loopwerk/Saga.git
Working copy of https://github.com/loopwerk/Saga.git resolved at 2.0.0
Creating working copy for https://github.com/pvieito/PythonKit.git
Working copy of https://github.com/pvieito/PythonKit.git resolved at 0.5.0
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/13] Compiling PythonKit PythonLibrary+Symbols.swift
[8/13] Compiling PythonKit Python.swift
[9/13] Compiling PythonKit NumpyConversion.swift
[10/13] Emitting module PythonKit
[11/13] Compiling PythonKit PythonLibrary.swift
[13/16] Emitting module PathKit
[14/16] Compiling PathKit PathKit.swift
[15/17] Emitting module SwiftMarkdown
[16/17] Compiling SwiftMarkdown SwiftMarkdown.swift
[19/32] Compiling Saga Reader.swift
[20/32] Compiling Saga RenderingContexts.swift
[21/32] Compiling Saga Saga.swift
[22/32] Compiling Saga String+Slugify.swift
[23/32] Compiling Saga Writer.swift
[24/33] Compiling Saga Path+Extensions.swift
[25/33] Compiling Saga ProcessingStep.swift
[26/33] Compiling Saga utils.swift
[27/33] Compiling Saga FileIO.swift
[28/33] Compiling Saga Item.swift
[29/33] Emitting module Saga
[30/33] Compiling Saga ItemWriteMode.swift
[31/33] Compiling Saga MetadataDecoder.swift
[32/33] Compiling Saga Atom.swift
/host/spi-builder-workspace/.build/checkouts/Saga/Sources/Saga/Atom.swift:24:23: error: 'XMLElement' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
22 |
23 |     // Create the root element
24 |     let rootElement = XMLElement(name: "feed")
   |                       `- error: 'XMLElement' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
25 |     rootElement.setAttributesWith(["xmlns": "http://www.w3.org/2005/Atom"])
26 |
[33/33] Compiling Saga FileContainer.swift
/host/spi-builder-workspace/.build/checkouts/Saga/Sources/Saga/Atom.swift:24:23: error: 'XMLElement' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
22 |
23 |     // Create the root element
24 |     let rootElement = XMLElement(name: "feed")
   |                       `- error: 'XMLElement' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
25 |     rootElement.setAttributesWith(["xmlns": "http://www.w3.org/2005/Atom"])
26 |
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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling PythonKit PythonLibrary+Symbols.swift
[3/8] Compiling PythonKit PythonLibrary.swift
[4/8] Emitting module PathKit
[5/8] Compiling PathKit PathKit.swift
[7/23] Emitting module PythonKit
[8/23] Compiling PythonKit NumpyConversion.swift
[9/23] Compiling PythonKit Python.swift
[11/24] Compiling Saga Atom.swift
/host/spi-builder-workspace/.build/checkouts/Saga/Sources/Saga/Atom.swift:24:23: error: 'XMLElement' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
22 |
23 |     // Create the root element
24 |     let rootElement = XMLElement(name: "feed")
   |                       `- error: 'XMLElement' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
25 |     rootElement.setAttributesWith(["xmlns": "http://www.w3.org/2005/Atom"])
26 |
[12/24] Compiling Saga FileContainer.swift
/host/spi-builder-workspace/.build/checkouts/Saga/Sources/Saga/Atom.swift:24:23: error: 'XMLElement' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
22 |
23 |     // Create the root element
24 |     let rootElement = XMLElement(name: "feed")
   |                       `- error: 'XMLElement' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
25 |     rootElement.setAttributesWith(["xmlns": "http://www.w3.org/2005/Atom"])
26 |
[13/25] Emitting module Saga
[14/25] Compiling Saga Reader.swift
[15/25] Compiling Saga RenderingContexts.swift
[16/25] Compiling Saga Path+Extensions.swift
[17/25] Compiling Saga ProcessingStep.swift
[18/25] Compiling Saga utils.swift
[19/25] Compiling Saga Writer.swift
[20/25] Compiling Saga Saga.swift
[21/25] Compiling Saga String+Slugify.swift
[22/27] Compiling Saga FileIO.swift
[23/27] Compiling Saga Item.swift
[24/27] Compiling Saga ItemWriteMode.swift
[25/27] Compiling Saga MetadataDecoder.swift
[26/27] Emitting module SwiftMarkdown
BUILD FAILURE 6.0 linux