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

Successful build of swift-html-to-pdf, reference 0.3.0 (d4bcfc), with Swift 5.10 for macOS (SPM) on 8 Sep 2024 23:10:46 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/coenttb/swift-html-to-pdf.git
Reference: 0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/coenttb/swift-html-to-pdf
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at d4bcfc6 further work on the <img> feature. (#4)
Cloned https://github.com/coenttb/swift-html-to-pdf.git
Revision (git rev-parse @):
d4bcfc68f4874b6a561a9199b412187b87e7289d
SUCCESS checkout https://github.com/coenttb/swift-html-to-pdf.git at 0.3.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-html-to-pdf",
      "name": "swift-html-to-pdf",
      "url": "https://github.com/coenttb/swift-html-to-pdf.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-html-to-pdf",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/coenttb/swift-html-to-pdf.git
[1/420] Fetching swift-html-to-pdf
Fetched https://github.com/coenttb/swift-html-to-pdf.git from cache (1.30s)
Creating working copy for https://github.com/coenttb/swift-html-to-pdf.git
Working copy of https://github.com/coenttb/swift-html-to-pdf.git resolved at 0.3.0 (d4bcfc6)
warning: '.resolve-product-dependencies': dependency 'swift-html-to-pdf' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/coenttb/swift-html-to-pdf.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/8] Compiling HtmlToPdf HtmlToPdf.swift
[4/8] Compiling HtmlToPdf WebViewPool.swift
[5/8] Compiling HtmlToPdf UIPrintPageRenderer.swift
[6/8] Compiling HtmlToPdf HtmlToPdf-AsyncStream.swift
[7/8] Emitting module HtmlToPdf
/Users/admin/builder/spi-builder-workspace/Sources/HtmlToPdf/NSPrintOperation.swift:89:36: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in Swift 6
        using webView: WKWebView = WKWebView(frame: .zero)
                                   ^
WebKit.WKWebView:205:24: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
    public convenience init(frame frameRect: NSRect)
                       ^
[8/8] Compiling HtmlToPdf NSPrintOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/HtmlToPdf/NSPrintOperation.swift:89:36: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in Swift 6
        using webView: WKWebView = WKWebView(frame: .zero)
                                   ^
WebKit.WKWebView:205:24: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
    public convenience init(frame frameRect: NSRect)
                       ^
Build complete! (6.81s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/HtmlToPdfTests/HtmlToPdf.xctestplan
Build complete.
Done.