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 Linux on 26 Nov 2024 22:57:56 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

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 /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/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/vapor-community/wkhtmltopdf.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-nio.git
[1/71935] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.34s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.71s)
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
[535/5488] Fetching swift-atomics, swift-system
[5489/21085] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.45s)
[3441/17166] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.39s)
Fetched https://github.com/apple/swift-collections.git from cache (1.42s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.69s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.46s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (2.80s)
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/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
Building for debugging...
[0/21] Write sources
[10/21] Compiling CNIOWindows shim.c
[11/21] Compiling CNIOWindows WSAStartup.c
[12/21] Compiling CNIOWASI CNIOWASI.c
[13/21] Write sources
[14/21] Compiling CNIOLinux liburing_shims.c
[15/21] Compiling CNIODarwin shim.c
[16/21] Compiling CNIOLinux shim.c
[17/21] Compiling _AtomicsShims.c
[18/21] Write swift-version-24593BA9C3E375BF.txt
[19/63] Compiling c-nioatomics.c
[20/63] Compiling c-atomics.c
[22/69] Emitting module NIOConcurrencyHelpers
[23/69] Compiling Atomics Primitives.shims.swift
[24/69] Compiling Atomics AtomicInteger.swift
[25/71] Compiling InternalCollectionsUtilities _SortedCollection.swift
[26/71] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[27/71] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[28/71] Compiling InternalCollectionsUtilities Specialize.swift
[29/73] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[30/73] Emitting module InternalCollectionsUtilities
[31/73] Emitting module _NIOBase64
[32/73] Compiling _NIOBase64 Base64.swift
[33/73] Compiling Atomics AtomicOptionalWrappable.swift
[34/73] Compiling Atomics IntegerConformances.swift
[37/74] Compiling InternalCollectionsUtilities UInt+reversed.swift
[38/74] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[39/74] Compiling Atomics AtomicReference.swift
[40/74] Compiling Atomics AtomicStorage.swift
[41/74] Compiling Atomics AtomicValue.swift
[42/74] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[43/74] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[49/74] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[50/74] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[51/74] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[55/74] Compiling _NIODataStructures PriorityQueue.swift
[56/74] Compiling _NIODataStructures _TinyArray.swift
[57/74] Emitting module Atomics
[68/75] Compiling Atomics IntegerOperations.swift
[69/75] Compiling Atomics Unmanaged extensions.swift
[71/91] Compiling DequeModule Deque+CustomReflectable.swift
[72/91] Compiling DequeModule Deque+Descriptions.swift
[73/93] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[74/93] Compiling NIOConcurrencyHelpers NIOLock.swift
[75/93] Emitting module _NIODataStructures
[76/93] Compiling _NIODataStructures Heap.swift
[77/94] Compiling NIOConcurrencyHelpers atomics.swift
[78/94] Compiling NIOConcurrencyHelpers lock.swift
[81/95] Compiling DequeModule _DequeBuffer.swift
[82/95] Compiling DequeModule _DequeBufferHeader.swift
[83/95] Compiling DequeModule _DequeSlot.swift
[84/95] Compiling DequeModule _UnsafeWrappedBuffer.swift
[85/95] Compiling DequeModule Deque._UnsafeHandle.swift
[86/95] Compiling DequeModule Deque.swift
[87/95] Compiling DequeModule Deque+Equatable.swift
[88/95] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[89/95] Compiling DequeModule Deque+Testing.swift
[90/95] Compiling DequeModule Deque._Storage.swift
[91/95] Compiling DequeModule Deque+Extras.swift
[92/95] Compiling DequeModule Deque+Hashable.swift
[93/95] Compiling DequeModule Deque+Codable.swift
[94/95] Compiling DequeModule Deque+Collection.swift
[95/95] Emitting module DequeModule
[97/156] Compiling NIOCore MulticastChannel.swift
[98/156] Compiling NIOCore NIOAny.swift
[99/156] Compiling NIOCore NIOCloseOnErrorHandler.swift
[100/156] Compiling NIOCore NIOLoopBound.swift
[101/156] Compiling NIOCore NIOScheduledCallback.swift
[102/156] Compiling NIOCore NIOSendable.swift
[103/156] Compiling NIOCore PointerHelpers.swift
[104/156] Compiling NIOCore RecvByteBufferAllocator.swift
[105/164] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[106/164] Compiling NIOCore SocketAddresses.swift
[107/164] Compiling NIOCore SocketOptionProvider.swift
[108/164] Compiling NIOCore SystemCallHelpers.swift
[109/164] Compiling NIOCore TimeAmount+Duration.swift
[110/164] Compiling NIOCore TypeAssistedChannelHandler.swift
[111/164] Compiling NIOCore UniversalBootstrapSupport.swift
[112/164] Compiling NIOCore Utilities.swift
[113/164] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[114/164] Compiling NIOCore EventLoopFuture+Deprecated.swift
[115/164] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[116/164] Compiling NIOCore EventLoopFuture.swift
[117/164] Compiling NIOCore FileDescriptor.swift
[118/164] Compiling NIOCore FileHandle.swift
[119/164] Compiling NIOCore FileRegion.swift
[120/164] Compiling NIOCore GlobalSingletons.swift
[121/164] Compiling NIOCore AddressedEnvelope.swift
[122/164] Compiling NIOCore AsyncAwaitSupport.swift
[123/164] Compiling NIOCore AsyncChannel.swift
[124/164] Compiling NIOCore AsyncChannelHandler.swift
[125/164] Compiling NIOCore AsyncChannelInboundStream.swift
[126/164] Compiling NIOCore AsyncChannelOutboundWriter.swift
[127/164] Compiling NIOCore NIOAsyncSequenceProducer.swift
[128/164] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[129/164] Compiling NIOCore NIOAsyncWriter.swift
[130/164] Compiling NIOCore IO.swift
[131/164] Compiling NIOCore IOData.swift
[132/164] Compiling NIOCore IPProtocol.swift
[133/164] Compiling NIOCore IntegerBitPacking.swift
[134/164] Compiling NIOCore IntegerTypes.swift
[135/164] Compiling NIOCore Interfaces.swift
[136/164] Compiling NIOCore Linux.swift
[137/164] Compiling NIOCore MarkedCircularBuffer.swift
[138/164] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[139/164] Compiling NIOCore BSDSocketAPI.swift
[140/164] Compiling NIOCore ByteBuffer-aux.swift
[141/164] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[142/164] Compiling NIOCore ByteBuffer-conversions.swift
[143/164] Compiling NIOCore ByteBuffer-core.swift
[144/164] Compiling NIOCore ByteBuffer-hex.swift
[145/164] Compiling NIOCore ByteBuffer-int.swift
[146/164] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[147/164] Compiling NIOCore ByteBuffer-multi-int.swift
[148/164] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[149/164] Compiling NIOCore ByteBuffer-views.swift
[150/164] Compiling NIOCore Channel.swift
[151/164] Compiling NIOCore ChannelHandler.swift
[152/164] Compiling NIOCore ChannelHandlers.swift
[153/164] Compiling NIOCore ChannelInvoker.swift
[154/164] Compiling NIOCore ChannelOption.swift
[155/164] Compiling NIOCore ChannelPipeline.swift
[156/164] Emitting module NIOCore
[157/164] Compiling NIOCore CircularBuffer.swift
[158/164] Compiling NIOCore Codec.swift
[159/164] Compiling NIOCore ConvenienceOptionSupport.swift
[160/164] Compiling NIOCore DeadChannel.swift
[161/164] Compiling NIOCore DispatchQueue+WithFuture.swift
[162/164] Compiling NIOCore EventLoop+Deprecated.swift
[163/164] Compiling NIOCore EventLoop+SerialExecutor.swift
[164/164] Compiling NIOCore EventLoop.swift
[166/217] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[167/217] Emitting module NIOEmbedded
[168/217] Compiling NIOEmbedded AsyncTestingChannel.swift
[169/217] Compiling NIOEmbedded Embedded.swift
[171/218] Emitting module NIOPosix
[172/224] Compiling NIOPosix ServerSocket.swift
[173/224] Compiling NIOPosix Socket.swift
[174/224] Compiling NIOPosix SocketChannel.swift
[175/224] Compiling NIOPosix SocketProtocols.swift
[176/224] Compiling NIOPosix System.swift
[177/224] Compiling NIOPosix Thread.swift
[178/224] Compiling NIOPosix Pool.swift
[179/224] Compiling NIOPosix PooledRecvBufferAllocator.swift
[180/224] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[181/224] Compiling NIOPosix PosixSingletons.swift
[182/224] Compiling NIOPosix RawSocketBootstrap.swift
[183/224] Compiling NIOPosix Resolver.swift
[184/224] Compiling NIOPosix Selectable.swift
[185/224] Compiling NIOPosix SelectableChannel.swift
[186/224] Compiling NIOPosix SelectableEventLoop.swift
[187/224] Compiling NIOPosix SelectorEpoll.swift
[188/224] Compiling NIOPosix SelectorGeneric.swift
[189/224] Compiling NIOPosix SelectorKqueue.swift
[190/224] Compiling NIOPosix SelectorUring.swift
[191/224] Compiling NIOPosix ThreadPosix.swift
[192/224] Compiling NIOPosix ThreadWindows.swift
[193/224] Compiling NIOPosix UnsafeTransfer.swift
[194/224] Compiling NIOPosix Utilities.swift
[195/224] Compiling NIOPosix VsockAddress.swift
[196/224] Compiling NIOPosix VsockChannelEvents.swift
[197/224] Compiling NIOPosix Bootstrap.swift
[198/224] Compiling NIOPosix ControlMessage.swift
[199/224] Compiling NIOPosix DatagramVectorReadManager.swift
[200/224] Compiling NIOPosix Errors+Any.swift
[201/224] Compiling NIOPosix FileDescriptor.swift
[202/224] Compiling NIOPosix GetaddrinfoResolver.swift
[203/224] Compiling NIOPosix HappyEyeballs.swift
[204/224] Compiling NIOPosix IO.swift
[205/224] Compiling NIOPosix IntegerBitPacking.swift
[206/224] Compiling NIOPosix IntegerTypes.swift
[207/224] Compiling NIOPosix Linux.swift
[208/224] Compiling NIOPosix LinuxCPUSet.swift
[209/224] Compiling NIOPosix LinuxUring.swift
[210/224] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[211/224] Compiling NIOPosix BSDSocketAPICommon.swift
[212/224] Compiling NIOPosix BSDSocketAPIPosix.swift
[213/224] Compiling NIOPosix BSDSocketAPIWindows.swift
[214/224] Compiling NIOPosix BaseSocket.swift
[215/224] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[216/224] Compiling NIOPosix BaseSocketChannel.swift
[217/224] Compiling NIOPosix BaseStreamSocketChannel.swift
[218/224] Compiling NIOPosix NIOThreadPool.swift
[219/224] Compiling NIOPosix NonBlockingFileIO.swift
[220/224] Compiling NIOPosix PendingDatagramWritesManager.swift
[221/224] Compiling NIOPosix PendingWritesManager.swift
[222/224] Compiling NIOPosix PipeChannel.swift
[223/224] Compiling NIOPosix PipePair.swift
[224/224] Compiling NIOPosix PointerHelpers.swift
[226/227] Emitting module NIO
[227/227] Compiling NIO Exports.swift
[229/232] Compiling wkhtmltopdf Document.swift
[230/232] Compiling wkhtmltopdf Page.swift
[231/232] Emitting module wkhtmltopdf
[232/232] Compiling wkhtmltopdf Document+Generate.swift
/host/spi-builder-workspace/Sources/wkhtmltopdf/Document+Generate.swift:42:16: warning: 'launchPath' is deprecated: renamed to 'executableURL'
40 |             let wk = Process()
41 |             let stdout = Pipe()
42 |             wk.launchPath = self.launchPath
   |                |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |                `- note: use 'executableURL' instead
43 |             wk.arguments = wkArgs
44 |             wk.arguments?.append("-") // output to stdout
/host/spi-builder-workspace/Sources/wkhtmltopdf/Document+Generate.swift:46:16: warning: 'launch()' is deprecated: renamed to 'run'
44 |             wk.arguments?.append("-") // output to stdout
45 |             wk.standardOutput = stdout
46 |             wk.launch()
   |                |- warning: 'launch()' is deprecated: renamed to 'run'
   |                `- note: use 'run' instead
47 |
48 |             let pdf = stdout.fileHandleForReading.readDataToEndOfFile()
/host/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,
/host/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! (72.20s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.