Build Information
Successful build of Matft, reference master (dda044), with Swift 6.3 for Wasm on 25 Apr 2026 17:19:45 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jjjkkkjjj/Matft.git
Reference: master
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/jjjkkkjjj/Matft
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at dda0449 [fix] fixed expand_dims' behavior (#57) (#58)
Cloned https://github.com/jjjkkkjjj/Matft.git
Revision (git rev-parse @):
dda0449ab4a399de4781cb847ae3cb1d11697865
SUCCESS checkout https://github.com/jjjkkkjjj/Matft.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/jjjkkkjjj/Matft.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-collections
[1/23686] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.76s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.4.1 (2.77s)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.4.1
Building for debugging...
[0/12] Write sources
[10/12] Compiling pocketFFT pocketFFT.c
[11/12] Write swift-version-24593BA9C3E375BF.txt
[13/30] Emitting module InternalCollectionsUtilities
[14/32] Compiling InternalCollectionsUtilities Integer rank.swift
[15/32] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[16/32] Compiling InternalCollectionsUtilities UInt+reversed.swift
[17/32] Compiling InternalCollectionsUtilities _SortedCollection.swift
[18/32] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[19/32] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[20/32] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[21/32] Compiling InternalCollectionsUtilities Span+Extras.swift
[22/32] Compiling InternalCollectionsUtilities Debugging.swift
[23/32] Compiling InternalCollectionsUtilities Descriptions.swift
[24/32] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[25/32] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[26/32] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[27/32] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[28/32] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[29/32] Compiling InternalCollectionsUtilities String+Padding.swift
[30/32] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[31/32] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[32/32] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[34/328] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[35/328] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[36/328] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[37/328] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[38/328] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[39/332] Compiling HashTreeCollections _HashNode+Structural merge.swift
[40/332] Compiling HashTreeCollections _AncestorHashSlots.swift
[41/332] Compiling HashTreeCollections _Bitmap.swift
[42/332] Compiling HashTreeCollections _Bucket.swift
[43/332] Compiling HashTreeCollections _HashTreeIterator.swift
[44/332] Compiling HashTreeCollections _HashTreeStatistics.swift
[45/332] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[46/332] Compiling HashTreeCollections _RawHashNode.swift
[47/332] Compiling HashTreeCollections _UnmanagedHashNode.swift
[48/332] Compiling HashTreeCollections _UnsafePath.swift
[49/332] Compiling HashTreeCollections TreeDictionary+Codable.swift
[50/332] Compiling HashTreeCollections TreeDictionary+Collection.swift
[51/332] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[52/332] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[53/332] Compiling HashTreeCollections _Hash.swift
[54/332] Compiling HashTreeCollections _HashLevel.swift
[55/332] Compiling HashTreeCollections _HashNode+Builder.swift
[56/332] Compiling HashTreeCollections _HashNode+Debugging.swift
[57/332] Compiling HashTreeCollections _HashNode+Initializers.swift
[58/332] Compiling HashTreeCollections _HashNode+Invariants.swift
[59/332] Compiling HashTreeCollections _HashNode+Lookups.swift
[60/332] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[61/332] Compiling ContainersPreview Box.swift
[62/332] Compiling ContainersPreview Inout.swift
[63/332] Compiling ContainersPreview InputSpan.swift
[64/332] Compiling ContainersPreview Shared.swift
[65/332] Emitting module ContainersPreview
[66/332] Compiling HeapModule _HeapNode.swift
[67/332] Compiling HeapModule Heap.swift
[68/332] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[69/332] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[70/332] Compiling HashTreeCollections _HashNode+Storage.swift
[71/332] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[72/332] Compiling HashTreeCollections _HashNode+Structural filter.swift
[74/333] Compiling HeapModule Heap+Invariants.swift
[75/333] Compiling HeapModule Heap+UnsafeHandle.swift
[76/333] Compiling HeapModule Heap+Descriptions.swift
[77/333] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[78/333] Emitting module HeapModule
[80/374] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[81/374] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[82/374] Compiling HashTreeCollections TreeDictionary+Keys.swift
[83/374] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[84/374] Compiling HashTreeCollections TreeDictionary+Merge.swift
[85/374] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[86/374] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[87/381] Compiling HashTreeCollections TreeSet+Hashable.swift
[88/381] Compiling HashTreeCollections TreeSet+Sendable.swift
[89/381] Compiling HashTreeCollections TreeSet+Sequence.swift
[90/381] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[91/381] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[92/381] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[93/381] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[94/381] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[95/381] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[96/381] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[97/391] Compiling DequeModule Deque._UnsafeHandle.swift
[98/391] Compiling DequeModule Deque.swift
[99/391] Compiling DequeModule RigidDeque+Removals.swift
[100/391] Compiling DequeModule RigidDeque+Replacements.swift
[101/391] Compiling DequeModule RigidDeque+Testing.swift
[102/391] Compiling DequeModule RigidDeque.swift
[103/391] Compiling DequeModule UniqueDeque+Append.swift
[104/398] Emitting module BitCollections
[105/398] Compiling HashTreeCollections TreeDictionary+Filter.swift
[112/398] Compiling DequeModule _DequeBuffer.swift
[113/398] Compiling DequeModule _DequeBufferHeader.swift
[114/398] Compiling DequeModule RigidDeque+Append.swift
[115/398] Compiling DequeModule RigidDeque+Consumption.swift
[116/398] Compiling DequeModule RigidDeque+Container.swift
[117/398] Compiling DequeModule RigidDeque+Descriptions.swift
[118/403] Compiling BitCollections BitSet.swift
[119/403] Compiling BitCollections Range+Utilities.swift
[120/403] Compiling BitCollections Slice+Utilities.swift
[121/403] Compiling BitCollections UInt+Tricks.swift
[122/403] Compiling BitCollections _Word.swift
[123/403] Compiling OrderedCollections _UnsafeBitset.swift
[124/403] Compiling HashTreeCollections TreeSet+Equatable.swift
[125/403] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[126/403] Compiling HashTreeCollections TreeSet+Extras.swift
[127/403] Compiling HashTreeCollections TreeSet+Filter.swift
[128/403] Compiling DequeModule RigidDeque+Initializers.swift
[129/403] Compiling DequeModule RigidDeque+Insertions.swift
[130/403] Compiling DequeModule RigidDeque+Prepend.swift
[131/403] Compiling DequeModule UniqueDeque+Hashable.swift
[132/403] Compiling DequeModule UniqueDeque+Initializers.swift
[133/403] Compiling DequeModule UniqueDeque+Insertions.swift
[134/403] Compiling DequeModule UniqueDeque+Prepend.swift
[135/403] Compiling DequeModule UniqueDeque+Removals.swift
[136/403] Compiling DequeModule UniqueDeque+Container.swift
[137/403] Compiling DequeModule UniqueDeque+Descriptions.swift
[138/403] Compiling DequeModule UniqueDeque+Equatable.swift
[139/403] Compiling DequeModule UniqueDeque+Experimental.swift
[140/403] Compiling DequeModule RigidDeque+Equatable.swift
[141/403] Compiling DequeModule RigidDeque+Experimental.swift
[142/403] Compiling DequeModule RigidDeque+Hashable.swift
[143/403] Compiling DequeModule UniqueDeque+Replacements.swift
[144/403] Compiling DequeModule UniqueDeque.swift
[145/403] Compiling DequeModule _DequeSlot.swift
[146/403] Compiling DequeModule _UnsafeDequeHandle.swift
[147/403] Compiling DequeModule _UnsafeDequeSegments.swift
[148/403] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[149/403] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[158/403] Compiling DequeModule UniqueDeque+Consumption.swift
[163/403] Compiling DequeModule Deque+Extras.swift
[164/403] Compiling DequeModule Deque+Hashable.swift
[165/403] Compiling DequeModule Deque+Testing.swift
[166/403] Compiling DequeModule Deque._Storage.swift
[181/403] Compiling BitCollections BitSet.Index.swift
[182/403] Compiling BitCollections BitSet._UnsafeHandle.swift
[224/403] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[225/403] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[226/403] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[227/403] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[228/403] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[229/403] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[230/403] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[231/403] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[232/403] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[233/403] Compiling HashTreeCollections TreeSet.swift
[234/412] Compiling DequeModule Deque+Codable.swift
[235/412] Compiling DequeModule Deque+Collection.swift
[236/412] Compiling DequeModule Deque+CustomReflectable.swift
[237/412] Compiling DequeModule Deque+Descriptions.swift
[238/412] Compiling DequeModule Deque+Equatable.swift
[239/412] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[333/413] Emitting module OrderedCollections
[335/414] Emitting module _RopeModule
[379/414] Compiling _RopeModule Rope+Join.swift
[380/414] Compiling _RopeModule Rope+MutatingForEach.swift
[381/414] Compiling _RopeModule Rope+Remove.swift
[382/414] Compiling _RopeModule Rope+RemoveSubrange.swift
[383/414] Compiling _RopeModule Rope+Split.swift
[384/414] Compiling _RopeModule Optional Utilities.swift
[385/414] Compiling _RopeModule String Utilities.swift
[386/414] Compiling _RopeModule String.Index+ABI.swift
[387/414] Compiling _RopeModule _CharacterRecognizer.swift
[388/414] Emitting module HashTreeCollections
[411/416] Emitting module DequeModule
[418/423] Compiling Collections OrderedCollections reexports.swift
[419/423] Compiling Collections HashTreeCollections reexports.swift
[420/423] Compiling Collections HeapModule reexports.swift
[421/423] Compiling Collections BitCollections reexports.swift
[422/423] Compiling Collections DequeModule reexports.swift
[423/423] Emitting module Collections
[425/475] Emitting module Matft
[426/482] Compiling Matft ptrcreation.swift
[427/482] Compiling Matft withptr.swift
[428/482] Compiling Matft typeconversion.swift
[429/482] Compiling Matft conversion+method.swift
[430/482] Compiling Matft creation+method.swift
[431/482] Compiling Matft math+method.swift
[432/482] Compiling Matft reduce+method.swift
[433/482] Compiling Matft Matft.swift
[434/482] Compiling Matft collection.swift
[435/482] Compiling Matft print.swift
[436/482] Compiling Matft mfarray.swift
[437/482] Compiling Matft mfdata.swift
[438/482] Compiling Matft mferror.swift
[439/482] Compiling Matft mforder.swift
[440/482] Compiling Matft mfslice.swift
[441/482] Compiling Matft mfstructure.swift
[442/482] Compiling Matft mftype.swift
[443/482] Compiling Matft mfarrayProtocol.swift
[444/482] Compiling Matft mfdataProtocol.swift
[445/482] Compiling Matft mfinterpProtocol.swift
[446/482] Compiling Matft mfsliceProtocol.swift
[447/482] Compiling Matft mftypeProtocol.swift
[448/482] Compiling Matft index.swift
[449/482] Compiling Matft internalError.swift
[450/482] Compiling Matft optparams.swift
[451/482] Compiling Matft order.swift
[452/482] Compiling Matft type.swift
[453/482] Compiling Matft image.swift
[454/482] Compiling Matft ptr2array.swift
[455/482] Compiling Matft scalar+method.swift
[456/482] Compiling Matft stats+method.swift
[457/482] Compiling Matft subscript.swift
[458/482] Compiling Matft biop+static.swift
[459/482] Compiling Matft complex+static.swift
[460/482] Compiling Matft conversion+static.swift
[461/482] Compiling Matft creation+static.swift
[462/482] Compiling Matft vForce.swift
[463/482] Compiling Matft vImage.swift
[464/482] Compiling Matft binary+operator.swift
[465/482] Compiling Matft infix+operator.swift
[466/482] Compiling Matft prefix+operator.swift
[467/482] Compiling Matft slice+operator.swift
[468/482] Compiling Matft pocketFFT+wrapper.swift
[469/482] Compiling Matft fft+static.swift
[470/482] Compiling Matft file+static.swift
[471/482] Compiling Matft image+static.swift
[472/482] Compiling Matft interpolation+static.swift
[473/482] Compiling Matft linalg+static.swift
[474/482] Compiling Matft math+static.swift
[475/482] Compiling Matft preop+static.swift
[476/482] Compiling Matft random+static.swift
/host/spi-builder-workspace/Sources/Matft/library/lapack.swift:1561:17: warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1559 | var jobvlStr = Array("V".utf8CString)
1560 | var jobvrStr = Array("V".utf8CString)
1561 | let JOBVL = UnsafeMutablePointer<CChar>(&jobvlStr)
| | |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1562 | let JOBVR = UnsafeMutablePointer<CChar>(&jobvrStr)
1563 |
/host/spi-builder-workspace/Sources/Matft/library/lapack.swift:1562:17: warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1560 | var jobvrStr = Array("V".utf8CString)
1561 | let JOBVL = UnsafeMutablePointer<CChar>(&jobvlStr)
1562 | let JOBVR = UnsafeMutablePointer<CChar>(&jobvrStr)
| | |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1563 |
1564 | var N = __CLPK_integer(rowcolnum)
/host/spi-builder-workspace/Sources/Matft/library/lapack.swift:1642:16: warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1640 | // Use Swift String instead of NSString for WASM compatibility
1641 | var jobzStr = full_matrices ? Array("A".utf8CString) : Array("S".utf8CString)
1642 | let JOBZ = UnsafeMutablePointer<CChar>(&jobzStr)
| | |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1643 | var M = __CLPK_integer(rownum)
1644 | var N = __CLPK_integer(colnum)
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[477/482] Compiling Matft reduce+static.swift
/host/spi-builder-workspace/Sources/Matft/library/lapack.swift:1561:17: warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1559 | var jobvlStr = Array("V".utf8CString)
1560 | var jobvrStr = Array("V".utf8CString)
1561 | let JOBVL = UnsafeMutablePointer<CChar>(&jobvlStr)
| | |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1562 | let JOBVR = UnsafeMutablePointer<CChar>(&jobvrStr)
1563 |
/host/spi-builder-workspace/Sources/Matft/library/lapack.swift:1562:17: warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1560 | var jobvrStr = Array("V".utf8CString)
1561 | let JOBVL = UnsafeMutablePointer<CChar>(&jobvlStr)
1562 | let JOBVR = UnsafeMutablePointer<CChar>(&jobvrStr)
| | |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1563 |
1564 | var N = __CLPK_integer(rowcolnum)
/host/spi-builder-workspace/Sources/Matft/library/lapack.swift:1642:16: warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1640 | // Use Swift String instead of NSString for WASM compatibility
1641 | var jobzStr = full_matrices ? Array("A".utf8CString) : Array("S".utf8CString)
1642 | let JOBZ = UnsafeMutablePointer<CChar>(&jobzStr)
| | |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1643 | var M = __CLPK_integer(rownum)
1644 | var N = __CLPK_integer(colnum)
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[478/482] Compiling Matft stats+static.swift
/host/spi-builder-workspace/Sources/Matft/library/lapack.swift:1561:17: warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1559 | var jobvlStr = Array("V".utf8CString)
1560 | var jobvrStr = Array("V".utf8CString)
1561 | let JOBVL = UnsafeMutablePointer<CChar>(&jobvlStr)
| | |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1562 | let JOBVR = UnsafeMutablePointer<CChar>(&jobvrStr)
1563 |
/host/spi-builder-workspace/Sources/Matft/library/lapack.swift:1562:17: warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1560 | var jobvrStr = Array("V".utf8CString)
1561 | let JOBVL = UnsafeMutablePointer<CChar>(&jobvlStr)
1562 | let JOBVR = UnsafeMutablePointer<CChar>(&jobvrStr)
| | |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1563 |
1564 | var N = __CLPK_integer(rowcolnum)
/host/spi-builder-workspace/Sources/Matft/library/lapack.swift:1642:16: warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1640 | // Use Swift String instead of NSString for WASM compatibility
1641 | var jobzStr = full_matrices ? Array("A".utf8CString) : Array("S".utf8CString)
1642 | let JOBZ = UnsafeMutablePointer<CChar>(&jobzStr)
| | |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1643 | var M = __CLPK_integer(rownum)
1644 | var N = __CLPK_integer(colnum)
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[479/482] Compiling Matft cblas.swift
/host/spi-builder-workspace/Sources/Matft/library/lapack.swift:1561:17: warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1559 | var jobvlStr = Array("V".utf8CString)
1560 | var jobvrStr = Array("V".utf8CString)
1561 | let JOBVL = UnsafeMutablePointer<CChar>(&jobvlStr)
| | |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1562 | let JOBVR = UnsafeMutablePointer<CChar>(&jobvrStr)
1563 |
/host/spi-builder-workspace/Sources/Matft/library/lapack.swift:1562:17: warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1560 | var jobvrStr = Array("V".utf8CString)
1561 | let JOBVL = UnsafeMutablePointer<CChar>(&jobvlStr)
1562 | let JOBVR = UnsafeMutablePointer<CChar>(&jobvrStr)
| | |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1563 |
1564 | var N = __CLPK_integer(rowcolnum)
/host/spi-builder-workspace/Sources/Matft/library/lapack.swift:1642:16: warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1640 | // Use Swift String instead of NSString for WASM compatibility
1641 | var jobzStr = full_matrices ? Array("A".utf8CString) : Array("S".utf8CString)
1642 | let JOBZ = UnsafeMutablePointer<CChar>(&jobzStr)
| | |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1643 | var M = __CLPK_integer(rownum)
1644 | var N = __CLPK_integer(colnum)
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[480/482] Compiling Matft extvDSP.swift
/host/spi-builder-workspace/Sources/Matft/library/lapack.swift:1561:17: warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1559 | var jobvlStr = Array("V".utf8CString)
1560 | var jobvrStr = Array("V".utf8CString)
1561 | let JOBVL = UnsafeMutablePointer<CChar>(&jobvlStr)
| | |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1562 | let JOBVR = UnsafeMutablePointer<CChar>(&jobvrStr)
1563 |
/host/spi-builder-workspace/Sources/Matft/library/lapack.swift:1562:17: warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1560 | var jobvrStr = Array("V".utf8CString)
1561 | let JOBVL = UnsafeMutablePointer<CChar>(&jobvlStr)
1562 | let JOBVR = UnsafeMutablePointer<CChar>(&jobvrStr)
| | |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1563 |
1564 | var N = __CLPK_integer(rowcolnum)
/host/spi-builder-workspace/Sources/Matft/library/lapack.swift:1642:16: warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1640 | // Use Swift String instead of NSString for WASM compatibility
1641 | var jobzStr = full_matrices ? Array("A".utf8CString) : Array("S".utf8CString)
1642 | let JOBZ = UnsafeMutablePointer<CChar>(&jobzStr)
| | |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1643 | var M = __CLPK_integer(rownum)
1644 | var N = __CLPK_integer(colnum)
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[481/482] Compiling Matft lapack.swift
/host/spi-builder-workspace/Sources/Matft/library/lapack.swift:1561:17: warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1559 | var jobvlStr = Array("V".utf8CString)
1560 | var jobvrStr = Array("V".utf8CString)
1561 | let JOBVL = UnsafeMutablePointer<CChar>(&jobvlStr)
| | |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1562 | let JOBVR = UnsafeMutablePointer<CChar>(&jobvrStr)
1563 |
/host/spi-builder-workspace/Sources/Matft/library/lapack.swift:1562:17: warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1560 | var jobvrStr = Array("V".utf8CString)
1561 | let JOBVL = UnsafeMutablePointer<CChar>(&jobvlStr)
1562 | let JOBVR = UnsafeMutablePointer<CChar>(&jobvrStr)
| | |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1563 |
1564 | var N = __CLPK_integer(rowcolnum)
/host/spi-builder-workspace/Sources/Matft/library/lapack.swift:1642:16: warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1640 | // Use Swift String instead of NSString for WASM compatibility
1641 | var jobzStr = full_matrices ? Array("A".utf8CString) : Array("S".utf8CString)
1642 | let JOBZ = UnsafeMutablePointer<CChar>(&jobzStr)
| | |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1643 | var M = __CLPK_integer(rownum)
1644 | var N = __CLPK_integer(colnum)
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[482/482] Compiling Matft vDSP.swift
/host/spi-builder-workspace/Sources/Matft/library/lapack.swift:1561:17: warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1559 | var jobvlStr = Array("V".utf8CString)
1560 | var jobvrStr = Array("V".utf8CString)
1561 | let JOBVL = UnsafeMutablePointer<CChar>(&jobvlStr)
| | |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1562 | let JOBVR = UnsafeMutablePointer<CChar>(&jobvrStr)
1563 |
/host/spi-builder-workspace/Sources/Matft/library/lapack.swift:1562:17: warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1560 | var jobvrStr = Array("V".utf8CString)
1561 | let JOBVL = UnsafeMutablePointer<CChar>(&jobvlStr)
1562 | let JOBVR = UnsafeMutablePointer<CChar>(&jobvrStr)
| | |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1563 |
1564 | var N = __CLPK_integer(rowcolnum)
/host/spi-builder-workspace/Sources/Matft/library/lapack.swift:1642:16: warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1640 | // Use Swift String instead of NSString for WASM compatibility
1641 | var jobzStr = full_matrices ? Array("A".utf8CString) : Array("S".utf8CString)
1642 | let JOBZ = UnsafeMutablePointer<CChar>(&jobzStr)
| | |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
1643 | var M = __CLPK_integer(rownum)
1644 | var N = __CLPK_integer(colnum)
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
Build complete! (105.45s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections"
}
],
"manifest_display_name" : "Matft",
"name" : "Matft",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Matft",
"targets" : [
"Matft"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "pocketFFT",
"module_type" : "ClangTarget",
"name" : "pocketFFT",
"path" : "Sources/pocketFFT",
"product_memberships" : [
"Matft"
],
"sources" : [
"pocketFFT.c"
],
"type" : "library"
},
{
"c99name" : "PerformanceTests",
"module_type" : "SwiftTarget",
"name" : "PerformanceTests",
"path" : "Tests/PerformanceTests",
"sources" : [
"ArithmeticPefTests.swift",
"BoolPefTests.swift",
"IndexingPefTests.swift",
"MathPefTests.swift"
],
"target_dependencies" : [
"Matft"
],
"type" : "test"
},
{
"c99name" : "MatftTests",
"module_type" : "SwiftTarget",
"name" : "MatftTests",
"path" : "Tests/MatftTests",
"sources" : [
"ArithmeticTest.swift",
"BoolTest.swift",
"CollectionTest.swift",
"ComplexTest.swift",
"ConversionTest.swift",
"CreationTest.swift",
"FFTTest.swift",
"FileTest.swift",
"InterpolationTest.swift",
"LinAlgTest.swift",
"MatftTests.swift",
"MathTest.swift",
"PreOpTest.swift",
"PrintTest.swift",
"ProductTests.swift",
"RandomTest.swift",
"ReduceTest.swift",
"StackTest.swift",
"StatsTest.swift",
"SubscriptTest.swift",
"VectorOpTest.swift",
"WASIFallbackTests.swift"
],
"target_dependencies" : [
"Matft"
],
"type" : "test"
},
{
"c99name" : "Matft",
"module_type" : "SwiftTarget",
"name" : "Matft",
"path" : "Sources/Matft",
"product_dependencies" : [
"Collections"
],
"product_memberships" : [
"Matft"
],
"sources" : [
"Matft.swift",
"core/general/collection.swift",
"core/general/print.swift",
"core/object/mfarray.swift",
"core/object/mfdata.swift",
"core/object/mferror.swift",
"core/object/mforder.swift",
"core/object/mfslice.swift",
"core/object/mfstructure.swift",
"core/object/mftype.swift",
"core/protocol/mfarrayProtocol.swift",
"core/protocol/mfdataProtocol.swift",
"core/protocol/mfinterpProtocol.swift",
"core/protocol/mfsliceProtocol.swift",
"core/protocol/mftypeProtocol.swift",
"core/util/common/index.swift",
"core/util/common/internalError.swift",
"core/util/common/optparams.swift",
"core/util/common/order.swift",
"core/util/common/type.swift",
"core/util/image.swift",
"core/util/pointer/ptr2array.swift",
"core/util/pointer/ptrcreation.swift",
"core/util/pointer/withptr.swift",
"core/util/typeconversion.swift",
"function/method/conversion+method.swift",
"function/method/creation+method.swift",
"function/method/math+method.swift",
"function/method/reduce+method.swift",
"function/method/scalar+method.swift",
"function/method/stats+method.swift",
"function/method/subscript.swift",
"function/static/biop+static.swift",
"function/static/complex+static.swift",
"function/static/conversion+static.swift",
"function/static/creation+static.swift",
"function/static/fft+static.swift",
"function/static/file+static.swift",
"function/static/image+static.swift",
"function/static/interpolation+static.swift",
"function/static/linalg+static.swift",
"function/static/math+static.swift",
"function/static/preop+static.swift",
"function/static/random+static.swift",
"function/static/reduce+static.swift",
"function/static/stats+static.swift",
"library/cblas.swift",
"library/extvDSP.swift",
"library/lapack.swift",
"library/vDSP.swift",
"library/vForce.swift",
"library/vImage.swift",
"operator/binary+operator.swift",
"operator/infix+operator.swift",
"operator/prefix+operator.swift",
"operator/slice+operator.swift",
"wrapper/pocketFFT+wrapper.swift"
],
"target_dependencies" : [
"pocketFFT"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Done.