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 26 Nov 2024 23:03:05 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.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/71935] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (14.46s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.67s)
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/5488] Fetching swift-atomics, swift-system
[2471/21085] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.99s)
[1990/17166] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.93s)
Fetched https://github.com/apple/swift-collections.git from cache (1.93s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.47s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.49s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.72s)
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
========================================
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
[1/196] Fetching wkhtmltopdf
Fetched https://github.com/vapor-community/wkhtmltopdf.git from cache (0.66s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.79s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.02s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.54s)
Fetched https://github.com/apple/swift-system.git from cache (0.54s)
Fetched https://github.com/apple/swift-collections.git from cache (0.54s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.02s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.02s)
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-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-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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/22] Write sources
[6/22] Copying PrivacyInfo.xcprivacy
[8/22] Write sources
[11/22] Compiling CNIOWASI CNIOWASI.c
[12/22] Compiling CNIOWindows shim.c
[12/22] Compiling CNIOWindows WSAStartup.c
[14/22] Write sources
[15/22] Compiling CNIOLinux liburing_shims.c
[16/22] Compiling CNIOLinux shim.c
[17/22] Write swift-version--7754E27361AE5C74.txt
[18/22] 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 PointerConformances.swift
[25/72] Compiling Atomics Primitives.native.swift
[26/72] Compiling Atomics Primitives.shims.swift
[27/72] Compiling Atomics AtomicInteger.swift
[28/72] Compiling Atomics AtomicBool.swift
[29/72] Compiling Atomics IntegerConformances.swift
[30/72] Compiling _NIOBase64 Base64.swift
[31/72] Emitting module _NIOBase64
[32/72] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[33/72] Compiling Atomics UnsafeAtomic.swift
[34/72] Compiling Atomics UnsafeAtomicLazyReference.swift
[35/72] Compiling Atomics ManagedAtomic.swift
[36/72] Compiling Atomics ManagedAtomicLazyReference.swift
[37/72] Emitting module InternalCollectionsUtilities
[38/72] Compiling Atomics AtomicStorage.swift
[39/72] Compiling Atomics AtomicValue.swift
[40/72] Compiling Atomics OptionalRawRepresentable.swift
[41/72] Compiling Atomics RawRepresentable.swift
[42/72] Compiling Atomics AtomicOptionalWrappable.swift
[43/72] Compiling Atomics AtomicReference.swift
[46/72] Compiling Atomics AtomicMemoryOrderings.swift
[47/72] Compiling Atomics DoubleWord.swift
[50/90] Compiling DequeModule _DequeBufferHeader.swift
[51/90] Compiling DequeModule Deque+CustomReflectable.swift
[52/90] Compiling DequeModule Deque+Descriptions.swift
[53/90] Compiling DequeModule Deque+Equatable.swift
[54/90] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[55/90] Compiling DequeModule _DequeBuffer.swift
[56/90] Compiling DequeModule _DequeSlot.swift
[57/91] Compiling Atomics IntegerOperations.swift
[58/91] Compiling Atomics Unmanaged extensions.swift
[59/91] Emitting module _NIODataStructures
[60/91] Compiling _NIODataStructures Heap.swift
[61/91] Compiling _NIODataStructures PriorityQueue.swift
[62/91] Compiling _NIODataStructures _TinyArray.swift
[63/91] Compiling DequeModule _UnsafeWrappedBuffer.swift
[64/91] Compiling DequeModule Deque+Testing.swift
[65/91] Compiling DequeModule Deque._Storage.swift
[66/91] Compiling DequeModule Deque._UnsafeHandle.swift
[67/91] Compiling DequeModule Deque.swift
[68/91] Compiling DequeModule Deque+Extras.swift
[69/91] Compiling DequeModule Deque+Hashable.swift
[70/91] Compiling DequeModule Deque+Codable.swift
[71/91] Compiling DequeModule Deque+Collection.swift
[72/91] Compiling NIOConcurrencyHelpers lock.swift
[73/91] Compiling NIOConcurrencyHelpers NIOLock.swift
[74/91] Emitting module NIOConcurrencyHelpers
[75/91] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[76/91] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[77/91] Compiling NIOConcurrencyHelpers atomics.swift
[78/91] Emitting module DequeModule
[91/91] Emitting module Atomics
[92/153] Compiling NIOCore NIOScheduledCallback.swift
[93/153] Compiling NIOCore NIOSendable.swift
[94/153] Compiling NIOCore PointerHelpers.swift
[95/153] Compiling NIOCore RecvByteBufferAllocator.swift
[96/153] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[97/153] Compiling NIOCore SocketAddresses.swift
[98/159] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[99/159] Compiling NIOCore EventLoopFuture+Deprecated.swift
[100/159] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[101/159] Compiling NIOCore EventLoopFuture.swift
[102/159] Compiling NIOCore FileDescriptor.swift
[103/159] Compiling NIOCore FileHandle.swift
[104/159] Compiling NIOCore FileRegion.swift
[105/159] Compiling NIOCore Linux.swift
[106/159] Compiling NIOCore MarkedCircularBuffer.swift
[107/159] Compiling NIOCore MulticastChannel.swift
[108/159] Compiling NIOCore NIOAny.swift
[109/159] Compiling NIOCore NIOCloseOnErrorHandler.swift
[110/159] Compiling NIOCore NIOLoopBound.swift
[111/159] Compiling NIOCore Codec.swift
[112/159] Compiling NIOCore ConvenienceOptionSupport.swift
[113/159] Compiling NIOCore DeadChannel.swift
[114/159] Compiling NIOCore DispatchQueue+WithFuture.swift
[115/159] Compiling NIOCore EventLoop+Deprecated.swift
[116/159] Compiling NIOCore EventLoop+SerialExecutor.swift
[117/159] Compiling NIOCore EventLoop.swift
[118/159] Compiling NIOCore SocketOptionProvider.swift
[119/159] Compiling NIOCore SystemCallHelpers.swift
[120/159] Compiling NIOCore TimeAmount+Duration.swift
[121/159] Compiling NIOCore TypeAssistedChannelHandler.swift
[122/159] Compiling NIOCore UniversalBootstrapSupport.swift
[123/159] Compiling NIOCore Utilities.swift
[124/159] Compiling NIOCore GlobalSingletons.swift
[125/159] Compiling NIOCore IO.swift
[126/159] Compiling NIOCore IOData.swift
[127/159] Compiling NIOCore IPProtocol.swift
[128/159] Compiling NIOCore IntegerBitPacking.swift
[129/159] Compiling NIOCore IntegerTypes.swift
[130/159] Compiling NIOCore Interfaces.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 AddressedEnvelope.swift
[139/159] Compiling NIOCore AsyncAwaitSupport.swift
[140/159] Compiling NIOCore AsyncChannel.swift
[141/159] Compiling NIOCore AsyncChannelHandler.swift
[142/159] Compiling NIOCore AsyncChannelInboundStream.swift
[143/159] Compiling NIOCore AsyncChannelOutboundWriter.swift
[144/159] Compiling NIOCore NIOAsyncSequenceProducer.swift
[145/159] Compiling NIOCore Channel.swift
[146/159] Compiling NIOCore ChannelHandler.swift
[147/159] Compiling NIOCore ChannelHandlers.swift
[148/159] Compiling NIOCore ChannelInvoker.swift
[149/159] Compiling NIOCore ChannelOption.swift
[150/159] Compiling NIOCore ChannelPipeline.swift
[151/159] Compiling NIOCore CircularBuffer.swift
[152/159] Compiling NIOCore ByteBuffer-core.swift
[153/159] Compiling NIOCore ByteBuffer-hex.swift
[154/159] Compiling NIOCore ByteBuffer-int.swift
[155/159] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[156/159] Compiling NIOCore ByteBuffer-multi-int.swift
[157/159] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[158/159] Compiling NIOCore ByteBuffer-views.swift
[159/159] Emitting module NIOCore
[160/213] Compiling NIOEmbedded Embedded.swift
[161/213] Compiling NIOEmbedded AsyncTestingChannel.swift
[162/213] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[163/213] Emitting module NIOEmbedded
[164/213] Compiling NIOPosix GetaddrinfoResolver.swift
[165/213] Compiling NIOPosix HappyEyeballs.swift
[166/213] Compiling NIOPosix IO.swift
[167/213] Compiling NIOPosix IntegerBitPacking.swift
[168/213] Compiling NIOPosix IntegerTypes.swift
[169/213] Compiling NIOPosix Linux.swift
[170/218] Compiling NIOPosix Selectable.swift
[171/218] Compiling NIOPosix SelectableChannel.swift
[172/218] Compiling NIOPosix SelectableEventLoop.swift
[173/218] Compiling NIOPosix SelectorEpoll.swift
[174/218] Compiling NIOPosix SelectorGeneric.swift
[175/218] Compiling NIOPosix PendingWritesManager.swift
[176/218] Compiling NIOPosix PipeChannel.swift
[177/218] Compiling NIOPosix PipePair.swift
[178/218] Compiling NIOPosix PointerHelpers.swift
[179/218] Compiling NIOPosix Pool.swift
[180/218] Compiling NIOPosix SelectorKqueue.swift
[181/218] Compiling NIOPosix SelectorUring.swift
[182/218] Compiling NIOPosix ServerSocket.swift
[183/218] Compiling NIOPosix Socket.swift
[184/218] Compiling NIOPosix SocketChannel.swift
[185/218] Compiling NIOPosix PooledRecvBufferAllocator.swift
[186/218] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[187/218] Compiling NIOPosix PosixSingletons.swift
[188/218] Compiling NIOPosix RawSocketBootstrap.swift
[189/218] Compiling NIOPosix Resolver.swift
[190/218] Compiling NIOPosix BaseStreamSocketChannel.swift
[191/218] Compiling NIOPosix Bootstrap.swift
[192/218] Compiling NIOPosix ControlMessage.swift
[193/218] Compiling NIOPosix DatagramVectorReadManager.swift
[194/218] Compiling NIOPosix Errors+Any.swift
[195/218] Compiling NIOPosix FileDescriptor.swift
[196/218] Compiling NIOPosix BSDSocketAPICommon.swift
[197/218] Compiling NIOPosix BSDSocketAPIPosix.swift
[198/218] Compiling NIOPosix BSDSocketAPIWindows.swift
[199/218] Compiling NIOPosix BaseSocket.swift
[200/218] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[201/218] Compiling NIOPosix BaseSocketChannel.swift
[202/218] Emitting module NIOPosix
[203/218] Compiling NIOPosix SocketProtocols.swift
[204/218] Compiling NIOPosix System.swift
[205/218] Compiling NIOPosix Thread.swift
[206/218] Compiling NIOPosix ThreadPosix.swift
[207/218] Compiling NIOPosix ThreadWindows.swift
[208/218] Compiling NIOPosix LinuxCPUSet.swift
[209/218] Compiling NIOPosix LinuxUring.swift
[210/218] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[211/218] Compiling NIOPosix NIOThreadPool.swift
[212/218] Compiling NIOPosix NonBlockingFileIO.swift
[213/218] Compiling NIOPosix PendingDatagramWritesManager.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.09s)
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.