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 main (804176), with Swift 5.10 for macOS (SPM) on 9 Sep 2024 23:55:20 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/coenttb/swift-html-to-pdf
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8041767 Update README.md
Cloned https://github.com/coenttb/swift-html-to-pdf.git
Revision (git rev-parse @):
80417671ab977cc58e964f57f80e48c0d3534e7d
SUCCESS checkout https://github.com/coenttb/swift-html-to-pdf.git at main
========================================
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/431] Fetching swift-html-to-pdf
Fetched https://github.com/coenttb/swift-html-to-pdf.git from cache (1.33s)
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 main (8041767)
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 WebViewPool.swift
[4/8] Compiling HtmlToPdf HtmlToPdf.swift
[5/8] Compiling HtmlToPdf HtmlToPdf-AsyncStream.swift
[6/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)
                       ^
[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 UIPrintPageRenderer.swift
Build complete! (6.67s)
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.