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 PDFAuthor, reference master (a360d6), with Swift 6.1 for Linux on 29 Apr 2025 01:16:25 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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tribalworldwidelondon/PDFAuthor.git
Reference: master
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/tribalworldwidelondon/PDFAuthor
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a360d6a Fixed missing imports
Cloned https://github.com/tribalworldwidelondon/PDFAuthor.git
Revision (git rev-parse @):
a360d6aa8b61ecc0fe3ad12b996c77a7259a6567
SUCCESS checkout https://github.com/tribalworldwidelondon/PDFAuthor.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tribalworldwidelondon/PDFAuthor.git
https://github.com/tribalworldwidelondon/PDFAuthor.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "cwlpreconditiontesting",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattgallagher/CwlPreconditionTesting.git"
    },
    {
      "identity" : "cassowaryswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tribalworldwidelondon/CassowarySwift.git"
    }
  ],
  "manifest_display_name" : "PDFAuthor",
  "name" : "PDFAuthor",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PDFAuthor",
      "targets" : [
        "PDFAuthor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PDFAuthorDemo",
      "targets" : [
        "PDFAuthorDemo"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "StackRegionDemo",
      "targets" : [
        "StackRegionDemo"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "StackRegionDemo",
      "module_type" : "SwiftTarget",
      "name" : "StackRegionDemo",
      "path" : "Sources/StackRegionDemo",
      "product_memberships" : [
        "StackRegionDemo"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "PDFAuthor"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "PDFAuthorTests",
      "module_type" : "SwiftTarget",
      "name" : "PDFAuthorTests",
      "path" : "Tests/PDFAuthorTests",
      "product_dependencies" : [
        "CwlPreconditionTesting"
      ],
      "sources" : [
        "AssertionHelpers.swift",
        "ImageRegionTests.swift",
        "PDFAuthorTests.swift",
        "PDFDocumentTests.swift",
        "PDFRegionConstraintsTest.swift",
        "PDFRegionTests.swift",
        "TypesTests.swift"
      ],
      "target_dependencies" : [
        "PDFAuthor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PDFAuthorDemo",
      "module_type" : "SwiftTarget",
      "name" : "PDFAuthorDemo",
      "path" : "Sources/PDFAuthorDemo",
      "product_memberships" : [
        "PDFAuthorDemo"
      ],
      "sources" : [
        "Invoice.swift",
        "Masks.swift",
        "TextColumns.swift",
        "TitlePage.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "PDFAuthor"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "PDFAuthor",
      "module_type" : "SwiftTarget",
      "name" : "PDFAuthor",
      "path" : "Sources/PDFAuthor",
      "product_dependencies" : [
        "Cassowary"
      ],
      "product_memberships" : [
        "PDFAuthor",
        "PDFAuthorDemo",
        "StackRegionDemo"
      ],
      "sources" : [
        "PDFAuthor.swift",
        "Renderable/ImageRegion.swift",
        "Renderable/MultiColumnStringRegion.swift",
        "Renderable/PDFChapter.swift",
        "Renderable/PDFPage.swift",
        "Renderable/PDFRegion.swift",
        "Renderable/PDFRegionConstraints.swift",
        "Renderable/StackRegion/StackRegion.swift",
        "Renderable/StackRegion/StackRegionTypes.swift",
        "Renderable/StringRegion.swift",
        "Renderable/TableChapter/TableChapter.swift",
        "Renderable/TableChapter/TableChapterDataSource.swift",
        "Types/PDFError.swift",
        "Types/Types.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.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.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/tribalworldwidelondon/CassowarySwift.git
[1/195] Fetching cassowaryswift
[196/1452] Fetching cassowaryswift, cwlpreconditiontesting
Fetched https://github.com/tribalworldwidelondon/CassowarySwift.git from cache (0.24s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.24s)
Computing version for https://github.com/tribalworldwidelondon/CassowarySwift.git
Computed https://github.com/tribalworldwidelondon/CassowarySwift.git at 2.0.1 (0.80s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 1.2.0 (0.61s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.18s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 1.2.0 (2.47s)
Creating working copy for https://github.com/tribalworldwidelondon/CassowarySwift.git
Working copy of https://github.com/tribalworldwidelondon/CassowarySwift.git resolved at 2.0.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 1.2.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 1.2.0
Building for debugging...
[0/24] Write sources
[6/24] Compiling CwlMachBadInstructionHandler CwlMachBadInstructionHandler.m
In file included from /host/spi-builder-workspace/.build/checkouts/CwlCatchException/Sources/CwlCatchExceptionSupport/CwlCatchException.m:21:
/host/spi-builder-workspace/.build/checkouts/CwlCatchException/Sources/CwlCatchExceptionSupport/include/CwlCatchException.h:21:9: fatal error: 'Foundation/Foundation.h' file not found
   21 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[7/24] Compiling CwlCatchExceptionSupport CwlCatchException.m
[7/24] Compiling CwlMachBadInstructionHandler mach_excServer.c
[7/24] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/17] Compiling CwlMachBadInstructionHandler mach_excServer.c
In file included from /host/spi-builder-workspace/.build/checkouts/CwlCatchException/Sources/CwlCatchExceptionSupport/CwlCatchException.m:21:
/host/spi-builder-workspace/.build/checkouts/CwlCatchException/Sources/CwlCatchExceptionSupport/include/CwlCatchException.h:21:9: fatal error: 'Foundation/Foundation.h' file not found
   21 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/17] Compiling CwlCatchExceptionSupport CwlCatchException.m
[1/17] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux