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 swift-html-to-pdf, reference 0.4.0 (445d92), with Swift 6.1 for Linux on 30 Apr 2025 20:00:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/coenttb/swift-html-to-pdf.git
Reference: 0.4.0
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               0.4.0      -> FETCH_HEAD
HEAD is now at 445d920 This commit makes several key improvements to the PDF generation functionality:
Cloned https://github.com/coenttb/swift-html-to-pdf.git
Revision (git rev-parse @):
445d920c28b4b62d3208763511794253fd7c9e15
SUCCESS checkout https://github.com/coenttb/swift-html-to-pdf.git at 0.4.0
========================================
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"
    }
  ],
  "manifest_display_name" : "swift-html-to-pdf",
  "name" : "swift-html-to-pdf",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "HtmlToPdf",
      "targets" : [
        "HtmlToPdf"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "HtmlToPdfTests",
      "module_type" : "SwiftTarget",
      "name" : "HtmlToPdfTests",
      "path" : "Tests/HtmlToPdfTests",
      "sources" : [
        "HtmlToPdfTests.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "HtmlToPdf"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HtmlToPdf",
      "module_type" : "SwiftTarget",
      "name" : "HtmlToPdf",
      "path" : "Sources/HtmlToPdf",
      "product_dependencies" : [
        "Dependencies"
      ],
      "product_memberships" : [
        "HtmlToPdf"
      ],
      "sources" : [
        "HtmlToPdf-AsyncStream.swift",
        "HtmlToPdf.swift",
        "NSPrintOperation.swift",
        "UIPrintPageRenderer.swift",
        "WebViewPool.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 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/pointfreeco/swift-dependencies
[1/6201] Fetching swift-dependencies
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.57s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.9.2 (1.45s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-clocks
[1/852] Fetching swift-concurrency-extras
[853/3262] Fetching swift-concurrency-extras, combine-schedulers
[1866/4554] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks
[4555/9942] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks, xctest-dynamic-overlay
[9943/80233] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks, xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.83s)
[14011/79381] Fetching combine-schedulers, swift-clocks, xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/combine-schedulers from cache (6.24s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (6.24s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (6.25s)
Fetched https://github.com/swiftlang/swift-syntax from cache (6.30s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.3 (6.96s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (2.78s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (0.89s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (1.13s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (3.80s)
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.0.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.1
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.9.2
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/38] Compiling IssueReporting TestContext.swift
[10/38] Compiling IssueReporting Unimplemented.swift
[11/40] Compiling IssueReporting WithExpectedIssue.swift
[12/40] Compiling IssueReporting WithIssueContext.swift
[13/40] Compiling ConcurrencyExtras LockIsolated.swift
[14/41] Compiling ConcurrencyExtras UncheckedSendable.swift
[15/41] Emitting module IssueReporting
[16/41] Compiling ConcurrencyExtras Task.swift
[17/41] Compiling ConcurrencyExtras Result.swift
[18/41] Compiling ConcurrencyExtras AsyncStream.swift
[19/41] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[20/41] Compiling ConcurrencyExtras ActorIsolated.swift
[23/41] Compiling ConcurrencyExtras Locking.swift
[24/41] Compiling ConcurrencyExtras UncheckedBox.swift
[25/41] Emitting module ConcurrencyExtras
[27/41] Compiling ConcurrencyExtras AnyHashableSendable.swift
[28/41] Compiling ConcurrencyExtras MainSerialExecutor.swift
[29/41] Compiling IssueReporting XCTest.swift
[30/41] Compiling IssueReporting IsTesting.swift
[31/41] Compiling IssueReporting IssueReporter.swift
[32/41] Compiling IssueReporting FailureObserver.swift
[33/41] Compiling IssueReporting LockIsolated.swift
[34/41] Compiling IssueReporting Rethrows.swift
[38/41] Compiling IssueReporting RuntimeWarningReporter.swift
[39/41] Compiling IssueReporting ReportIssue.swift
[40/41] Compiling IssueReporting BreakpointReporter.swift
[41/41] Compiling IssueReporting FatalErrorReporter.swift
[44/66] Compiling XCTestDynamicOverlay Exports.swift
[45/66] Compiling CombineSchedulers UIScheduler.swift
[46/66] Compiling CombineSchedulers UIKit.swift
[47/67] Compiling CombineSchedulers SwiftUI.swift
[48/67] Compiling CombineSchedulers TestScheduler.swift
[49/67] Compiling CombineSchedulers Timer.swift
[50/67] Compiling Clocks Timer.swift
[51/68] Compiling CombineSchedulers AnyScheduler.swift
[52/68] Compiling CombineSchedulers Concurrency.swift
[53/68] Compiling CombineSchedulers Lock.swift
[54/68] Compiling CombineSchedulers NSRecursiveLock.swift
[55/68] Emitting module CombineSchedulers
[56/68] Compiling CombineSchedulers ImmediateScheduler.swift
[57/68] Compiling CombineSchedulers Deprecations.swift
[58/68] Compiling CombineSchedulers UnimplementedScheduler.swift
[59/69] Compiling Clocks AnyClock.swift
[60/69] Emitting module Clocks
[61/69] Compiling Clocks ImmediateClock.swift
[62/69] Compiling Clocks Lock.swift
[63/69] Compiling Clocks _AsyncTimerSequence.swift
[64/69] Compiling Clocks UnimplementedClock.swift
[66/69] Compiling Clocks SwiftUI.swift
[67/69] Compiling Clocks TestClock.swift
[69/70] Emitting module XCTestDynamicOverlay
[70/70] Compiling XCTestDynamicOverlay Deprecations.swift
[72/94] Compiling Dependencies OpenURL.swift
[73/94] Compiling Dependencies TimeZone.swift
[74/94] Compiling Dependencies URLSession.swift
[75/97] Compiling Dependencies Locale.swift
[76/97] Compiling Dependencies MainQueue.swift
[77/97] Compiling Dependencies MainRunLoop.swift
[78/97] Compiling Dependencies UUID.swift
[79/97] Compiling Dependencies WithRandomNumberGenerator.swift
[80/97] Compiling Dependencies AppEntryPoint.swift
[81/97] Compiling Dependencies Deprecations.swift
[82/97] Compiling Dependencies Exports.swift
[83/97] Compiling Dependencies TypeName.swift
[84/97] Emitting module Dependencies
[85/97] Compiling Dependencies Context.swift
[86/97] Compiling Dependencies Date.swift
[87/97] Compiling Dependencies FireAndForget.swift
[88/97] Compiling Dependencies Assert.swift
[89/97] Compiling Dependencies Calendar.swift
[90/97] Compiling Dependencies Clocks.swift
[91/97] Compiling Dependencies PreviewTrait.swift
[92/97] Compiling Dependencies TestTrait.swift
[93/97] Compiling Dependencies WithDependencies.swift
[94/97] Compiling Dependencies Dependency.swift
[95/97] Compiling Dependencies DependencyContext.swift
[96/97] Compiling Dependencies DependencyKey.swift
[97/97] Compiling Dependencies DependencyValues.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[99/104] Emitting module HtmlToPdf
/host/spi-builder-workspace/Sources/HtmlToPdf/HtmlToPdf.swift:215:30: error: type 'CGSize' has no member 'paperSize'
213 |     public init(
214 |         margins: EdgeInsets,
215 |         paperSize: CGSize = .paperSize(),
    |                              `- error: type 'CGSize' has no member 'paperSize'
216 |         baseURL: URL? = nil,
217 |         orientation: PDFConfiguration.Orientation = .portrait
[100/104] Compiling HtmlToPdf UIPrintPageRenderer.swift
[101/104] Compiling HtmlToPdf WebViewPool.swift
[102/104] Compiling HtmlToPdf NSPrintOperation.swift
[103/104] Compiling HtmlToPdf HtmlToPdf.swift
/host/spi-builder-workspace/Sources/HtmlToPdf/HtmlToPdf.swift:215:30: error: type 'CGSize' has no member 'paperSize'
213 |     public init(
214 |         margins: EdgeInsets,
215 |         paperSize: CGSize = .paperSize(),
    |                              `- error: type 'CGSize' has no member 'paperSize'
216 |         baseURL: URL? = nil,
217 |         orientation: PDFConfiguration.Orientation = .portrait
/host/spi-builder-workspace/Sources/HtmlToPdf/HtmlToPdf.swift:63:40: error: value of type 'Document' has no member 'print'
 61 |             for document in self {
 62 |                 taskGroup.addTask {
 63 |                     try await document.print(
    |                                        `- error: value of type 'Document' has no member 'print'
 64 |                         configuration: configuration,
 65 |                         createDirectories: createDirectories
/host/spi-builder-workspace/Sources/HtmlToPdf/HtmlToPdf.swift:98:14: error: value of type 'Document' has no member 'print'
 96 |     ) async throws {
 97 |         try await Document(fileUrl: fileUrl, html: self)
 98 |             .print(
    |              `- error: value of type 'Document' has no member 'print'
 99 |                 configuration: configuration,
100 |                 createDirectories: createDirectories
/host/spi-builder-workspace/Sources/HtmlToPdf/HtmlToPdf.swift:134:11: error: value of type 'Document' has no member 'print'
132 |             fileUrl: directory.appendingPathComponent(title.replacingSlashesWithDivisionSlash()).appendingPathExtension("pdf"),
133 |             html: self
134 |         ).print(
    |           `- error: value of type 'Document' has no member 'print'
135 |             configuration: configuration,
136 |             createDirectories: createDirectories
/host/spi-builder-workspace/Sources/HtmlToPdf/HtmlToPdf.swift:234:10: error: cannot call value of non-function type 'PDFConfiguration'
232 |
233 |     public static var a4: PDFConfiguration {
234 |         .a4(margins: .a4)
    |          `- error: cannot call value of non-function type 'PDFConfiguration'
235 |     }
236 |
/host/spi-builder-workspace/Sources/HtmlToPdf/HtmlToPdf.swift:234:23: error: cannot infer contextual base in reference to member 'a4'
232 |
233 |     public static var a4: PDFConfiguration {
234 |         .a4(margins: .a4)
    |                       `- error: cannot infer contextual base in reference to member 'a4'
235 |     }
236 |
[104/104] Compiling HtmlToPdf HtmlToPdf-AsyncStream.swift
/host/spi-builder-workspace/Sources/HtmlToPdf/HtmlToPdf-AsyncStream.swift:41:48: error: value of type 'Document' has no member 'print'
 39 |                     for document in documents {
 40 |                         taskGroup.addTask {
 41 |                             try await document.print(
    |                                                `- error: value of type 'Document' has no member 'print'
 42 |                                 configuration: configuration,
 43 |                                 createDirectories: createDirectories
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/HtmlToPdfTests/HtmlToPdf.xctestplan
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/31] Compiling ConcurrencyExtras LockIsolated.swift
[3/32] Compiling IssueReporting AppHostWarning.swift
[4/32] Compiling IssueReporting Deprecations.swift
[5/32] Compiling ConcurrencyExtras Result.swift
[6/32] Compiling ConcurrencyExtras UncheckedSendable.swift
[7/32] Compiling IssueReporting FailureObserver.swift
[8/32] Compiling IssueReporting LockIsolated.swift
[9/32] Compiling IssueReporting Rethrows.swift
[10/32] Compiling IssueReporting ErrorReporting.swift
[11/32] Emitting module ConcurrencyExtras
[12/32] Compiling ConcurrencyExtras MainSerialExecutor.swift
[13/32] Compiling ConcurrencyExtras Task.swift
[14/33] Compiling IssueReporting XCTest.swift
[15/33] Compiling IssueReporting IsTesting.swift
[16/33] Compiling IssueReporting IssueReporter.swift
[18/35] Compiling IssueReporting TestContext.swift
[19/35] Compiling IssueReporting Unimplemented.swift
[20/35] Compiling IssueReporting BreakpointReporter.swift
[21/35] Compiling IssueReporting FatalErrorReporter.swift
[22/35] Compiling IssueReporting RuntimeWarningReporter.swift
[23/35] Compiling IssueReporting ReportIssue.swift
[24/35] Emitting module IssueReporting
[31/35] Compiling IssueReporting SwiftTesting.swift
[32/35] Compiling IssueReporting UncheckedSendable.swift
[33/35] Compiling IssueReporting Warn.swift
[34/35] Compiling IssueReporting WithExpectedIssue.swift
[35/35] Compiling IssueReporting WithIssueContext.swift
[37/59] Compiling CombineSchedulers ImmediateScheduler.swift
[38/59] Compiling Clocks Timer.swift
[39/59] Compiling CombineSchedulers Deprecations.swift
[40/59] Compiling XCTestDynamicOverlay Exports.swift
[41/61] Emitting module CombineSchedulers
[42/61] Compiling CombineSchedulers AnyScheduler.swift
[43/61] Compiling CombineSchedulers Concurrency.swift
[44/61] Compiling CombineSchedulers UIScheduler.swift
[45/61] Compiling CombineSchedulers SwiftUI.swift
[46/61] Compiling CombineSchedulers TestScheduler.swift
[47/61] Compiling CombineSchedulers Timer.swift
[48/61] Compiling CombineSchedulers UIKit.swift
[49/61] Compiling CombineSchedulers Lock.swift
[50/61] Compiling CombineSchedulers NSRecursiveLock.swift
[51/61] Compiling Clocks ImmediateClock.swift
[52/61] Compiling Clocks _AsyncTimerSequence.swift
[53/61] Compiling Clocks Lock.swift
[54/61] Emitting module Clocks
[55/61] Compiling Clocks AnyClock.swift
[56/61] Compiling CombineSchedulers UnimplementedScheduler.swift
[57/62] Compiling Clocks SwiftUI.swift
[58/62] Compiling Clocks TestClock.swift
[59/62] Compiling Clocks UnimplementedClock.swift
[60/62] Emitting module XCTestDynamicOverlay
[61/62] Compiling XCTestDynamicOverlay Deprecations.swift
[65/87] Compiling Dependencies Deprecations.swift
[66/87] Compiling Dependencies Exports.swift
[67/87] Compiling Dependencies TypeName.swift
[68/90] Compiling Dependencies OpenURL.swift
[69/90] Compiling Dependencies TimeZone.swift
[70/90] Compiling Dependencies URLSession.swift
[71/90] Compiling Dependencies UUID.swift
[72/90] Compiling Dependencies WithRandomNumberGenerator.swift
[73/90] Compiling Dependencies AppEntryPoint.swift
[74/90] Compiling Dependencies Context.swift
[75/90] Compiling Dependencies Date.swift
[76/90] Compiling Dependencies FireAndForget.swift
[77/90] Compiling Dependencies Locale.swift
[78/90] Compiling Dependencies MainQueue.swift
[79/90] Compiling Dependencies MainRunLoop.swift
[80/90] Compiling Dependencies Assert.swift
[81/90] Compiling Dependencies Calendar.swift
[82/90] Compiling Dependencies Clocks.swift
[83/90] Emitting module Dependencies
[84/90] Compiling Dependencies Dependency.swift
[85/90] Compiling Dependencies DependencyContext.swift
[86/90] Compiling Dependencies DependencyKey.swift
[87/90] Compiling Dependencies DependencyValues.swift
[88/90] Compiling Dependencies PreviewTrait.swift
[89/90] Compiling Dependencies TestTrait.swift
[90/90] Compiling Dependencies WithDependencies.swift
[92/97] Compiling HtmlToPdf UIPrintPageRenderer.swift
[93/97] Compiling HtmlToPdf WebViewPool.swift
[94/97] Compiling HtmlToPdf NSPrintOperation.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[95/97] Emitting module HtmlToPdf
/host/spi-builder-workspace/Sources/HtmlToPdf/HtmlToPdf.swift:215:30: error: type 'CGSize' has no member 'paperSize'
213 |     public init(
214 |         margins: EdgeInsets,
215 |         paperSize: CGSize = .paperSize(),
    |                              `- error: type 'CGSize' has no member 'paperSize'
216 |         baseURL: URL? = nil,
217 |         orientation: PDFConfiguration.Orientation = .portrait
[96/97] Compiling HtmlToPdf HtmlToPdf-AsyncStream.swift
/host/spi-builder-workspace/Sources/HtmlToPdf/HtmlToPdf-AsyncStream.swift:41:48: error: value of type 'Document' has no member 'print'
 39 |                     for document in documents {
 40 |                         taskGroup.addTask {
 41 |                             try await document.print(
    |                                                `- error: value of type 'Document' has no member 'print'
 42 |                                 configuration: configuration,
 43 |                                 createDirectories: createDirectories
[97/97] Compiling HtmlToPdf HtmlToPdf.swift
/host/spi-builder-workspace/Sources/HtmlToPdf/HtmlToPdf.swift:215:30: error: type 'CGSize' has no member 'paperSize'
213 |     public init(
214 |         margins: EdgeInsets,
215 |         paperSize: CGSize = .paperSize(),
    |                              `- error: type 'CGSize' has no member 'paperSize'
216 |         baseURL: URL? = nil,
217 |         orientation: PDFConfiguration.Orientation = .portrait
/host/spi-builder-workspace/Sources/HtmlToPdf/HtmlToPdf.swift:63:40: error: value of type 'Document' has no member 'print'
 61 |             for document in self {
 62 |                 taskGroup.addTask {
 63 |                     try await document.print(
    |                                        `- error: value of type 'Document' has no member 'print'
 64 |                         configuration: configuration,
 65 |                         createDirectories: createDirectories
/host/spi-builder-workspace/Sources/HtmlToPdf/HtmlToPdf.swift:98:14: error: value of type 'Document' has no member 'print'
 96 |     ) async throws {
 97 |         try await Document(fileUrl: fileUrl, html: self)
 98 |             .print(
    |              `- error: value of type 'Document' has no member 'print'
 99 |                 configuration: configuration,
100 |                 createDirectories: createDirectories
/host/spi-builder-workspace/Sources/HtmlToPdf/HtmlToPdf.swift:134:11: error: value of type 'Document' has no member 'print'
132 |             fileUrl: directory.appendingPathComponent(title.replacingSlashesWithDivisionSlash()).appendingPathExtension("pdf"),
133 |             html: self
134 |         ).print(
    |           `- error: value of type 'Document' has no member 'print'
135 |             configuration: configuration,
136 |             createDirectories: createDirectories
/host/spi-builder-workspace/Sources/HtmlToPdf/HtmlToPdf.swift:234:10: error: cannot call value of non-function type 'PDFConfiguration'
232 |
233 |     public static var a4: PDFConfiguration {
234 |         .a4(margins: .a4)
    |          `- error: cannot call value of non-function type 'PDFConfiguration'
235 |     }
236 |
/host/spi-builder-workspace/Sources/HtmlToPdf/HtmlToPdf.swift:234:23: error: cannot infer contextual base in reference to member 'a4'
232 |
233 |     public static var a4: PDFConfiguration {
234 |         .a4(margins: .a4)
    |                       `- error: cannot infer contextual base in reference to member 'a4'
235 |     }
236 |
BUILD FAILURE 6.1 linux