Build Information
Failed to build Swift2Python, reference main (0e0b84), with Swift 6.2 for macOS (SPM) on 16 Jul 2026 18:44:31 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zbenwhite/Swift2Python.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/zbenwhite/Swift2Python
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0e0b844 small adjustments to codex-written documentation
Cloned https://github.com/zbenwhite/Swift2Python.git
Revision (git rev-parse @):
0e0b84484c2499243c96eff62e9cf5ce0769f560
SUCCESS checkout https://github.com/zbenwhite/Swift2Python.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/zbenwhite/Swift2Python.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/12] Write sources
[11/12] Write swift-version--3CB7CFEC50E0D141.txt
[13/42] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[14/42] Compiling InternalCollectionsUtilities _SortedCollection.swift
[15/43] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[16/43] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[17/43] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[18/43] Emitting module InternalCollectionsUtilities
[19/43] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[20/43] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[21/43] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[22/43] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[23/43] Compiling InternalCollectionsUtilities Span+Extras.swift
[24/43] Compiling InternalCollectionsUtilities String+Padding.swift
[25/43] Compiling InternalCollectionsUtilities Debugging.swift
[26/43] Compiling InternalCollectionsUtilities Descriptions.swift
[27/43] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[28/43] Compiling InternalCollectionsUtilities UInt+reversed.swift
[29/43] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[30/43] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[31/43] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[32/43] Compiling InternalCollectionsUtilities Integer rank.swift
[33/350] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[34/350] Compiling _RopeModule BigString+Chunk+Breaks.swift
[35/350] Compiling _RopeModule BigString+Chunk+Character.swift
[36/350] Compiling _RopeModule BigString+Chunk+Counts.swift
[37/350] Compiling _RopeModule Rope+Insert.swift
[38/350] Compiling _RopeModule Rope+Join.swift
[39/350] Compiling _RopeModule Rope+MutatingForEach.swift
[40/350] Compiling _RopeModule BigString.swift
[41/353] Compiling _RopeModule BigString+UTF16View.swift
[42/353] Compiling _RopeModule BigString+UTF8View.swift
[43/353] Compiling _RopeModule BigString+UnicodeScalarView.swift
[44/353] Compiling _RopeModule BigSubstring+UTF16View.swift
[45/353] Compiling _RopeModule BigSubstring+UTF8View.swift
[46/353] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[47/353] Compiling _RopeModule BigSubstring.swift
[48/353] Compiling _RopeModule Rope+Builder.swift
[49/353] Compiling _RopeModule Rope+Debugging.swift
[50/353] Compiling _RopeModule Rope+Invariants.swift
[51/353] Compiling _RopeModule Rope+_Node.swift
[52/353] Compiling _RopeModule Rope+_Storage.swift
[53/353] Compiling _RopeModule BigString+Ingester.swift
[54/353] Compiling _RopeModule BigString+Invariants.swift
[55/353] Compiling _RopeModule BigString+Metrics.swift
[56/353] Compiling _RopeModule BigString+Summary.swift
[57/353] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[58/353] Compiling _RopeModule Rope+_UnsafeHandle.swift
[59/353] Compiling _RopeModule Rope.swift
[60/353] Compiling _RopeModule RopeElement.swift
[61/353] Compiling _RopeModule Rope+Append.swift
[62/353] Compiling _RopeModule Rope+Extract.swift
[63/353] Compiling _RopeModule Rope+Find.swift
[64/353] Compiling _RopeModule Rope+ForEachWhile.swift
[65/353] Compiling HeapModule _HeapNode.swift
[66/353] Compiling ContainersPreview Shared.swift
[67/353] Compiling ContainersPreview SpanIterator.swift
[68/353] Compiling ContainersPreview UniqueBox.swift
[69/353] Emitting module ContainersPreview
[70/353] Compiling _RopeModule BigString+Builder.swift
[71/353] Compiling _RopeModule BigString+Contents.swift
[72/353] Compiling _RopeModule BigString+Debugging.swift
[73/353] Compiling _RopeModule BigString+Index.swift
[74/353] Compiling HeapModule Heap.swift
[75/353] Compiling HeapModule Heap+UnsafeHandle.swift
[76/353] Compiling HeapModule Heap+Invariants.swift
[77/353] Emitting module HeapModule
[78/353] Compiling HeapModule Heap+Descriptions.swift
[79/353] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[80/395] Compiling DequeModule Deque.swift
[81/395] Compiling DequeModule _DequeBuffer.swift
[82/395] Compiling DequeModule _DequeBufferHeader.swift
[83/395] Compiling DequeModule RigidDeque+Append.swift
[84/395] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[85/395] Compiling DequeModule Deque+Extras.swift
[86/401] Compiling DequeModule RigidDeque+Prepend.swift
[87/401] Compiling DequeModule RigidDeque+Removals.swift
[88/401] Compiling _RopeModule BigString+Insert.swift
[89/401] Compiling _RopeModule BigString+Managing Breaks.swift
[90/401] Compiling _RopeModule BigString+RemoveSubrange.swift
[91/401] Compiling _RopeModule BigString+ReplaceSubrange.swift
[92/401] Compiling _RopeModule BigString+Split.swift
[93/401] Compiling _RopeModule Range+BigString.swift
[94/401] Compiling _RopeModule BigString+Chunk+Splitting.swift
[95/401] Compiling _RopeModule BigString+Chunk+UTF16.swift
[96/401] Compiling _RopeModule BigString+Chunk+UTF8.swift
[97/401] Compiling _RopeModule BigString+Chunk+UnicodeScalar.swift
[98/407] Compiling _RopeModule BigString+Chunk.swift
[99/407] Compiling _RopeModule BigString+BidirectionalCollection.swift
[100/407] Compiling _RopeModule BigString+Comparable.swift
[101/407] Compiling BitCollections BitSet._UnsafeHandle.swift
[102/407] Compiling BitCollections BitSet.swift
[103/407] Compiling BitCollections Range+Utilities.swift
[104/407] Compiling _RopeModule Rope+Index.swift
[105/407] Compiling _RopeModule Rope+Sequence.swift
[106/407] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[107/407] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[108/407] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[109/407] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[110/407] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[111/407] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[112/407] Compiling OrderedCollections OrderedSet.swift
[113/407] Compiling OrderedCollections _UnsafeBitset.swift
[114/407] Compiling _RopeModule RopeMetric.swift
[115/407] Compiling _RopeModule RopeSummary.swift
[116/407] Compiling _RopeModule _RopeItem.swift
[117/407] Compiling _RopeModule _RopePath.swift
[118/407] Compiling _RopeModule _RopeVersion.swift
[119/407] Compiling _RopeModule Rope+Collection.swift
[120/415] Compiling DequeModule UniqueDeque+Replacements.swift
[121/415] Compiling DequeModule UniqueDeque+Equatable.swift
[122/415] Compiling DequeModule UniqueDeque+Experimental.swift
[123/415] Compiling DequeModule UniqueDeque+Hashable.swift
[124/415] Compiling DequeModule UniqueDeque+Initializers.swift
[125/415] Compiling DequeModule RigidDeque+Replacements.swift
[126/415] Compiling DequeModule UniqueDeque+Descriptions.swift
[127/415] Compiling DequeModule RigidDeque+Consumption.swift
[128/415] Compiling DequeModule RigidDeque+Container.swift
[129/415] Compiling DequeModule RigidDeque+Descriptions.swift
[130/415] Compiling DequeModule RigidDeque+Equatable.swift
[131/415] Compiling DequeModule RigidDeque+Experimental.swift
[142/415] Compiling OrderedCollections OrderedSet+SubSequence.swift
[143/415] Compiling OrderedCollections OrderedSet+Testing.swift
[144/415] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[145/415] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[154/415] Compiling DequeModule RigidDeque+Hashable.swift
[155/415] Compiling DequeModule RigidDeque+Initializers.swift
[156/415] Compiling DequeModule RigidDeque+Insertions.swift
[166/415] Compiling DequeModule Deque._Storage.swift
[167/415] Compiling DequeModule UniqueDeque+Insertions.swift
[168/415] Compiling DequeModule UniqueDeque+Prepend.swift
[169/415] Compiling DequeModule UniqueDeque+Removals.swift
[178/415] Compiling DequeModule Deque+Hashable.swift
[179/415] Compiling DequeModule Deque+Testing.swift
[180/415] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[181/415] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[182/415] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[183/415] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[184/415] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[185/415] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[186/415] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[187/415] Compiling HashTreeCollections TreeSet.swift
[188/415] Compiling Logging Logger+With.swift
[189/415] Compiling Logging Logger+Attributes.swift
[190/415] Compiling Logging Logger.swift
[191/415] Compiling Logging LoggingSystem.swift
[192/416] Emitting module BitCollections
[193/416] Compiling DequeModule Deque+Codable.swift
[194/416] Compiling DequeModule Deque+Collection.swift
[195/416] Compiling DequeModule Deque+CustomReflectable.swift
[196/416] Compiling DequeModule Deque+Descriptions.swift
[197/416] Compiling DequeModule Deque+Equatable.swift
[198/416] Compiling DequeModule Deque._UnsafeHandle.swift
[220/420] Compiling DequeModule UniqueDeque.swift
[221/420] Compiling DequeModule _DequeSlot.swift
[222/420] Compiling DequeModule _UnsafeDequeHandle.swift
[223/420] Compiling DequeModule _UnsafeDequeSegments.swift
[237/420] Compiling DequeModule RigidDeque+Testing.swift
[238/420] Compiling DequeModule RigidDeque.swift
[239/420] Compiling DequeModule UniqueDeque+Append.swift
[240/420] Compiling DequeModule UniqueDeque+Consumption.swift
[241/420] Compiling DequeModule UniqueDeque+Container.swift
[242/420] Compiling DequeModule UniqueDeque+Deprecated.swift
[308/427] Compiling Logging MetadataProvider.swift
[309/427] Compiling Logging LogHandler.swift
[310/427] Compiling Logging LogEvent.swift
[313/427] Compiling Logging SwiftLogNoOpLogHandler.swift
[314/427] Emitting module Logging
[315/427] Compiling Logging Locks.swift
[366/427] Emitting module _RopeModule
[367/427] Emitting module OrderedCollections
[384/427] Compiling _RopeModule Rope+Remove.swift
[385/427] Compiling _RopeModule Rope+RemoveSubrange.swift
[386/427] Compiling _RopeModule Rope+Split.swift
[387/427] Compiling _RopeModule Optional Utilities.swift
[388/427] Compiling _RopeModule String Utilities.swift
[389/427] Compiling _RopeModule String.Index+ABI.swift
[390/427] Compiling _RopeModule _CharacterRecognizer.swift
[391/427] Emitting module HashTreeCollections
[414/427] Emitting module DequeModule
[428/433] Compiling Collections HeapModule reexports.swift
[429/433] Compiling Collections HashTreeCollections reexports.swift
[430/433] Compiling Collections OrderedCollections reexports.swift
[431/433] Emitting module Collections
[432/433] Compiling Collections DequeModule reexports.swift
[433/433] Compiling Collections BitCollections reexports.swift
[434/461] Emitting module Swift2Python
[435/463] Compiling Swift2Python PythonInterpreter+Tuple.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Tuple.swift:169:21: error: sending 'tuplePtr' risks causing data races [#SendingRisksDataRace]
166 | let pyObj = try await element.toPythonObject(interpreter: self)
167 | let itemPtr = try requirePythonPointer(forObject: pyObj)
168 | _ = try await withGIL {
| `- note: access can happen concurrently
169 | try setItem(itemPtr, onTuple: tuplePtr, atIndex: index, orElse: { try throwPythonError() })
| |- error: sending 'tuplePtr' risks causing data races [#SendingRisksDataRace]
| `- note: 'self'-isolated 'tuplePtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
170 | }
171 | }
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[436/463] Compiling Swift2Python PythonInterpreter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Tuple.swift:169:21: error: sending 'tuplePtr' risks causing data races [#SendingRisksDataRace]
166 | let pyObj = try await element.toPythonObject(interpreter: self)
167 | let itemPtr = try requirePythonPointer(forObject: pyObj)
168 | _ = try await withGIL {
| `- note: access can happen concurrently
169 | try setItem(itemPtr, onTuple: tuplePtr, atIndex: index, orElse: { try throwPythonError() })
| |- error: sending 'tuplePtr' risks causing data races [#SendingRisksDataRace]
| `- note: 'self'-isolated 'tuplePtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
170 | }
171 | }
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[437/463] Compiling Swift2Python PythonObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Tuple.swift:169:21: error: sending 'tuplePtr' risks causing data races [#SendingRisksDataRace]
166 | let pyObj = try await element.toPythonObject(interpreter: self)
167 | let itemPtr = try requirePythonPointer(forObject: pyObj)
168 | _ = try await withGIL {
| `- note: access can happen concurrently
169 | try setItem(itemPtr, onTuple: tuplePtr, atIndex: index, orElse: { try throwPythonError() })
| |- error: sending 'tuplePtr' risks causing data races [#SendingRisksDataRace]
| `- note: 'self'-isolated 'tuplePtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
170 | }
171 | }
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[438/463] Compiling Swift2Python Container.swift
[439/463] Compiling Swift2Python Conversions.swift
[440/463] Compiling Swift2Python Operators.swift
[441/463] Compiling Swift2Python PythonError.swift
[442/463] Compiling Swift2Python PythonInterpreter+Bytes.swift
[443/463] Compiling Swift2Python PythonInterpreter+Callable.swift
[444/463] Compiling Swift2Python PythonInterpreter+RefCount.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+RefCount.swift:97:31: error: sending 'record' risks causing data races [#SendingRisksDataRace]
95 | if andAlsoPythonsRefCount {
96 | try await withGIL {
97 | api.Py_DecRef(record.objectPtr)
| |- error: sending 'record' risks causing data races [#SendingRisksDataRace]
| `- note: 'self'-isolated 'record' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
98 | }
99 | }
100 | if andRemoveWhenZero && record.referenceCount <= 0 {
| `- note: access can happen concurrently
101 | pythonObjectRegistry.removeValue(forKey: forPythonObjectID)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Set.swift:37:21: error: sending 'setPtr' risks causing data races [#SendingRisksDataRace]
34 | let valuePythonObject = try await element.toPythonObject(interpreter: self)
35 | let valuePtr = try requirePythonPointer(forObject: valuePythonObject)
36 | try await withGIL {
| `- note: access can happen concurrently
37 | try addItem(valuePtr, toSet: setPtr, orElse: { try throwPythonError() })
| |- error: sending 'setPtr' risks causing data races [#SendingRisksDataRace]
| `- note: 'self'-isolated 'setPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
38 | }
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Set.swift:68:21: error: sending 'frozenSetPtr' risks causing data races [#SendingRisksDataRace]
65 | let valuePythonObject = try await element.toPythonObject(interpreter: self)
66 | let valuePtr = try requirePythonPointer(forObject: valuePythonObject)
67 | try await withGIL {
| `- note: access can happen concurrently
68 | try addItem(valuePtr, toSet: frozenSetPtr, orElse: { try throwPythonError() })
| |- error: sending 'frozenSetPtr' risks causing data races [#SendingRisksDataRace]
| `- note: 'self'-isolated 'frozenSetPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Set.swift:318:51: error: sending 'objPtr' risks causing data races [#SendingRisksDataRace]
316 | // This requires the GIL.
317 | private func isAnySet(_ objPtr: UnsafeMutableRawPointer, onError throwError: () throws -> Never) throws -> Bool {
318 | try isSet(objPtr, onError: throwError) || isFrozenSet(objPtr, onError: throwError)
| |- error: sending 'objPtr' risks causing data races [#SendingRisksDataRace]
| |- note: 'self'-isolated 'objPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
| `- note: access can happen concurrently
319 | }
320 |
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[445/463] Compiling Swift2Python PythonInterpreter+Set.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+RefCount.swift:97:31: error: sending 'record' risks causing data races [#SendingRisksDataRace]
95 | if andAlsoPythonsRefCount {
96 | try await withGIL {
97 | api.Py_DecRef(record.objectPtr)
| |- error: sending 'record' risks causing data races [#SendingRisksDataRace]
| `- note: 'self'-isolated 'record' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
98 | }
99 | }
100 | if andRemoveWhenZero && record.referenceCount <= 0 {
| `- note: access can happen concurrently
101 | pythonObjectRegistry.removeValue(forKey: forPythonObjectID)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Set.swift:37:21: error: sending 'setPtr' risks causing data races [#SendingRisksDataRace]
34 | let valuePythonObject = try await element.toPythonObject(interpreter: self)
35 | let valuePtr = try requirePythonPointer(forObject: valuePythonObject)
36 | try await withGIL {
| `- note: access can happen concurrently
37 | try addItem(valuePtr, toSet: setPtr, orElse: { try throwPythonError() })
| |- error: sending 'setPtr' risks causing data races [#SendingRisksDataRace]
| `- note: 'self'-isolated 'setPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
38 | }
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Set.swift:68:21: error: sending 'frozenSetPtr' risks causing data races [#SendingRisksDataRace]
65 | let valuePythonObject = try await element.toPythonObject(interpreter: self)
66 | let valuePtr = try requirePythonPointer(forObject: valuePythonObject)
67 | try await withGIL {
| `- note: access can happen concurrently
68 | try addItem(valuePtr, toSet: frozenSetPtr, orElse: { try throwPythonError() })
| |- error: sending 'frozenSetPtr' risks causing data races [#SendingRisksDataRace]
| `- note: 'self'-isolated 'frozenSetPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Set.swift:318:51: error: sending 'objPtr' risks causing data races [#SendingRisksDataRace]
316 | // This requires the GIL.
317 | private func isAnySet(_ objPtr: UnsafeMutableRawPointer, onError throwError: () throws -> Never) throws -> Bool {
318 | try isSet(objPtr, onError: throwError) || isFrozenSet(objPtr, onError: throwError)
| |- error: sending 'objPtr' risks causing data races [#SendingRisksDataRace]
| |- note: 'self'-isolated 'objPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
| `- note: access can happen concurrently
319 | }
320 |
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[446/463] Compiling Swift2Python PythonInterpreter+Slice.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+RefCount.swift:97:31: error: sending 'record' risks causing data races [#SendingRisksDataRace]
95 | if andAlsoPythonsRefCount {
96 | try await withGIL {
97 | api.Py_DecRef(record.objectPtr)
| |- error: sending 'record' risks causing data races [#SendingRisksDataRace]
| `- note: 'self'-isolated 'record' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
98 | }
99 | }
100 | if andRemoveWhenZero && record.referenceCount <= 0 {
| `- note: access can happen concurrently
101 | pythonObjectRegistry.removeValue(forKey: forPythonObjectID)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Set.swift:37:21: error: sending 'setPtr' risks causing data races [#SendingRisksDataRace]
34 | let valuePythonObject = try await element.toPythonObject(interpreter: self)
35 | let valuePtr = try requirePythonPointer(forObject: valuePythonObject)
36 | try await withGIL {
| `- note: access can happen concurrently
37 | try addItem(valuePtr, toSet: setPtr, orElse: { try throwPythonError() })
| |- error: sending 'setPtr' risks causing data races [#SendingRisksDataRace]
| `- note: 'self'-isolated 'setPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
38 | }
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Set.swift:68:21: error: sending 'frozenSetPtr' risks causing data races [#SendingRisksDataRace]
65 | let valuePythonObject = try await element.toPythonObject(interpreter: self)
66 | let valuePtr = try requirePythonPointer(forObject: valuePythonObject)
67 | try await withGIL {
| `- note: access can happen concurrently
68 | try addItem(valuePtr, toSet: frozenSetPtr, orElse: { try throwPythonError() })
| |- error: sending 'frozenSetPtr' risks causing data races [#SendingRisksDataRace]
| `- note: 'self'-isolated 'frozenSetPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Set.swift:318:51: error: sending 'objPtr' risks causing data races [#SendingRisksDataRace]
316 | // This requires the GIL.
317 | private func isAnySet(_ objPtr: UnsafeMutableRawPointer, onError throwError: () throws -> Never) throws -> Bool {
318 | try isSet(objPtr, onError: throwError) || isFrozenSet(objPtr, onError: throwError)
| |- error: sending 'objPtr' risks causing data races [#SendingRisksDataRace]
| |- note: 'self'-isolated 'objPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
| `- note: access can happen concurrently
319 | }
320 |
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[447/463] Compiling Swift2Python PythonObjectIdentity.swift
[448/463] Compiling Swift2Python PythonRuntime.swift
[449/463] Compiling Swift2Python SafePythonObject+Arithmetic.swift
[450/463] Compiling Swift2Python PythonInterpreter+Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Error.swift:163:42: error: sending 'exceptionPtr' risks causing data races [#SendingRisksDataRace]
161 | // earlier. PyErr_GetRaisedException on Python 3.12+ only gives the value,
162 | // so derive the type from value.__class__ in that path.
163 | let resolvedTypePtr = typePtr ?? getAttributePointer("__class__", from: exceptionPtr)
| | |- error: sending 'exceptionPtr' risks causing data races [#SendingRisksDataRace]
| | `- note: 'self'-isolated 'exceptionPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
| `- note: access can happen concurrently
164 | defer {
165 | // Attribute lookup returns a new reference. A type pointer supplied by
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+List.swift:39:21: error: sending 'listPtr' risks causing data races [#SendingRisksDataRace]
36 | let valuePythonObject = try await element.toPythonObject(interpreter: self)
37 | let valuePtr = try requirePythonPointer(forObject: valuePythonObject)
38 | _ = try await withGIL {
| `- note: access can happen concurrently
39 | try setItem(valuePtr, onList: listPtr, atIndex: index, orElse: { try throwPythonError() })
| |- error: sending 'listPtr' risks causing data races [#SendingRisksDataRace]
| `- note: 'self'-isolated 'listPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
40 | }
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+List.swift:175:27: error: sending 'objPtr' risks causing data races [#SendingRisksDataRace]
172 | }
173 | let size = try getSizeOf(list: objPtr, onError: { try throwError() } )
174 | return try (0..<size).map { index in
| `- note: access can happen concurrently
175 | let ptr = try getItemAt(index: index, fromList: objPtr, onError: { try throwError() } )
| |- error: sending 'objPtr' risks causing data races [#SendingRisksDataRace]
| `- note: 'self'-isolated 'objPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
176 | return try handleEachItem(ptr)
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+List.swift:175:97: error: sending 'throwError' risks causing data races [#SendingRisksDataRace]
172 | }
173 | let size = try getSizeOf(list: objPtr, onError: { try throwError() } )
174 | return try (0..<size).map { index in
| `- note: access can happen concurrently
175 | let ptr = try getItemAt(index: index, fromList: objPtr, onError: { try throwError() } )
| |- error: sending 'throwError' risks causing data races [#SendingRisksDataRace]
| `- note: 'self'-isolated 'throwError' is captured by a nonisolated closure. nonisolated uses in closure may race against later actor-isolated uses
176 | return try handleEachItem(ptr)
177 | }
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[451/463] Compiling Swift2Python PythonInterpreter+Iteration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Error.swift:163:42: error: sending 'exceptionPtr' risks causing data races [#SendingRisksDataRace]
161 | // earlier. PyErr_GetRaisedException on Python 3.12+ only gives the value,
162 | // so derive the type from value.__class__ in that path.
163 | let resolvedTypePtr = typePtr ?? getAttributePointer("__class__", from: exceptionPtr)
| | |- error: sending 'exceptionPtr' risks causing data races [#SendingRisksDataRace]
| | `- note: 'self'-isolated 'exceptionPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
| `- note: access can happen concurrently
164 | defer {
165 | // Attribute lookup returns a new reference. A type pointer supplied by
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+List.swift:39:21: error: sending 'listPtr' risks causing data races [#SendingRisksDataRace]
36 | let valuePythonObject = try await element.toPythonObject(interpreter: self)
37 | let valuePtr = try requirePythonPointer(forObject: valuePythonObject)
38 | _ = try await withGIL {
| `- note: access can happen concurrently
39 | try setItem(valuePtr, onList: listPtr, atIndex: index, orElse: { try throwPythonError() })
| |- error: sending 'listPtr' risks causing data races [#SendingRisksDataRace]
| `- note: 'self'-isolated 'listPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
40 | }
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+List.swift:175:27: error: sending 'objPtr' risks causing data races [#SendingRisksDataRace]
172 | }
173 | let size = try getSizeOf(list: objPtr, onError: { try throwError() } )
174 | return try (0..<size).map { index in
| `- note: access can happen concurrently
175 | let ptr = try getItemAt(index: index, fromList: objPtr, onError: { try throwError() } )
| |- error: sending 'objPtr' risks causing data races [#SendingRisksDataRace]
| `- note: 'self'-isolated 'objPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
176 | return try handleEachItem(ptr)
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+List.swift:175:97: error: sending 'throwError' risks causing data races [#SendingRisksDataRace]
172 | }
173 | let size = try getSizeOf(list: objPtr, onError: { try throwError() } )
174 | return try (0..<size).map { index in
| `- note: access can happen concurrently
175 | let ptr = try getItemAt(index: index, fromList: objPtr, onError: { try throwError() } )
| |- error: sending 'throwError' risks causing data races [#SendingRisksDataRace]
| `- note: 'self'-isolated 'throwError' is captured by a nonisolated closure. nonisolated uses in closure may race against later actor-isolated uses
176 | return try handleEachItem(ptr)
177 | }
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[452/463] Compiling Swift2Python PythonInterpreter+List.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Error.swift:163:42: error: sending 'exceptionPtr' risks causing data races [#SendingRisksDataRace]
161 | // earlier. PyErr_GetRaisedException on Python 3.12+ only gives the value,
162 | // so derive the type from value.__class__ in that path.
163 | let resolvedTypePtr = typePtr ?? getAttributePointer("__class__", from: exceptionPtr)
| | |- error: sending 'exceptionPtr' risks causing data races [#SendingRisksDataRace]
| | `- note: 'self'-isolated 'exceptionPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
| `- note: access can happen concurrently
164 | defer {
165 | // Attribute lookup returns a new reference. A type pointer supplied by
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+List.swift:39:21: error: sending 'listPtr' risks causing data races [#SendingRisksDataRace]
36 | let valuePythonObject = try await element.toPythonObject(interpreter: self)
37 | let valuePtr = try requirePythonPointer(forObject: valuePythonObject)
38 | _ = try await withGIL {
| `- note: access can happen concurrently
39 | try setItem(valuePtr, onList: listPtr, atIndex: index, orElse: { try throwPythonError() })
| |- error: sending 'listPtr' risks causing data races [#SendingRisksDataRace]
| `- note: 'self'-isolated 'listPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
40 | }
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+List.swift:175:27: error: sending 'objPtr' risks causing data races [#SendingRisksDataRace]
172 | }
173 | let size = try getSizeOf(list: objPtr, onError: { try throwError() } )
174 | return try (0..<size).map { index in
| `- note: access can happen concurrently
175 | let ptr = try getItemAt(index: index, fromList: objPtr, onError: { try throwError() } )
| |- error: sending 'objPtr' risks causing data races [#SendingRisksDataRace]
| `- note: 'self'-isolated 'objPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
176 | return try handleEachItem(ptr)
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+List.swift:175:97: error: sending 'throwError' risks causing data races [#SendingRisksDataRace]
172 | }
173 | let size = try getSizeOf(list: objPtr, onError: { try throwError() } )
174 | return try (0..<size).map { index in
| `- note: access can happen concurrently
175 | let ptr = try getItemAt(index: index, fromList: objPtr, onError: { try throwError() } )
| |- error: sending 'throwError' risks causing data races [#SendingRisksDataRace]
| `- note: 'self'-isolated 'throwError' is captured by a nonisolated closure. nonisolated uses in closure may race against later actor-isolated uses
176 | return try handleEachItem(ptr)
177 | }
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[453/463] Compiling Swift2Python PythonInterpreter+Compare.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Dictionary.swift:38:41: error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
36 | let keyPtr = try requirePythonPointer(forObject: keyObj)
37 | let valuePtr = try requirePythonPointer(forObject: valueObj)
38 | _ = try await withGIL { try setValue(valuePtr, onDict: dictPtr, atKey: keyPtr, orElse: { try throwPythonError() }) }
| | |- error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
| | `- note: 'self'-isolated 'dictPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
| `- note: access can happen concurrently
39 | }
40 | return newPythonObject(fromReturnedPointer: dictPtr)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Dictionary.swift:68:41: error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
66 | let keyPtr = try requirePythonPointer(forObject: keyObj)
67 | let valuePtr = try requirePythonPointer(forObject: valueObj)
68 | _ = try await withGIL { try setValue(valuePtr, onDict: dictPtr, atKey: keyPtr, orElse: { try throwPythonError() }) }
| | |- error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
| | `- note: 'self'-isolated 'dictPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
| `- note: access can happen concurrently
69 | }
70 | return newPythonObject(fromReturnedPointer: dictPtr)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Dictionary.swift:99:41: error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
97 | let keyPtr = try requirePythonPointer(forObject: keyObj)
98 | let valuePtr = try requirePythonPointer(forObject: valueObj)
99 | _ = try await withGIL { try setValue(valuePtr, onDict: dictPtr, atKey: keyPtr, orElse: { try throwPythonError() }) }
| | |- error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
| | `- note: 'self'-isolated 'dictPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
| `- note: access can happen concurrently
100 | }
101 | return newPythonObject(fromReturnedPointer: dictPtr)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Dictionary.swift:128:41: error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
126 | let keyPtr = try requirePythonPointer(forObject: keyObj)
127 | let valuePtr = try requirePythonPointer(forObject: valueObj)
128 | _ = try await withGIL { try setValue(valuePtr, onDict: dictPtr, atKey: keyPtr, orElse: { try throwPythonError() }) }
| | |- error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
| | `- note: 'self'-isolated 'dictPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
| `- note: access can happen concurrently
129 | }
130 | return newPythonObject(fromReturnedPointer: dictPtr)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Dictionary.swift:147:41: error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
145 | let keyPtr = try requirePythonPointer(forObject: keyObj)
146 | let valuePtr = try requirePythonPointer(forObject: valueObj)
147 | _ = try await withGIL { try setValue(valuePtr, onDict: dictPtr, atKey: keyPtr, orElse: { try throwPythonError() }) }
| | |- error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
| | `- note: 'self'-isolated 'dictPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
| `- note: access can happen concurrently
148 | }
149 | return newPythonObject(fromReturnedPointer: dictPtr)
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[454/463] Compiling Swift2Python PythonInterpreter+Convert.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Dictionary.swift:38:41: error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
36 | let keyPtr = try requirePythonPointer(forObject: keyObj)
37 | let valuePtr = try requirePythonPointer(forObject: valueObj)
38 | _ = try await withGIL { try setValue(valuePtr, onDict: dictPtr, atKey: keyPtr, orElse: { try throwPythonError() }) }
| | |- error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
| | `- note: 'self'-isolated 'dictPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
| `- note: access can happen concurrently
39 | }
40 | return newPythonObject(fromReturnedPointer: dictPtr)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Dictionary.swift:68:41: error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
66 | let keyPtr = try requirePythonPointer(forObject: keyObj)
67 | let valuePtr = try requirePythonPointer(forObject: valueObj)
68 | _ = try await withGIL { try setValue(valuePtr, onDict: dictPtr, atKey: keyPtr, orElse: { try throwPythonError() }) }
| | |- error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
| | `- note: 'self'-isolated 'dictPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
| `- note: access can happen concurrently
69 | }
70 | return newPythonObject(fromReturnedPointer: dictPtr)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Dictionary.swift:99:41: error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
97 | let keyPtr = try requirePythonPointer(forObject: keyObj)
98 | let valuePtr = try requirePythonPointer(forObject: valueObj)
99 | _ = try await withGIL { try setValue(valuePtr, onDict: dictPtr, atKey: keyPtr, orElse: { try throwPythonError() }) }
| | |- error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
| | `- note: 'self'-isolated 'dictPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
| `- note: access can happen concurrently
100 | }
101 | return newPythonObject(fromReturnedPointer: dictPtr)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Dictionary.swift:128:41: error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
126 | let keyPtr = try requirePythonPointer(forObject: keyObj)
127 | let valuePtr = try requirePythonPointer(forObject: valueObj)
128 | _ = try await withGIL { try setValue(valuePtr, onDict: dictPtr, atKey: keyPtr, orElse: { try throwPythonError() }) }
| | |- error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
| | `- note: 'self'-isolated 'dictPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
| `- note: access can happen concurrently
129 | }
130 | return newPythonObject(fromReturnedPointer: dictPtr)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Dictionary.swift:147:41: error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
145 | let keyPtr = try requirePythonPointer(forObject: keyObj)
146 | let valuePtr = try requirePythonPointer(forObject: valueObj)
147 | _ = try await withGIL { try setValue(valuePtr, onDict: dictPtr, atKey: keyPtr, orElse: { try throwPythonError() }) }
| | |- error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
| | `- note: 'self'-isolated 'dictPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
| `- note: access can happen concurrently
148 | }
149 | return newPythonObject(fromReturnedPointer: dictPtr)
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[455/463] Compiling Swift2Python PythonInterpreter+Dictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Dictionary.swift:38:41: error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
36 | let keyPtr = try requirePythonPointer(forObject: keyObj)
37 | let valuePtr = try requirePythonPointer(forObject: valueObj)
38 | _ = try await withGIL { try setValue(valuePtr, onDict: dictPtr, atKey: keyPtr, orElse: { try throwPythonError() }) }
| | |- error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
| | `- note: 'self'-isolated 'dictPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
| `- note: access can happen concurrently
39 | }
40 | return newPythonObject(fromReturnedPointer: dictPtr)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Dictionary.swift:68:41: error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
66 | let keyPtr = try requirePythonPointer(forObject: keyObj)
67 | let valuePtr = try requirePythonPointer(forObject: valueObj)
68 | _ = try await withGIL { try setValue(valuePtr, onDict: dictPtr, atKey: keyPtr, orElse: { try throwPythonError() }) }
| | |- error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
| | `- note: 'self'-isolated 'dictPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
| `- note: access can happen concurrently
69 | }
70 | return newPythonObject(fromReturnedPointer: dictPtr)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Dictionary.swift:99:41: error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
97 | let keyPtr = try requirePythonPointer(forObject: keyObj)
98 | let valuePtr = try requirePythonPointer(forObject: valueObj)
99 | _ = try await withGIL { try setValue(valuePtr, onDict: dictPtr, atKey: keyPtr, orElse: { try throwPythonError() }) }
| | |- error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
| | `- note: 'self'-isolated 'dictPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
| `- note: access can happen concurrently
100 | }
101 | return newPythonObject(fromReturnedPointer: dictPtr)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Dictionary.swift:128:41: error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
126 | let keyPtr = try requirePythonPointer(forObject: keyObj)
127 | let valuePtr = try requirePythonPointer(forObject: valueObj)
128 | _ = try await withGIL { try setValue(valuePtr, onDict: dictPtr, atKey: keyPtr, orElse: { try throwPythonError() }) }
| | |- error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
| | `- note: 'self'-isolated 'dictPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
| `- note: access can happen concurrently
129 | }
130 | return newPythonObject(fromReturnedPointer: dictPtr)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2Python/PythonInterpreter+Dictionary.swift:147:41: error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
145 | let keyPtr = try requirePythonPointer(forObject: keyObj)
146 | let valuePtr = try requirePythonPointer(forObject: valueObj)
147 | _ = try await withGIL { try setValue(valuePtr, onDict: dictPtr, atKey: keyPtr, orElse: { try throwPythonError() }) }
| | |- error: sending 'dictPtr' risks causing data races [#SendingRisksDataRace]
| | `- note: 'self'-isolated 'dictPtr' is captured by a actor-isolated closure. actor-isolated uses in closure may race against later actor-isolated uses
| `- note: access can happen concurrently
148 | }
149 | return newPythonObject(fromReturnedPointer: dictPtr)
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[456/463] Compiling Swift2Python SafePythonObject+Convert.swift
[457/463] Compiling Swift2Python SafePythonObject.swift
[458/463] Compiling Swift2Python SafePythonObject+Bitwise.swift
[459/463] Compiling Swift2Python SafePythonObject+Compare.swift
[460/463] Compiling Swift2Python SafePythonObject+Container.swift
[461/463] Compiling Swift2Python PythonInterpreter+Logical.swift
[462/463] Compiling Swift2Python PythonInterpreter+Operator.swift
[463/463] Compiling Swift2Python PythonInterpreter+PythonAPI.swift
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-collections.git
[1/7773] Fetching swift-log
[2/33876] Fetching swift-log, swift-collections
Fetched https://github.com/apple/swift-log.git from cache (2.37s)
Fetched https://github.com/apple/swift-collections.git from cache (2.37s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (3.00s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.14.0 (0.57s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.14.0
BUILD FAILURE 6.2 macosSpm