The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PDFAuthor, reference master (a360d6), with Swift 6.1 for Android on 29 May 2025 12:36:38 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         android
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-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/tribalworldwidelondon/CassowarySwift.git
[1/1257] Fetching cwlpreconditiontesting
[228/1452] Fetching cwlpreconditiontesting, cassowaryswift
Fetched https://github.com/tribalworldwidelondon/CassowarySwift.git from cache (1.02s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (1.02s)
Computing version for https://github.com/tribalworldwidelondon/CassowarySwift.git
Computed https://github.com/tribalworldwidelondon/CassowarySwift.git at 2.0.1 (1.66s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 1.2.0 (0.53s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.21s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 1.2.0 (2.59s)
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
Creating working copy for https://github.com/tribalworldwidelondon/CassowarySwift.git
Working copy of https://github.com/tribalworldwidelondon/CassowarySwift.git resolved at 2.0.1
Building for debugging...
[0/24] Write sources
[6/24] Compiling CwlMachBadInstructionHandler CwlMachBadInstructionHandler.m
[7/24] 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.
[8/24] Compiling CwlCatchExceptionSupport CwlCatchException.m
[8/24] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
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.
[0/16] Compiling CwlCatchExceptionSupport CwlCatchException.m
[0/16] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android