The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-html-to-pdf, reference 1.0.5 (c6cf43), with Swift 6.1 for Linux on 31 Mar 2026 23:25:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/coenttb/swift-html-to-pdf.git
Reference: 1.0.5
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/coenttb/swift-html-to-pdf
 * tag               1.0.5      -> FETCH_HEAD
HEAD is now at c6cf434 Merge visionos-support: Add visionOS support (#27)
Cloned https://github.com/coenttb/swift-html-to-pdf.git
Revision (git rev-parse @):
c6cf4344d3c1b1bdfd223d0f6642dc66de29ecc0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/coenttb/swift-html-to-pdf.git at 1.0.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/coenttb/swift-html-to-pdf.git
https://github.com/coenttb/swift-html-to-pdf.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-dependencies",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-dependencies"
    },
    {
      "identity" : "swift-logging-extras",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/coenttb/swift-logging-extras"
    },
    {
      "identity" : "swift-metrics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-metrics"
    },
    {
      "identity" : "swift-resource-pool",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/coenttb/swift-resource-pool"
    },
    {
      "identity" : "swift-html",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.11.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/coenttb/swift-html"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "swift-html-to-pdf",
  "name" : "swift-html-to-pdf",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "HtmlToPdfTypes",
      "targets" : [
        "HtmlToPdfTypes"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HtmlToPdfLive",
      "targets" : [
        "HtmlToPdfLive"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HtmlToPdf",
      "targets" : [
        "HtmlToPdf"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PDFTestSupport",
      "targets" : [
        "PDFTestSupport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PDFTestSupport",
      "module_type" : "SwiftTarget",
      "name" : "PDFTestSupport",
      "path" : "Sources/PDFTestSupport",
      "product_dependencies" : [
        "Dependencies",
        "Metrics"
      ],
      "product_memberships" : [
        "PDFTestSupport"
      ],
      "sources" : [
        "MetricsTestSupport.swift",
        "PDF.Render.Metrics+TestSupport.swift",
        "PDFVerification.swift",
        "TestCSS.swift",
        "TestHTML.swift",
        "TestImages.swift",
        "TestMetricsBackend.swift",
        "TestUtilities.swift",
        "iOSPrintFormatterRenderer.swift",
        "withTemporaryDirectory.swift"
      ],
      "target_dependencies" : [
        "HtmlToPdfTypes"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HtmlToPdfTypesTests",
      "module_type" : "SwiftTarget",
      "name" : "HtmlToPdfTypesTests",
      "path" : "Tests/HtmlToPdfTypesTests",
      "product_dependencies" : [
        "DependenciesTestSupport"
      ],
      "sources" : [
        "HtmlToPdfTypesTests.swift"
      ],
      "target_dependencies" : [
        "HtmlToPdfTypes"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HtmlToPdfTypes",
      "module_type" : "SwiftTarget",
      "name" : "HtmlToPdfTypes",
      "path" : "Sources/HtmlToPdfTypes",
      "product_dependencies" : [
        "Dependencies",
        "DependenciesMacros"
      ],
      "product_memberships" : [
        "HtmlToPdfTypes",
        "HtmlToPdfLive",
        "HtmlToPdf",
        "PDFTestSupport"
      ],
      "sources" : [
        "PDF.Appearance.swift",
        "PDF.Configuration.swift",
        "PDF.Document.swift",
        "PDF.EdgeInsets.swift",
        "PDF.NamingStrategy.swift",
        "PDF.PaginationMode.swift",
        "PDF.PaperSize.swift",
        "PDF.Render.Client.swift",
        "PDF.Render.ConcurrencyStrategy.swift",
        "PDF.Render.FailedDocument.swift",
        "PDF.Render.Metrics.swift",
        "PDF.Render.Result.swift",
        "PDF.Render.swift",
        "PDF.swift",
        "PrintingError.swift",
        "exports.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HtmlToPdfTests",
      "module_type" : "SwiftTarget",
      "name" : "HtmlToPdfTests",
      "path" : "Tests/HtmlToPdfTests",
      "product_dependencies" : [
        "DependenciesTestSupport"
      ],
      "sources" : [
        "DeprecatedAPITest.swift",
        "HTMLDSLExamplesTests.swift",
        "HtmlToPdfTests.swift",
        "ReadmeVerification.swift"
      ],
      "target_dependencies" : [
        "HtmlToPdf",
        "PDFTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HtmlToPdfLiveTests",
      "module_type" : "SwiftTarget",
      "name" : "HtmlToPdfLiveTests",
      "path" : "Tests/HtmlToPdfLiveTests",
      "product_dependencies" : [
        "DependenciesTestSupport"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/HtmlToPdfLiveTests/Resources/coenttb.png",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AppearanceTests.swift",
        "AsyncStreamTests.swift",
        "BaseURLTests.swift",
        "BasicFunctionalityTests.swift",
        "CancellationTests.swift",
        "ConcurrencyTests.swift",
        "ConvenienceTests.swift",
        "ErrorHandlingTests.swift",
        "MetricsIntegrationTests.swift",
        "MetricsTests.swift",
        "NamingCollisionTests.swift",
        "PaginationModeTests.swift",
        "PerformanceBenchmarks.swift",
        "PlatformSpecificTests.swift",
        "PrintQualityExperiment.swift",
        "StressTests.swift",
        "Swift6ConcurrencyTests.swift",
        "Utils.swift",
        "VisualVerificationTest.swift",
        "WebViewMemoryTests.swift"
      ],
      "target_dependencies" : [
        "HtmlToPdfLive",
        "PDFTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HtmlToPdfLive",
      "module_type" : "SwiftTarget",
      "name" : "HtmlToPdfLive",
      "path" : "Sources/HtmlToPdfLive",
      "product_dependencies" : [
        "Dependencies",
        "DependenciesMacros",
        "LoggingExtras",
        "Metrics",
        "ResourcePool"
      ],
      "product_memberships" : [
        "HtmlToPdfLive",
        "HtmlToPdf"
      ],
      "sources" : [
        "DirectoryCache.swift",
        "FileSystemHelpers.swift",
        "PDF+Convenience.swift",
        "PDF+DependencyKey.swift",
        "PDF+TestDependencyKey.swift",
        "PDF.Render+Convenience.swift",
        "PDF.Render+TestDependencyKey.swift",
        "PDF.Render.Client+Convenience.swift",
        "PDF.Render.Client+iOS.swift",
        "PDF.Render.Client+macOS.swift",
        "PDF.Render.Metrics+macOS.swift",
        "WKWebViewResource.swift",
        "WebViewPoolClient-ResourcePool.swift",
        "exports.swift"
      ],
      "target_dependencies" : [
        "HtmlToPdfTypes"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HtmlToPdf",
      "module_type" : "SwiftTarget",
      "name" : "HtmlToPdf",
      "path" : "Sources/HtmlToPdf",
      "product_memberships" : [
        "HtmlToPdf"
      ],
      "sources" : [
        "Deprecations.swift",
        "PDF+Convenience.swift",
        "PDF.Document+HTML.swift",
        "exports.swift"
      ],
      "target_dependencies" : [
        "HtmlToPdfLive"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/HtmlToPdfLiveTests/StressTestLogs': File not found.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:108e10880bce35e9496fba26782956e40a8e91a2a227f9b90af7e4cd93d2c183
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.3
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.3
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:108e10880bce35e9496fba26782956e40a8e91a2a227f9b90af7e4cd93d2c183
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.3
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.3
BUILD FAILURE 6.1 linux