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

Failed to build PDFAuthor, reference 0.2.0 (a360d6), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 01:23:13 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tribalworldwidelondon/PDFAuthor.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tribalworldwidelondon/PDFAuthor
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at a360d6a Fixed missing imports
Cloned https://github.com/tribalworldwidelondon/PDFAuthor.git
Revision (git rev-parse @):
a360d6aa8b61ecc0fe3ad12b996c77a7259a6567
SUCCESS checkout https://github.com/tribalworldwidelondon/PDFAuthor.git at 0.2.0
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/tribalworldwidelondon/CassowarySwift.git
[1/1257] Fetching cwlpreconditiontesting
[39/1452] Fetching cwlpreconditiontesting, cassowaryswift
Fetched https://github.com/tribalworldwidelondon/CassowarySwift.git from cache (0.74s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.75s)
Computing version for https://github.com/tribalworldwidelondon/CassowarySwift.git
Computed https://github.com/tribalworldwidelondon/CassowarySwift.git at 2.0.1 (1.34s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 1.2.0 (0.56s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.75s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 1.2.0 (3.45s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 1.2.0
Creating working copy for https://github.com/tribalworldwidelondon/CassowarySwift.git
Working copy of https://github.com/tribalworldwidelondon/CassowarySwift.git resolved at 2.0.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 1.2.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": "pdfauthor",
      "name": "PDFAuthor",
      "url": "https://github.com/tribalworldwidelondon/PDFAuthor.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PDFAuthor",
      "dependencies": [
        {
          "identity": "cwlpreconditiontesting",
          "name": "CwlPreconditionTesting",
          "url": "https://github.com/mattgallagher/CwlPreconditionTesting.git",
          "version": "1.2.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CwlPreconditionTesting",
          "dependencies": [
            {
              "identity": "cwlcatchexception",
              "name": "CwlCatchException",
              "url": "https://github.com/mattgallagher/CwlCatchException.git",
              "version": "1.2.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CwlCatchException",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "cassowaryswift",
          "name": "Cassowary",
          "url": "https://github.com/tribalworldwidelondon/CassowarySwift.git",
          "version": "2.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CassowarySwift",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/tribalworldwidelondon/PDFAuthor.git
[13/632] Fetching pdfauthor
Fetched https://github.com/tribalworldwidelondon/PDFAuthor.git from cache (0.70s)
Fetching https://github.com/tribalworldwidelondon/CassowarySwift.git from cache
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git from cache
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.51s)
Fetched https://github.com/tribalworldwidelondon/CassowarySwift.git from cache (0.51s)
Computing version for https://github.com/tribalworldwidelondon/CassowarySwift.git
Computed https://github.com/tribalworldwidelondon/CassowarySwift.git at 2.0.1 (0.57s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 1.2.0 (0.02s)
Fetching https://github.com/mattgallagher/CwlCatchException.git from cache
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.46s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 1.2.0 (0.52s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 1.2.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 1.2.0
Creating working copy for https://github.com/tribalworldwidelondon/CassowarySwift.git
Working copy of https://github.com/tribalworldwidelondon/CassowarySwift.git resolved at 2.0.1
Creating working copy for https://github.com/tribalworldwidelondon/PDFAuthor.git
Working copy of https://github.com/tribalworldwidelondon/PDFAuthor.git resolved at 0.2.0 (a360d6a)
Found 2 product dependencies
  - CwlPreconditionTesting
  - Cassowary
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tribalworldwidelondon/PDFAuthor.git
https://github.com/tribalworldwidelondon/PDFAuthor.git
{
  "dependencies" : [
    {
      "identity" : "cwlpreconditiontesting",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattgallagher/CwlPreconditionTesting.git"
    },
    {
      "identity" : "cassowaryswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tribalworldwidelondon/CassowarySwift.git"
    }
  ],
  "manifest_display_name" : "PDFAuthor",
  "name" : "PDFAuthor",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PDFAuthor",
      "targets" : [
        "PDFAuthor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PDFAuthorDemo",
      "targets" : [
        "PDFAuthorDemo"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "StackRegionDemo",
      "targets" : [
        "StackRegionDemo"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "StackRegionDemo",
      "module_type" : "SwiftTarget",
      "name" : "StackRegionDemo",
      "path" : "Sources/StackRegionDemo",
      "product_memberships" : [
        "StackRegionDemo"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "PDFAuthor"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "PDFAuthorTests",
      "module_type" : "SwiftTarget",
      "name" : "PDFAuthorTests",
      "path" : "Tests/PDFAuthorTests",
      "product_dependencies" : [
        "CwlPreconditionTesting"
      ],
      "sources" : [
        "AssertionHelpers.swift",
        "ImageRegionTests.swift",
        "PDFAuthorTests.swift",
        "PDFDocumentTests.swift",
        "PDFRegionConstraintsTest.swift",
        "PDFRegionTests.swift",
        "TypesTests.swift"
      ],
      "target_dependencies" : [
        "PDFAuthor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PDFAuthorDemo",
      "module_type" : "SwiftTarget",
      "name" : "PDFAuthorDemo",
      "path" : "Sources/PDFAuthorDemo",
      "product_memberships" : [
        "PDFAuthorDemo"
      ],
      "sources" : [
        "Invoice.swift",
        "Masks.swift",
        "TextColumns.swift",
        "TitlePage.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "PDFAuthor"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "PDFAuthor",
      "module_type" : "SwiftTarget",
      "name" : "PDFAuthor",
      "path" : "Sources/PDFAuthor",
      "product_dependencies" : [
        "Cassowary"
      ],
      "product_memberships" : [
        "PDFAuthor",
        "PDFAuthorDemo",
        "StackRegionDemo"
      ],
      "sources" : [
        "PDFAuthor.swift",
        "Renderable/ImageRegion.swift",
        "Renderable/MultiColumnStringRegion.swift",
        "Renderable/PDFChapter.swift",
        "Renderable/PDFPage.swift",
        "Renderable/PDFRegion.swift",
        "Renderable/PDFRegionConstraints.swift",
        "Renderable/StackRegion/StackRegion.swift",
        "Renderable/StackRegion/StackRegionTypes.swift",
        "Renderable/StringRegion.swift",
        "Renderable/TableChapter/TableChapter.swift",
        "Renderable/TableChapter/TableChapterDataSource.swift",
        "Types/PDFError.swift",
        "Types/Types.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
[2/22] Write PDFAuthorDemo-entitlement.plist
[2/22] Write sources
[3/22] Write StackRegionDemo-entitlement.plist
[3/22] Write sources
[8/22] Write swift-version-2F0A5646E1D333AE.txt
[9/38] Compiling CwlMachBadInstructionHandler mach_excServer.c
[10/38] Compiling CwlCatchExceptionSupport CwlCatchException.m
[11/40] Compiling CwlMachBadInstructionHandler CwlMachBadInstructionHandler.m
[13/40] Emitting module Cassowary
[14/40] Compiling Cassowary ConstraintOperators.swift
[15/40] Compiling Cassowary ConstraintOperatorsCGFloat.swift
[16/40] Compiling Cassowary CassowaryDebugDescription.swift
[17/40] Compiling Cassowary Constraint.swift
[18/41] Compiling Cassowary Strength.swift
[19/41] Compiling Cassowary Errors.swift
[20/41] Compiling Cassowary Expression.swift
[21/41] Compiling Cassowary Term.swift
[22/41] Compiling Cassowary ConstraintOperatorsInt.swift
[23/41] Compiling Cassowary Double+Epsilon.swift
[24/41] Compiling Cassowary Row.swift
[25/41] Compiling Cassowary Solver.swift
[26/41] Compiling Cassowary Symbol.swift
[27/41] Compiling Cassowary OrderedDictionary.swift
[28/41] Compiling Cassowary RelationalOperator.swift
[29/41] Compiling Cassowary Variable.swift
[30/55] Emitting module CwlCatchException
[31/55] Compiling CwlCatchException CwlCatchException.swift
[31/55] Write Objects.LinkFileList
[32/55] Linking libCwlCatchException.dylib
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/59] Emitting module CwlPreconditionTesting
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
42 | // #define x86_THREAD_STATE64_COUNT	((mach_msg_type_number_t) \
43 | //		( sizeof (x86_thread_state64_t) / sizeof (int) ))
44 | public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
   |                                                           `- error: cannot find type 'x86_thread_state64_t' in scope
45 |
46 | public let EXC_TYPES_COUNT = 14
[35/59] Compiling CwlPreconditionTesting CwlCatchBadInstruction.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift:185:166: error: cannot find 'x86_THREAD_STATE64' in scope
183 | 		try kernCheck { context.withUnsafeMutablePointers { masksPtr, countPtr, portsPtr, behaviorsPtr, flavorsPtr in
184 | 			// 3. Apply the mach port as the handler for this thread
185 | 			thread_swap_exception_ports(mach_thread_self(), EXC_MASK_BAD_INSTRUCTION, currentExceptionPtr, Int32(bitPattern: UInt32(EXCEPTION_STATE) | MACH_EXCEPTION_CODES), x86_THREAD_STATE64, masksPtr, countPtr, portsPtr, behaviorsPtr, flavorsPtr)
    |                                                                                                                                                                      `- error: cannot find 'x86_THREAD_STATE64' in scope
186 | 		} }
187 |
[36/59] Compiling CwlPreconditionTesting CwlDarwinDefinitions.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
42 | // #define x86_THREAD_STATE64_COUNT	((mach_msg_type_number_t) \
43 | //		( sizeof (x86_thread_state64_t) / sizeof (int) ))
44 | public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
   |                                                           `- error: cannot find type 'x86_thread_state64_t' in scope
45 |
46 | public let EXC_TYPES_COUNT = 14
[37/59] Compiling CwlPreconditionTesting CwlBadInstructionException.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
42 | // #define x86_THREAD_STATE64_COUNT	((mach_msg_type_number_t) \
43 | //		( sizeof (x86_thread_state64_t) / sizeof (int) ))
44 | public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
   |                                                           `- error: cannot find type 'x86_thread_state64_t' in scope
45 |
46 | public let EXC_TYPES_COUNT = 14
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:63:47: error: cannot find 'x86_thread_state64_t' in scope
61 |
62 | 		// Read the old thread state
63 | 		var state = old_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { return $0.pointee }
   |                                               `- error: cannot find 'x86_thread_state64_t' in scope
64 |
65 | 		// 1. Decrement the stack pointer
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:63:25: error: generic parameter 'T' could not be inferred
61 |
62 | 		// Read the old thread state
63 | 		var state = old_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { return $0.pointee }
   |                         `- error: generic parameter 'T' could not be inferred
64 |
65 | 		// 1. Decrement the stack pointer
Swift.UnsafePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
  |             `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:82:35: error: cannot find 'x86_thread_state64_t' in scope
80 |
81 | 		// Write the new thread state
82 | 		new_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { $0.pointee = state }
   |                                   `- error: cannot find 'x86_thread_state64_t' in scope
83 | 		new_stateCnt.pointee = x86_THREAD_STATE64_COUNT
84 |
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/11] Write swift-version-2F0A5646E1D333AE.txt
[2/29] Emitting module CwlCatchException
[3/29] Compiling CwlCatchException CwlCatchException.swift
[4/28] Compiling Cassowary Term.swift
[5/29] Compiling Cassowary Strength.swift
[6/29] Compiling Cassowary Symbol.swift
[7/29] Compiling Cassowary Variable.swift
[7/29] Linking libCwlCatchException.dylib
[9/29] Compiling Cassowary Errors.swift
[10/29] Compiling Cassowary Expression.swift
[11/29] Compiling Cassowary Row.swift
[12/29] Compiling Cassowary Solver.swift
[13/29] Compiling Cassowary OrderedDictionary.swift
[14/29] Compiling Cassowary RelationalOperator.swift
[15/29] Compiling Cassowary ConstraintOperatorsInt.swift
[16/29] Compiling Cassowary Double+Epsilon.swift
[17/29] Compiling Cassowary CassowaryDebugDescription.swift
[18/29] Compiling Cassowary Constraint.swift
[19/29] Emitting module Cassowary
[20/29] Compiling Cassowary ConstraintOperators.swift
[21/29] Compiling Cassowary ConstraintOperatorsCGFloat.swift
[22/47] Compiling CwlPreconditionTesting CwlDarwinDefinitions.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
42 | // #define x86_THREAD_STATE64_COUNT	((mach_msg_type_number_t) \
43 | //		( sizeof (x86_thread_state64_t) / sizeof (int) ))
44 | public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
   |                                                           `- error: cannot find type 'x86_thread_state64_t' in scope
45 |
46 | public let EXC_TYPES_COUNT = 14
[23/47] Compiling CwlPreconditionTesting CwlCatchBadInstruction.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift:185:166: error: cannot find 'x86_THREAD_STATE64' in scope
183 | 		try kernCheck { context.withUnsafeMutablePointers { masksPtr, countPtr, portsPtr, behaviorsPtr, flavorsPtr in
184 | 			// 3. Apply the mach port as the handler for this thread
185 | 			thread_swap_exception_ports(mach_thread_self(), EXC_MASK_BAD_INSTRUCTION, currentExceptionPtr, Int32(bitPattern: UInt32(EXCEPTION_STATE) | MACH_EXCEPTION_CODES), x86_THREAD_STATE64, masksPtr, countPtr, portsPtr, behaviorsPtr, flavorsPtr)
    |                                                                                                                                                                      `- error: cannot find 'x86_THREAD_STATE64' in scope
186 | 		} }
187 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/47] Emitting module CwlPreconditionTesting
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
42 | // #define x86_THREAD_STATE64_COUNT	((mach_msg_type_number_t) \
43 | //		( sizeof (x86_thread_state64_t) / sizeof (int) ))
44 | public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
   |                                                           `- error: cannot find type 'x86_thread_state64_t' in scope
45 |
46 | public let EXC_TYPES_COUNT = 14
[25/47] Compiling CwlPreconditionTesting CwlBadInstructionException.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
42 | // #define x86_THREAD_STATE64_COUNT	((mach_msg_type_number_t) \
43 | //		( sizeof (x86_thread_state64_t) / sizeof (int) ))
44 | public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
   |                                                           `- error: cannot find type 'x86_thread_state64_t' in scope
45 |
46 | public let EXC_TYPES_COUNT = 14
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:63:47: error: cannot find 'x86_thread_state64_t' in scope
61 |
62 | 		// Read the old thread state
63 | 		var state = old_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { return $0.pointee }
   |                                               `- error: cannot find 'x86_thread_state64_t' in scope
64 |
65 | 		// 1. Decrement the stack pointer
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:63:25: error: generic parameter 'T' could not be inferred
61 |
62 | 		// Read the old thread state
63 | 		var state = old_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { return $0.pointee }
   |                         `- error: generic parameter 'T' could not be inferred
64 |
65 | 		// 1. Decrement the stack pointer
Swift.UnsafePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
  |             `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:82:35: error: cannot find 'x86_thread_state64_t' in scope
80 |
81 | 		// Write the new thread state
82 | 		new_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { $0.pointee = state }
   |                                   `- error: cannot find 'x86_thread_state64_t' in scope
83 | 		new_stateCnt.pointee = x86_THREAD_STATE64_COUNT
84 |
BUILD FAILURE 6.1 macosSpm