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 wkhtmltopdf, reference main (5db603), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 10:07:22 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/wkhtmltopdf.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vapor-community/wkhtmltopdf
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5db6037 Github action added (#14)
Cloned https://github.com/vapor-community/wkhtmltopdf.git
Revision (git rev-parse @):
5db60379ddd59ae458276839cfd74730f4ef5407
SUCCESS checkout https://github.com/vapor-community/wkhtmltopdf.git at main
Fetching https://github.com/apple/swift-nio.git
[1/71091] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.21s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.80s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1569] Fetching swift-atomics
[64/5470] Fetching swift-atomics, swift-system
[2369/20945] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (2.12s)
Fetched https://github.com/apple/swift-collections.git from cache (2.12s)
Fetched https://github.com/apple/swift-atomics.git from cache (2.12s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.52s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.53s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.78s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.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": "wkhtmltopdf",
      "name": "wkhtmltopdf",
      "url": "https://github.com/vapor-community/wkhtmltopdf.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/wkhtmltopdf",
      "dependencies": [
        {
          "identity": "swift-nio",
          "name": "swift-nio",
          "url": "https://github.com/apple/swift-nio.git",
          "version": "2.76.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
          "dependencies": [
            {
              "identity": "swift-atomics",
              "name": "swift-atomics",
              "url": "https://github.com/apple/swift-atomics.git",
              "version": "1.2.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-collections",
              "name": "swift-collections",
              "url": "https://github.com/apple/swift-collections.git",
              "version": "1.1.4",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-system",
              "name": "swift-system",
              "url": "https://github.com/apple/swift-system.git",
              "version": "1.4.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/vapor-community/wkhtmltopdf.git
[2/196] Fetching wkhtmltopdf
Fetched https://github.com/vapor-community/wkhtmltopdf.git from cache (0.74s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.77s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.03s)
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.57s)
Fetched https://github.com/apple/swift-collections.git from cache (0.57s)
Fetched https://github.com/apple/swift-system.git from cache (0.57s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.03s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.04s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.03s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.1
Creating working copy for https://github.com/vapor-community/wkhtmltopdf.git
Working copy of https://github.com/vapor-community/wkhtmltopdf.git resolved at main (5db6037)
warning: '.resolve-product-dependencies': dependency 'wkhtmltopdf' is not used by any target
Found 1 product dependencies
  - swift-nio
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/vapor-community/wkhtmltopdf.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/22] Write sources
[7/22] Copying PrivacyInfo.xcprivacy
[8/22] Write sources
[11/22] Write swift-version--7754E27361AE5C74.txt
[12/22] Write sources
[13/22] Compiling CNIOWindows shim.c
[14/22] Compiling CNIOWASI CNIOWASI.c
[14/22] Compiling CNIOWindows WSAStartup.c
[16/22] Compiling CNIOLinux liburing_shims.c
[17/22] Compiling CNIOLinux shim.c
[18/46] Compiling _AtomicsShims.c
[19/65] Compiling CNIODarwin shim.c
[20/65] Compiling c-nioatomics.c
[21/65] Compiling c-atomics.c
[23/71] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[24/72] Compiling Atomics AtomicOptionalWrappable.swift
[25/72] Compiling Atomics AtomicReference.swift
[26/72] Compiling Atomics PointerConformances.swift
[27/72] Compiling Atomics Primitives.native.swift
[28/72] Compiling _NIOBase64 Base64.swift
[29/72] Emitting module _NIOBase64
[30/72] Emitting module InternalCollectionsUtilities
[31/72] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[32/72] Compiling Atomics Primitives.shims.swift
[33/72] Compiling Atomics AtomicInteger.swift
[34/72] Compiling Atomics UnsafeAtomic.swift
[35/72] Compiling Atomics UnsafeAtomicLazyReference.swift
[36/72] Compiling Atomics ManagedAtomic.swift
[37/72] Compiling Atomics ManagedAtomicLazyReference.swift
[38/72] Compiling Atomics AtomicBool.swift
[39/72] Compiling Atomics IntegerConformances.swift
[40/72] Compiling Atomics OptionalRawRepresentable.swift
[41/72] Compiling Atomics RawRepresentable.swift
[42/72] Compiling Atomics AtomicMemoryOrderings.swift
[43/72] Compiling Atomics DoubleWord.swift
[44/88] Compiling _NIODataStructures PriorityQueue.swift
[45/88] Emitting module _NIODataStructures
[46/88] Compiling _NIODataStructures _TinyArray.swift
[47/88] Compiling _NIODataStructures Heap.swift
[48/88] Compiling DequeModule _DequeBufferHeader.swift
[49/88] Compiling DequeModule _DequeBuffer.swift
[50/88] Compiling DequeModule _DequeSlot.swift
[51/89] Compiling NIOConcurrencyHelpers lock.swift
[52/89] Compiling DequeModule _UnsafeWrappedBuffer.swift
[53/89] Compiling DequeModule Deque+Testing.swift
[54/89] Compiling DequeModule Deque._Storage.swift
[55/89] Compiling DequeModule Deque+CustomReflectable.swift
[56/89] Compiling DequeModule Deque+Descriptions.swift
[57/89] Compiling DequeModule Deque._UnsafeHandle.swift
[58/89] Compiling DequeModule Deque.swift
[59/89] Compiling DequeModule Deque+Extras.swift
[60/89] Compiling DequeModule Deque+Hashable.swift
[61/89] Compiling DequeModule Deque+Equatable.swift
[62/89] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[63/89] Emitting module NIOConcurrencyHelpers
[64/89] Compiling NIOConcurrencyHelpers NIOLock.swift
[65/89] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[66/89] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[67/89] Compiling NIOConcurrencyHelpers atomics.swift
[68/89] Compiling DequeModule Deque+Codable.swift
[69/89] Compiling DequeModule Deque+Collection.swift
[74/89] Compiling Atomics AtomicStorage.swift
[75/89] Compiling Atomics AtomicValue.swift
[80/89] Emitting module Atomics
[89/91] Emitting module DequeModule
[90/91] Compiling Atomics IntegerOperations.swift
[91/91] Compiling Atomics Unmanaged extensions.swift
[92/153] Compiling NIOCore Linux.swift
[93/153] Compiling NIOCore MarkedCircularBuffer.swift
[94/153] Compiling NIOCore MulticastChannel.swift
[95/153] Compiling NIOCore NIOAny.swift
[96/153] Compiling NIOCore NIOCloseOnErrorHandler.swift
[97/153] Compiling NIOCore NIOLoopBound.swift
[98/159] Compiling NIOCore GlobalSingletons.swift
[99/159] Compiling NIOCore IO.swift
[100/159] Compiling NIOCore IOData.swift
[101/159] Compiling NIOCore IPProtocol.swift
[102/159] Compiling NIOCore IntegerBitPacking.swift
[103/159] Compiling NIOCore IntegerTypes.swift
[104/159] Compiling NIOCore Interfaces.swift
[105/159] Compiling NIOCore SocketOptionProvider.swift
[106/159] Compiling NIOCore SystemCallHelpers.swift
[107/159] Compiling NIOCore TimeAmount+Duration.swift
[108/159] Compiling NIOCore TypeAssistedChannelHandler.swift
[109/159] Compiling NIOCore UniversalBootstrapSupport.swift
[110/159] Compiling NIOCore Utilities.swift
[111/159] Compiling NIOCore NIOScheduledCallback.swift
[112/159] Compiling NIOCore NIOSendable.swift
[113/159] Compiling NIOCore PointerHelpers.swift
[114/159] Compiling NIOCore RecvByteBufferAllocator.swift
[115/159] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[116/159] Compiling NIOCore SocketAddresses.swift
[117/159] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[118/159] Compiling NIOCore EventLoopFuture+Deprecated.swift
[119/159] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[120/159] Compiling NIOCore EventLoopFuture.swift
[121/159] Compiling NIOCore FileDescriptor.swift
[122/159] Compiling NIOCore FileHandle.swift
[123/159] Compiling NIOCore FileRegion.swift
[124/159] Compiling NIOCore Codec.swift
[125/159] Compiling NIOCore ConvenienceOptionSupport.swift
[126/159] Compiling NIOCore DeadChannel.swift
[127/159] Compiling NIOCore DispatchQueue+WithFuture.swift
[128/159] Compiling NIOCore EventLoop+Deprecated.swift
[129/159] Compiling NIOCore EventLoop+SerialExecutor.swift
[130/159] Compiling NIOCore EventLoop.swift
[131/159] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[132/159] Compiling NIOCore NIOAsyncWriter.swift
[133/159] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[134/159] Compiling NIOCore BSDSocketAPI.swift
[135/159] Compiling NIOCore ByteBuffer-aux.swift
[136/159] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[137/159] Compiling NIOCore ByteBuffer-conversions.swift
[138/159] Compiling NIOCore Channel.swift
[139/159] Compiling NIOCore ChannelHandler.swift
[140/159] Compiling NIOCore ChannelHandlers.swift
[141/159] Compiling NIOCore ChannelInvoker.swift
[142/159] Compiling NIOCore ChannelOption.swift
[143/159] Compiling NIOCore ChannelPipeline.swift
[144/159] Compiling NIOCore CircularBuffer.swift
[145/159] Compiling NIOCore ByteBuffer-core.swift
[146/159] Compiling NIOCore ByteBuffer-hex.swift
[147/159] Compiling NIOCore ByteBuffer-int.swift
[148/159] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[149/159] Compiling NIOCore ByteBuffer-multi-int.swift
[150/159] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[151/159] Compiling NIOCore ByteBuffer-views.swift
[152/159] Emitting module NIOCore
[153/159] Compiling NIOCore AddressedEnvelope.swift
[154/159] Compiling NIOCore AsyncAwaitSupport.swift
[155/159] Compiling NIOCore AsyncChannel.swift
[156/159] Compiling NIOCore AsyncChannelHandler.swift
[157/159] Compiling NIOCore AsyncChannelInboundStream.swift
[158/159] Compiling NIOCore AsyncChannelOutboundWriter.swift
[159/159] Compiling NIOCore NIOAsyncSequenceProducer.swift
[160/213] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[161/213] Emitting module NIOEmbedded
[162/213] Compiling NIOEmbedded Embedded.swift
[163/213] Compiling NIOEmbedded AsyncTestingChannel.swift
[164/213] Compiling NIOPosix PooledRecvBufferAllocator.swift
[165/213] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[166/213] Compiling NIOPosix PosixSingletons.swift
[167/213] Compiling NIOPosix RawSocketBootstrap.swift
[168/213] Compiling NIOPosix Resolver.swift
[169/218] Compiling NIOPosix SocketProtocols.swift
[170/218] Compiling NIOPosix System.swift
[171/218] Compiling NIOPosix Thread.swift
[172/218] Compiling NIOPosix ThreadPosix.swift
[173/218] Compiling NIOPosix ThreadWindows.swift
[174/218] Compiling NIOPosix BSDSocketAPICommon.swift
[175/218] Compiling NIOPosix BSDSocketAPIPosix.swift
[176/218] Compiling NIOPosix BSDSocketAPIWindows.swift
[177/218] Compiling NIOPosix BaseSocket.swift
[178/218] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[179/218] Compiling NIOPosix BaseSocketChannel.swift
[180/218] Compiling NIOPosix GetaddrinfoResolver.swift
[181/218] Compiling NIOPosix HappyEyeballs.swift
[182/218] Compiling NIOPosix IO.swift
[183/218] Compiling NIOPosix IntegerBitPacking.swift
[184/218] Compiling NIOPosix IntegerTypes.swift
[185/218] Compiling NIOPosix Linux.swift
[186/218] Compiling NIOPosix Selectable.swift
[187/218] Compiling NIOPosix SelectableChannel.swift
[188/218] Compiling NIOPosix SelectableEventLoop.swift
[189/218] Compiling NIOPosix SelectorEpoll.swift
[190/218] Compiling NIOPosix SelectorGeneric.swift
[191/218] Compiling NIOPosix SelectorKqueue.swift
[192/218] Compiling NIOPosix SelectorUring.swift
[193/218] Compiling NIOPosix ServerSocket.swift
[194/218] Compiling NIOPosix Socket.swift
[195/218] Compiling NIOPosix SocketChannel.swift
[196/218] Emitting module NIOPosix
[197/218] Compiling NIOPosix BaseStreamSocketChannel.swift
[198/218] Compiling NIOPosix Bootstrap.swift
[199/218] Compiling NIOPosix ControlMessage.swift
[200/218] Compiling NIOPosix DatagramVectorReadManager.swift
[201/218] Compiling NIOPosix Errors+Any.swift
[202/218] Compiling NIOPosix FileDescriptor.swift
[203/218] Compiling NIOPosix LinuxCPUSet.swift
[204/218] Compiling NIOPosix LinuxUring.swift
[205/218] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[206/218] Compiling NIOPosix NIOThreadPool.swift
[207/218] Compiling NIOPosix NonBlockingFileIO.swift
[208/218] Compiling NIOPosix PendingDatagramWritesManager.swift
[209/218] Compiling NIOPosix PendingWritesManager.swift
[210/218] Compiling NIOPosix PipeChannel.swift
[211/218] Compiling NIOPosix PipePair.swift
[212/218] Compiling NIOPosix PointerHelpers.swift
[213/218] Compiling NIOPosix Pool.swift
[214/218] Compiling NIOPosix UnsafeTransfer.swift
[215/218] Compiling NIOPosix Utilities.swift
[216/218] Compiling NIOPosix VsockAddress.swift
[217/218] Compiling NIOPosix VsockChannelEvents.swift
[218/218] Compiling NIOPosix resource_bundle_accessor.swift
[219/220] Emitting module NIO
[220/220] Compiling NIO Exports.swift
[221/224] Compiling wkhtmltopdf Page.swift
[222/224] Compiling wkhtmltopdf Document.swift
[223/224] Emitting module wkhtmltopdf
[224/224] Compiling wkhtmltopdf Document+Generate.swift
/Users/admin/builder/spi-builder-workspace/Sources/wkhtmltopdf/Document+Generate.swift:16:27: warning: capture of 'self' with non-sendable type 'Document' in a `@Sendable` closure; this is an error in the Swift 6 language mode
14 |             // Save input pages to temp files, and build up args to wkhtmltopdf
15 |             var wkArgs: [String] = [
16 |                 "--zoom", self.zoom,
   |                           `- warning: capture of 'self' with non-sendable type 'Document' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 |                 "--quiet",
18 |                 "-s", self.paperSize,
/Users/admin/builder/spi-builder-workspace/Sources/wkhtmltopdf/Document.swift:1:14: note: class 'Document' does not conform to the 'Sendable' protocol
 1 | public class Document {
   |              `- note: class 'Document' does not conform to the 'Sendable' protocol
 2 |
 3 |     let zoom: String
Build complete! (35.12s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.13.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    }
  ],
  "manifest_display_name" : "wkhtmltopdf",
  "name" : "wkhtmltopdf",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "wkhtmltopdf",
      "targets" : [
        "wkhtmltopdf"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "wkhtmltopdfTests",
      "module_type" : "SwiftTarget",
      "name" : "wkhtmltopdfTests",
      "path" : "Tests/wkhtmltopdfTests",
      "sources" : [
        "wkhtmltopdfTests.swift"
      ],
      "target_dependencies" : [
        "wkhtmltopdf"
      ],
      "type" : "test"
    },
    {
      "c99name" : "wkhtmltopdf",
      "module_type" : "SwiftTarget",
      "name" : "wkhtmltopdf",
      "path" : "Sources/wkhtmltopdf",
      "product_dependencies" : [
        "NIO"
      ],
      "product_memberships" : [
        "wkhtmltopdf"
      ],
      "sources" : [
        "Document+Generate.swift",
        "Document.swift",
        "Page.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.