Build Information
Successful build of swift-highway, reference v1.0.0-alpha.7 (2f1fb9), with Swift 6.3 for macOS (SPM) on 10 Oct 2026 03:09:06 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build Log
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
123 | unsafe HighwayOps.storeF32(a, $0.baseAddress.unsafelyUnwrapped)
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayFloat.swift:159:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
157 | public static func storeAligned(_ a: Vector, to span: inout MutableSpan<Lane>) {
158 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
159 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
160 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayFloat.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Float>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayFloat.Lane>' (aka 'UnsafeBufferPointer<Float>')
161 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
162 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayFloat.swift:172:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
170 | public static func storeAligned(_ a: Vector, toUnchecked span: inout MutableSpan<Lane>) {
171 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
172 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
173 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayFloat.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Float>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayFloat.Lane>' (aka 'UnsafeBufferPointer<Float>')
174 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
175 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayFloat.swift:178:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
176 | "Span does not start at an address aligned to the vector size"
177 | )
178 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayFloat.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Float>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayFloat.Lane>' (aka 'UnsafeMutableBufferPointer<Float>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
179 | unsafe HighwayOps.storeAlignedF32(a, $0.baseAddress.unsafelyUnwrapped)
180 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayFloat.swift:190:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
188 | "OutputSpan has less free capacity than a vector has lanes"
189 | )
190 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
191 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayFloat.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Float>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayFloat.Lane>' (aka 'UnsafeBufferPointer<Float>')
192 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
193 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayFloat.swift:207:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
205 | "OutputSpan has less free capacity than a vector has lanes"
206 | )
207 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
208 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayFloat.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Float>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayFloat.Lane>' (aka 'UnsafeBufferPointer<Float>')
209 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
210 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayFloat.swift:231:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
229 | @export(implementation) @inline(always)
230 | public static func storeFirst(_ a: Vector, to span: inout MutableSpan<Lane>) {
231 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayFloat.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Float>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayFloat.Lane>' (aka 'UnsafeMutableBufferPointer<Float>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
232 | unsafe HighwayOps.storeFirstF32(a, $0.baseAddress, $0.count)
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayFloat.swift:445:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
443 | ) {
444 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
445 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayFloat.Lane>) -> Void' (aka '(UnsafeBufferPointer<Float>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayFloat.Lane>' (aka 'UnsafeBufferPointer<Float>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
446 | unsafe HighwayOps.loadInterleaved2F32($0.baseAddress.unsafelyUnwrapped, &v0, &v1)
447 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayFloat.swift:484:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
482 | ) {
483 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
484 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayFloat.Lane>) -> Void' (aka '(UnsafeBufferPointer<Float>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayFloat.Lane>' (aka 'UnsafeBufferPointer<Float>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
485 | unsafe HighwayOps.loadInterleaved3F32($0.baseAddress.unsafelyUnwrapped, &v0, &v1, &v2)
486 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayFloat.swift:526:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
524 | ) {
525 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
526 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayFloat.Lane>) -> Void' (aka '(UnsafeBufferPointer<Float>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayFloat.Lane>' (aka 'UnsafeBufferPointer<Float>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
527 | unsafe HighwayOps.loadInterleaved4F32(
528 | $0.baseAddress.unsafelyUnwrapped,
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayFloat.swift:561:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
559 | ) {
560 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
561 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayFloat.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Float>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayFloat.Lane>' (aka 'UnsafeMutableBufferPointer<Float>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
562 | unsafe HighwayOps.storeInterleaved2F32(a, b, $0.baseAddress.unsafelyUnwrapped)
563 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayFloat.swift:635:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
633 | ) {
634 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
635 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayFloat.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Float>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayFloat.Lane>' (aka 'UnsafeMutableBufferPointer<Float>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
636 | unsafe HighwayOps.storeInterleaved3F32(a, b, c, $0.baseAddress.unsafelyUnwrapped)
637 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayFloat.swift:715:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
713 | ) {
714 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
715 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayFloat.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Float>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayFloat.Lane>' (aka 'UnsafeMutableBufferPointer<Float>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
716 | unsafe HighwayOps.storeInterleaved4F32(a, b, c, d, $0.baseAddress.unsafelyUnwrapped)
717 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt16.swift:57:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
55 | public static func load(fromUnchecked span: Span<Lane>) -> Vector {
56 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
57 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt16.Lane>) -> HighwayOps.VectorI16' (aka '(UnsafeBufferPointer<Int16>) -> hwy.N_NEON.Vec128<CShort, _CUnsignedLong_8>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt16.Lane>' (aka 'UnsafeBufferPointer<Int16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
58 | unsafe HighwayOps.loadI16($0.baseAddress.unsafelyUnwrapped)
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt16.swift:71:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
69 | public static func loadAligned(from span: Span<Lane>) -> Vector {
70 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
71 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
72 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt16.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int16>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt16.Lane>' (aka 'UnsafeBufferPointer<Int16>')
73 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
74 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt16.swift:84:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
82 | public static func loadAligned(fromUnchecked span: Span<Lane>) -> Vector {
83 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
84 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
85 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt16.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int16>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt16.Lane>' (aka 'UnsafeBufferPointer<Int16>')
86 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
87 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt16.swift:90:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
88 | "Span does not start at an address aligned to the vector size"
89 | )
90 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt16.Lane>) -> HighwayOps.VectorI16' (aka '(UnsafeBufferPointer<Int16>) -> hwy.N_NEON.Vec128<CShort, _CUnsignedLong_8>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt16.Lane>' (aka 'UnsafeBufferPointer<Int16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
91 | unsafe HighwayOps.loadAlignedI16($0.baseAddress.unsafelyUnwrapped)
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt16.swift:103:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
101 | @export(implementation) @inline(always)
102 | public static func loadFirst(from span: Span<Lane>) -> Vector {
103 | span.withUnsafeBufferPointer { unsafe HighwayOps.loadFirstI16($0.baseAddress, $0.count) }
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt16.Lane>) -> HighwayOps.VectorI16' (aka '(UnsafeBufferPointer<Int16>) -> hwy.N_NEON.Vec128<CShort, _CUnsignedLong_8>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt16.Lane>' (aka 'UnsafeBufferPointer<Int16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
104 | }
105 |
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt16.swift:122:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
120 | public static func store(_ a: Vector, toUnchecked span: inout MutableSpan<Lane>) {
121 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
122 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt16.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int16>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt16.Lane>' (aka 'UnsafeMutableBufferPointer<Int16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
123 | unsafe HighwayOps.storeI16(a, $0.baseAddress.unsafelyUnwrapped)
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt16.swift:159:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
157 | public static func storeAligned(_ a: Vector, to span: inout MutableSpan<Lane>) {
158 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
159 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
160 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt16.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int16>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt16.Lane>' (aka 'UnsafeBufferPointer<Int16>')
161 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
162 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt16.swift:172:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
170 | public static func storeAligned(_ a: Vector, toUnchecked span: inout MutableSpan<Lane>) {
171 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
172 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
173 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt16.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int16>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt16.Lane>' (aka 'UnsafeBufferPointer<Int16>')
174 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
175 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt16.swift:178:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
176 | "Span does not start at an address aligned to the vector size"
177 | )
178 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt16.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int16>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt16.Lane>' (aka 'UnsafeMutableBufferPointer<Int16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
179 | unsafe HighwayOps.storeAlignedI16(a, $0.baseAddress.unsafelyUnwrapped)
180 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt16.swift:190:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
188 | "OutputSpan has less free capacity than a vector has lanes"
189 | )
190 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
191 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt16.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int16>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt16.Lane>' (aka 'UnsafeBufferPointer<Int16>')
192 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
193 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt16.swift:207:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
205 | "OutputSpan has less free capacity than a vector has lanes"
206 | )
207 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
208 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt16.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int16>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt16.Lane>' (aka 'UnsafeBufferPointer<Int16>')
209 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
210 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt16.swift:231:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
229 | @export(implementation) @inline(always)
230 | public static func storeFirst(_ a: Vector, to span: inout MutableSpan<Lane>) {
231 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt16.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int16>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt16.Lane>' (aka 'UnsafeMutableBufferPointer<Int16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
232 | unsafe HighwayOps.storeFirstI16(a, $0.baseAddress, $0.count)
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt16.swift:475:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
473 | ) {
474 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
475 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt16.Lane>) -> Void' (aka '(UnsafeBufferPointer<Int16>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt16.Lane>' (aka 'UnsafeBufferPointer<Int16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
476 | unsafe HighwayOps.loadInterleaved2I16($0.baseAddress.unsafelyUnwrapped, &v0, &v1)
477 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt16.swift:514:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
512 | ) {
513 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
514 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt16.Lane>) -> Void' (aka '(UnsafeBufferPointer<Int16>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt16.Lane>' (aka 'UnsafeBufferPointer<Int16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
515 | unsafe HighwayOps.loadInterleaved3I16($0.baseAddress.unsafelyUnwrapped, &v0, &v1, &v2)
516 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt16.swift:556:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
554 | ) {
555 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
556 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt16.Lane>) -> Void' (aka '(UnsafeBufferPointer<Int16>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt16.Lane>' (aka 'UnsafeBufferPointer<Int16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
557 | unsafe HighwayOps.loadInterleaved4I16(
558 | $0.baseAddress.unsafelyUnwrapped,
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt16.swift:591:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
589 | ) {
590 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
591 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt16.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int16>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt16.Lane>' (aka 'UnsafeMutableBufferPointer<Int16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
592 | unsafe HighwayOps.storeInterleaved2I16(a, b, $0.baseAddress.unsafelyUnwrapped)
593 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt16.swift:665:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
663 | ) {
664 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
665 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt16.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int16>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt16.Lane>' (aka 'UnsafeMutableBufferPointer<Int16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
666 | unsafe HighwayOps.storeInterleaved3I16(a, b, c, $0.baseAddress.unsafelyUnwrapped)
667 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt16.swift:745:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
743 | ) {
744 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
745 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt16.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int16>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt16.Lane>' (aka 'UnsafeMutableBufferPointer<Int16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
746 | unsafe HighwayOps.storeInterleaved4I16(a, b, c, d, $0.baseAddress.unsafelyUnwrapped)
747 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt16.swift:807:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
805 | public static func loadWidening(fromUnchecked span: Span<Int8>) -> Vector {
806 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
807 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int8>) -> HighwayOps.VectorI16' (aka '(UnsafeBufferPointer<Int8>) -> hwy.N_NEON.Vec128<CShort, _CUnsignedLong_8>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
808 | unsafe HighwayOps.loadWideningI8ToI16($0.baseAddress.unsafelyUnwrapped)
809 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt16.swift:820:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
818 | @export(implementation) @inline(always)
819 | public static func loadFirstWidening(from span: Span<Int8>) -> Vector {
820 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int8>) -> HighwayOps.VectorI16' (aka '(UnsafeBufferPointer<Int8>) -> hwy.N_NEON.Vec128<CShort, _CUnsignedLong_8>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
821 | unsafe HighwayOps.loadFirstWideningI8ToI16($0.baseAddress, $0.count)
822 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt32.swift:57:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
55 | public static func load(fromUnchecked span: Span<Lane>) -> Vector {
56 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
57 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt32.Lane>) -> HighwayOps.VectorI32' (aka '(UnsafeBufferPointer<Int32>) -> hwy.N_NEON.Vec128<CInt, _CUnsignedLong_4>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt32.Lane>' (aka 'UnsafeBufferPointer<Int32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
58 | unsafe HighwayOps.loadI32($0.baseAddress.unsafelyUnwrapped)
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt32.swift:71:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
69 | public static func loadAligned(from span: Span<Lane>) -> Vector {
70 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
71 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
72 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt32.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int32>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt32.Lane>' (aka 'UnsafeBufferPointer<Int32>')
73 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
74 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt32.swift:84:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
82 | public static func loadAligned(fromUnchecked span: Span<Lane>) -> Vector {
83 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
84 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
85 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt32.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int32>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt32.Lane>' (aka 'UnsafeBufferPointer<Int32>')
86 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
87 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt32.swift:90:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
88 | "Span does not start at an address aligned to the vector size"
89 | )
90 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt32.Lane>) -> HighwayOps.VectorI32' (aka '(UnsafeBufferPointer<Int32>) -> hwy.N_NEON.Vec128<CInt, _CUnsignedLong_4>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt32.Lane>' (aka 'UnsafeBufferPointer<Int32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
91 | unsafe HighwayOps.loadAlignedI32($0.baseAddress.unsafelyUnwrapped)
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt32.swift:103:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
101 | @export(implementation) @inline(always)
102 | public static func loadFirst(from span: Span<Lane>) -> Vector {
103 | span.withUnsafeBufferPointer { unsafe HighwayOps.loadFirstI32($0.baseAddress, $0.count) }
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt32.Lane>) -> HighwayOps.VectorI32' (aka '(UnsafeBufferPointer<Int32>) -> hwy.N_NEON.Vec128<CInt, _CUnsignedLong_4>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt32.Lane>' (aka 'UnsafeBufferPointer<Int32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
104 | }
105 |
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt32.swift:122:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
120 | public static func store(_ a: Vector, toUnchecked span: inout MutableSpan<Lane>) {
121 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
122 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt32.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int32>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt32.Lane>' (aka 'UnsafeMutableBufferPointer<Int32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
123 | unsafe HighwayOps.storeI32(a, $0.baseAddress.unsafelyUnwrapped)
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt32.swift:159:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
157 | public static func storeAligned(_ a: Vector, to span: inout MutableSpan<Lane>) {
158 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
159 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
160 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt32.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int32>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt32.Lane>' (aka 'UnsafeBufferPointer<Int32>')
161 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
162 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt32.swift:172:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
170 | public static func storeAligned(_ a: Vector, toUnchecked span: inout MutableSpan<Lane>) {
171 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
172 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
173 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt32.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int32>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt32.Lane>' (aka 'UnsafeBufferPointer<Int32>')
174 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
175 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt32.swift:178:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
176 | "Span does not start at an address aligned to the vector size"
177 | )
178 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt32.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int32>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt32.Lane>' (aka 'UnsafeMutableBufferPointer<Int32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
179 | unsafe HighwayOps.storeAlignedI32(a, $0.baseAddress.unsafelyUnwrapped)
180 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt32.swift:190:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
188 | "OutputSpan has less free capacity than a vector has lanes"
189 | )
190 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
191 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt32.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int32>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt32.Lane>' (aka 'UnsafeBufferPointer<Int32>')
192 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
193 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt32.swift:207:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
205 | "OutputSpan has less free capacity than a vector has lanes"
206 | )
207 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
208 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt32.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int32>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt32.Lane>' (aka 'UnsafeBufferPointer<Int32>')
209 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
210 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt32.swift:231:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
229 | @export(implementation) @inline(always)
230 | public static func storeFirst(_ a: Vector, to span: inout MutableSpan<Lane>) {
231 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt32.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int32>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt32.Lane>' (aka 'UnsafeMutableBufferPointer<Int32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
232 | unsafe HighwayOps.storeFirstI32(a, $0.baseAddress, $0.count)
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt32.swift:465:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
463 | ) {
464 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
465 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt32.Lane>) -> Void' (aka '(UnsafeBufferPointer<Int32>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt32.Lane>' (aka 'UnsafeBufferPointer<Int32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
466 | unsafe HighwayOps.loadInterleaved2I32($0.baseAddress.unsafelyUnwrapped, &v0, &v1)
467 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt32.swift:504:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
502 | ) {
503 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
504 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt32.Lane>) -> Void' (aka '(UnsafeBufferPointer<Int32>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt32.Lane>' (aka 'UnsafeBufferPointer<Int32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
505 | unsafe HighwayOps.loadInterleaved3I32($0.baseAddress.unsafelyUnwrapped, &v0, &v1, &v2)
506 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt32.swift:546:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
544 | ) {
545 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
546 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt32.Lane>) -> Void' (aka '(UnsafeBufferPointer<Int32>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt32.Lane>' (aka 'UnsafeBufferPointer<Int32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
547 | unsafe HighwayOps.loadInterleaved4I32(
548 | $0.baseAddress.unsafelyUnwrapped,
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt32.swift:581:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
579 | ) {
580 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
581 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt32.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int32>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt32.Lane>' (aka 'UnsafeMutableBufferPointer<Int32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
582 | unsafe HighwayOps.storeInterleaved2I32(a, b, $0.baseAddress.unsafelyUnwrapped)
583 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt32.swift:655:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
653 | ) {
654 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
655 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt32.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int32>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt32.Lane>' (aka 'UnsafeMutableBufferPointer<Int32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
656 | unsafe HighwayOps.storeInterleaved3I32(a, b, c, $0.baseAddress.unsafelyUnwrapped)
657 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt32.swift:735:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
733 | ) {
734 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
735 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt32.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int32>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt32.Lane>' (aka 'UnsafeMutableBufferPointer<Int32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
736 | unsafe HighwayOps.storeInterleaved4I32(a, b, c, d, $0.baseAddress.unsafelyUnwrapped)
737 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt32.swift:797:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
795 | public static func loadWidening(fromUnchecked span: Span<Int8>) -> Vector {
796 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
797 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int8>) -> HighwayOps.VectorI32' (aka '(UnsafeBufferPointer<Int8>) -> hwy.N_NEON.Vec128<CInt, _CUnsignedLong_4>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
798 | unsafe HighwayOps.loadWideningI8ToI32($0.baseAddress.unsafelyUnwrapped)
799 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt32.swift:818:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
816 | public static func loadWidening(fromUnchecked span: Span<Int16>) -> Vector {
817 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
818 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int16>) -> HighwayOps.VectorI32' (aka '(UnsafeBufferPointer<Int16>) -> hwy.N_NEON.Vec128<CInt, _CUnsignedLong_4>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
819 | unsafe HighwayOps.loadWideningI16ToI32($0.baseAddress.unsafelyUnwrapped)
820 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt32.swift:831:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
829 | @export(implementation) @inline(always)
830 | public static func loadFirstWidening(from span: Span<Int8>) -> Vector {
831 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int8>) -> HighwayOps.VectorI32' (aka '(UnsafeBufferPointer<Int8>) -> hwy.N_NEON.Vec128<CInt, _CUnsignedLong_4>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
832 | unsafe HighwayOps.loadFirstWideningI8ToI32($0.baseAddress, $0.count)
833 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt32.swift:844:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
842 | @export(implementation) @inline(always)
843 | public static func loadFirstWidening(from span: Span<Int16>) -> Vector {
844 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int16>) -> HighwayOps.VectorI32' (aka '(UnsafeBufferPointer<Int16>) -> hwy.N_NEON.Vec128<CInt, _CUnsignedLong_4>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
845 | unsafe HighwayOps.loadFirstWideningI16ToI32($0.baseAddress, $0.count)
846 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:57:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
55 | public static func load(fromUnchecked span: Span<Lane>) -> Vector {
56 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
57 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt64.Lane>) -> HighwayOps.VectorI64' (aka '(UnsafeBufferPointer<Int64>) -> hwy.N_NEON.Vec128<CLongLong, _CUnsignedLong_2>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt64.Lane>' (aka 'UnsafeBufferPointer<Int64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
58 | unsafe HighwayOps.loadI64($0.baseAddress.unsafelyUnwrapped)
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:71:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
69 | public static func loadAligned(from span: Span<Lane>) -> Vector {
70 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
71 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
72 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt64.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int64>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt64.Lane>' (aka 'UnsafeBufferPointer<Int64>')
73 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
74 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:84:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
82 | public static func loadAligned(fromUnchecked span: Span<Lane>) -> Vector {
83 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
84 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
85 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt64.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int64>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt64.Lane>' (aka 'UnsafeBufferPointer<Int64>')
86 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
87 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:90:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
88 | "Span does not start at an address aligned to the vector size"
89 | )
90 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt64.Lane>) -> HighwayOps.VectorI64' (aka '(UnsafeBufferPointer<Int64>) -> hwy.N_NEON.Vec128<CLongLong, _CUnsignedLong_2>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt64.Lane>' (aka 'UnsafeBufferPointer<Int64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
91 | unsafe HighwayOps.loadAlignedI64($0.baseAddress.unsafelyUnwrapped)
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:103:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
101 | @export(implementation) @inline(always)
102 | public static func loadFirst(from span: Span<Lane>) -> Vector {
103 | span.withUnsafeBufferPointer { unsafe HighwayOps.loadFirstI64($0.baseAddress, $0.count) }
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt64.Lane>) -> HighwayOps.VectorI64' (aka '(UnsafeBufferPointer<Int64>) -> hwy.N_NEON.Vec128<CLongLong, _CUnsignedLong_2>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt64.Lane>' (aka 'UnsafeBufferPointer<Int64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
104 | }
105 |
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:122:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
120 | public static func store(_ a: Vector, toUnchecked span: inout MutableSpan<Lane>) {
121 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
122 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt64.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int64>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt64.Lane>' (aka 'UnsafeMutableBufferPointer<Int64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
123 | unsafe HighwayOps.storeI64(a, $0.baseAddress.unsafelyUnwrapped)
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:159:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
157 | public static func storeAligned(_ a: Vector, to span: inout MutableSpan<Lane>) {
158 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
159 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
160 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt64.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int64>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt64.Lane>' (aka 'UnsafeBufferPointer<Int64>')
161 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
162 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:172:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
170 | public static func storeAligned(_ a: Vector, toUnchecked span: inout MutableSpan<Lane>) {
171 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
172 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
173 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt64.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int64>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt64.Lane>' (aka 'UnsafeBufferPointer<Int64>')
174 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
175 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:178:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
176 | "Span does not start at an address aligned to the vector size"
177 | )
178 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt64.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int64>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt64.Lane>' (aka 'UnsafeMutableBufferPointer<Int64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
179 | unsafe HighwayOps.storeAlignedI64(a, $0.baseAddress.unsafelyUnwrapped)
180 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:190:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
188 | "OutputSpan has less free capacity than a vector has lanes"
189 | )
190 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
191 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt64.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int64>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt64.Lane>' (aka 'UnsafeBufferPointer<Int64>')
192 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
193 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:207:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
205 | "OutputSpan has less free capacity than a vector has lanes"
206 | )
207 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
208 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt64.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int64>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt64.Lane>' (aka 'UnsafeBufferPointer<Int64>')
209 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
210 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:231:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
229 | @export(implementation) @inline(always)
230 | public static func storeFirst(_ a: Vector, to span: inout MutableSpan<Lane>) {
231 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt64.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int64>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt64.Lane>' (aka 'UnsafeMutableBufferPointer<Int64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
232 | unsafe HighwayOps.storeFirstI64(a, $0.baseAddress, $0.count)
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:465:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
463 | ) {
464 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
465 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt64.Lane>) -> Void' (aka '(UnsafeBufferPointer<Int64>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt64.Lane>' (aka 'UnsafeBufferPointer<Int64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
466 | unsafe HighwayOps.loadInterleaved2I64($0.baseAddress.unsafelyUnwrapped, &v0, &v1)
467 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:504:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
502 | ) {
503 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
504 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt64.Lane>) -> Void' (aka '(UnsafeBufferPointer<Int64>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt64.Lane>' (aka 'UnsafeBufferPointer<Int64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
505 | unsafe HighwayOps.loadInterleaved3I64($0.baseAddress.unsafelyUnwrapped, &v0, &v1, &v2)
506 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:546:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
544 | ) {
545 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
546 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt64.Lane>) -> Void' (aka '(UnsafeBufferPointer<Int64>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt64.Lane>' (aka 'UnsafeBufferPointer<Int64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
547 | unsafe HighwayOps.loadInterleaved4I64(
548 | $0.baseAddress.unsafelyUnwrapped,
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:581:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
579 | ) {
580 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
581 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt64.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int64>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt64.Lane>' (aka 'UnsafeMutableBufferPointer<Int64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
582 | unsafe HighwayOps.storeInterleaved2I64(a, b, $0.baseAddress.unsafelyUnwrapped)
583 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:655:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
653 | ) {
654 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
655 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt64.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int64>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt64.Lane>' (aka 'UnsafeMutableBufferPointer<Int64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
656 | unsafe HighwayOps.storeInterleaved3I64(a, b, c, $0.baseAddress.unsafelyUnwrapped)
657 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:735:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
733 | ) {
734 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
735 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt64.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int64>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt64.Lane>' (aka 'UnsafeMutableBufferPointer<Int64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
736 | unsafe HighwayOps.storeInterleaved4I64(a, b, c, d, $0.baseAddress.unsafelyUnwrapped)
737 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:797:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
795 | public static func loadWidening(fromUnchecked span: Span<Int8>) -> Vector {
796 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
797 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int8>) -> HighwayOps.VectorI64' (aka '(UnsafeBufferPointer<Int8>) -> hwy.N_NEON.Vec128<CLongLong, _CUnsignedLong_2>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
798 | unsafe HighwayOps.loadWideningI8ToI64($0.baseAddress.unsafelyUnwrapped)
799 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:818:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
816 | public static func loadWidening(fromUnchecked span: Span<Int16>) -> Vector {
817 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
818 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int16>) -> HighwayOps.VectorI64' (aka '(UnsafeBufferPointer<Int16>) -> hwy.N_NEON.Vec128<CLongLong, _CUnsignedLong_2>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
819 | unsafe HighwayOps.loadWideningI16ToI64($0.baseAddress.unsafelyUnwrapped)
820 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:839:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
837 | public static func loadWidening(fromUnchecked span: Span<Int32>) -> Vector {
838 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
839 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int32>) -> HighwayOps.VectorI64' (aka '(UnsafeBufferPointer<Int32>) -> hwy.N_NEON.Vec128<CLongLong, _CUnsignedLong_2>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int32>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
840 | unsafe HighwayOps.loadWideningI32ToI64($0.baseAddress.unsafelyUnwrapped)
841 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:852:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
850 | @export(implementation) @inline(always)
851 | public static func loadFirstWidening(from span: Span<Int8>) -> Vector {
852 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int8>) -> HighwayOps.VectorI64' (aka '(UnsafeBufferPointer<Int8>) -> hwy.N_NEON.Vec128<CLongLong, _CUnsignedLong_2>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
853 | unsafe HighwayOps.loadFirstWideningI8ToI64($0.baseAddress, $0.count)
854 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:865:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
863 | @export(implementation) @inline(always)
864 | public static func loadFirstWidening(from span: Span<Int16>) -> Vector {
865 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int16>) -> HighwayOps.VectorI64' (aka '(UnsafeBufferPointer<Int16>) -> hwy.N_NEON.Vec128<CLongLong, _CUnsignedLong_2>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
866 | unsafe HighwayOps.loadFirstWideningI16ToI64($0.baseAddress, $0.count)
867 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt64.swift:878:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
876 | @export(implementation) @inline(always)
877 | public static func loadFirstWidening(from span: Span<Int32>) -> Vector {
878 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<Int32>) -> HighwayOps.VectorI64' (aka '(UnsafeBufferPointer<Int32>) -> hwy.N_NEON.Vec128<CLongLong, _CUnsignedLong_2>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<Int32>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
879 | unsafe HighwayOps.loadFirstWideningI32ToI64($0.baseAddress, $0.count)
880 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt8.swift:57:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
55 | public static func load(fromUnchecked span: Span<Lane>) -> Vector {
56 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
57 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt8.Lane>) -> HighwayOps.VectorI8' (aka '(UnsafeBufferPointer<Int8>) -> hwy.N_NEON.Vec128<CSignedChar, _CUnsignedLong_16>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt8.Lane>' (aka 'UnsafeBufferPointer<Int8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
58 | unsafe HighwayOps.loadI8($0.baseAddress.unsafelyUnwrapped)
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt8.swift:71:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
69 | public static func loadAligned(from span: Span<Lane>) -> Vector {
70 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
71 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
72 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt8.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int8>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt8.Lane>' (aka 'UnsafeBufferPointer<Int8>')
73 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
74 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt8.swift:84:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
82 | public static func loadAligned(fromUnchecked span: Span<Lane>) -> Vector {
83 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
84 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
85 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt8.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int8>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt8.Lane>' (aka 'UnsafeBufferPointer<Int8>')
86 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
87 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt8.swift:90:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
88 | "Span does not start at an address aligned to the vector size"
89 | )
90 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt8.Lane>) -> HighwayOps.VectorI8' (aka '(UnsafeBufferPointer<Int8>) -> hwy.N_NEON.Vec128<CSignedChar, _CUnsignedLong_16>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt8.Lane>' (aka 'UnsafeBufferPointer<Int8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
91 | unsafe HighwayOps.loadAlignedI8($0.baseAddress.unsafelyUnwrapped)
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt8.swift:103:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
101 | @export(implementation) @inline(always)
102 | public static func loadFirst(from span: Span<Lane>) -> Vector {
103 | span.withUnsafeBufferPointer { unsafe HighwayOps.loadFirstI8($0.baseAddress, $0.count) }
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt8.Lane>) -> HighwayOps.VectorI8' (aka '(UnsafeBufferPointer<Int8>) -> hwy.N_NEON.Vec128<CSignedChar, _CUnsignedLong_16>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt8.Lane>' (aka 'UnsafeBufferPointer<Int8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
104 | }
105 |
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt8.swift:122:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
120 | public static func store(_ a: Vector, toUnchecked span: inout MutableSpan<Lane>) {
121 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
122 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt8.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int8>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt8.Lane>' (aka 'UnsafeMutableBufferPointer<Int8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
123 | unsafe HighwayOps.storeI8(a, $0.baseAddress.unsafelyUnwrapped)
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt8.swift:159:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
157 | public static func storeAligned(_ a: Vector, to span: inout MutableSpan<Lane>) {
158 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
159 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
160 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt8.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int8>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt8.Lane>' (aka 'UnsafeBufferPointer<Int8>')
161 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
162 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt8.swift:172:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
170 | public static func storeAligned(_ a: Vector, toUnchecked span: inout MutableSpan<Lane>) {
171 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
172 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
173 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt8.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int8>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt8.Lane>' (aka 'UnsafeBufferPointer<Int8>')
174 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
175 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt8.swift:178:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
176 | "Span does not start at an address aligned to the vector size"
177 | )
178 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt8.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int8>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt8.Lane>' (aka 'UnsafeMutableBufferPointer<Int8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
179 | unsafe HighwayOps.storeAlignedI8(a, $0.baseAddress.unsafelyUnwrapped)
180 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt8.swift:190:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
188 | "OutputSpan has less free capacity than a vector has lanes"
189 | )
190 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
191 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt8.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int8>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt8.Lane>' (aka 'UnsafeBufferPointer<Int8>')
192 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
193 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt8.swift:207:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
205 | "OutputSpan has less free capacity than a vector has lanes"
206 | )
207 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
208 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt8.Lane>) -> Bool' (aka '(UnsafeBufferPointer<Int8>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt8.Lane>' (aka 'UnsafeBufferPointer<Int8>')
209 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
210 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt8.swift:231:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
229 | @export(implementation) @inline(always)
230 | public static func storeFirst(_ a: Vector, to span: inout MutableSpan<Lane>) {
231 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt8.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int8>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt8.Lane>' (aka 'UnsafeMutableBufferPointer<Int8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
232 | unsafe HighwayOps.storeFirstI8(a, $0.baseAddress, $0.count)
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt8.swift:460:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
458 | ) {
459 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
460 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt8.Lane>) -> Void' (aka '(UnsafeBufferPointer<Int8>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt8.Lane>' (aka 'UnsafeBufferPointer<Int8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
461 | unsafe HighwayOps.loadInterleaved2I8($0.baseAddress.unsafelyUnwrapped, &v0, &v1)
462 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt8.swift:499:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
497 | ) {
498 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
499 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt8.Lane>) -> Void' (aka '(UnsafeBufferPointer<Int8>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt8.Lane>' (aka 'UnsafeBufferPointer<Int8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
500 | unsafe HighwayOps.loadInterleaved3I8($0.baseAddress.unsafelyUnwrapped, &v0, &v1, &v2)
501 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt8.swift:541:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
539 | ) {
540 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
541 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayInt8.Lane>) -> Void' (aka '(UnsafeBufferPointer<Int8>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayInt8.Lane>' (aka 'UnsafeBufferPointer<Int8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
542 | unsafe HighwayOps.loadInterleaved4I8(
543 | $0.baseAddress.unsafelyUnwrapped,
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt8.swift:576:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
574 | ) {
575 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
576 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt8.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int8>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt8.Lane>' (aka 'UnsafeMutableBufferPointer<Int8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
577 | unsafe HighwayOps.storeInterleaved2I8(a, b, $0.baseAddress.unsafelyUnwrapped)
578 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt8.swift:650:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
648 | ) {
649 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
650 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt8.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int8>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt8.Lane>' (aka 'UnsafeMutableBufferPointer<Int8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
651 | unsafe HighwayOps.storeInterleaved3I8(a, b, c, $0.baseAddress.unsafelyUnwrapped)
652 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayInt8.swift:730:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
728 | ) {
729 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
730 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayInt8.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<Int8>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayInt8.Lane>' (aka 'UnsafeMutableBufferPointer<Int8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
731 | unsafe HighwayOps.storeInterleaved4I8(a, b, c, d, $0.baseAddress.unsafelyUnwrapped)
732 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwaySortable.swift:377:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
375 | order: SortOrder = .ascending
376 | ) {
377 | keys.withUnsafeMutableBufferPointer { unsafe Key.sort($0, order: order) }
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(inout UnsafeMutableBufferPointer<Key>) -> ()'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Key>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
378 | }
379 |
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwaySortable.swift:387:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
385 | order: SortOrder = .ascending
386 | ) {
387 | keys.withUnsafeMutableBufferPointer { unsafe Key.sort($0, order: order) }
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Key>) -> ()'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Key>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
388 | }
389 |
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwaySortable.swift:398:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
396 | order: SortOrder = .ascending
397 | ) {
398 | keys.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(inout UnsafeMutableBufferPointer<Key>) -> ()'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Key>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
399 | unsafe Key.partialSort($0, keeping: count, order: order)
400 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwaySortable.swift:425:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
423 | ) {
424 | assert(count >= 0 && count <= keys.count, "Count out of bounds")
425 | keys.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Key>) -> ()'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Key>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
426 | unsafe Key.partialSort($0, keeping: count, order: order)
427 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwaySortable.swift:438:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
436 | order: SortOrder = .ascending
437 | ) {
438 | keys.withUnsafeMutableBufferPointer { unsafe Key.select($0, at: index, order: order) }
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(inout UnsafeMutableBufferPointer<Key>) -> ()'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Key>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
439 | }
440 |
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwaySortable.swift:463:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
461 | ) {
462 | assert(index >= 0 && index < keys.count, "Index out of bounds")
463 | keys.withUnsafeMutableBufferPointer { unsafe Key.select($0, at: index, order: order) }
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<Key>) -> ()'
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<Key>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
464 | }
465 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt16.swift:57:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
55 | public static func load(fromUnchecked span: Span<Lane>) -> Vector {
56 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
57 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt16.Lane>) -> HighwayOps.VectorU16' (aka '(UnsafeBufferPointer<UInt16>) -> hwy.N_NEON.Vec128<CUnsignedShort, _CUnsignedLong_8>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt16.Lane>' (aka 'UnsafeBufferPointer<UInt16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
58 | unsafe HighwayOps.loadU16($0.baseAddress.unsafelyUnwrapped)
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt16.swift:71:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
69 | public static func loadAligned(from span: Span<Lane>) -> Vector {
70 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
71 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
72 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt16.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt16>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt16.Lane>' (aka 'UnsafeBufferPointer<UInt16>')
73 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
74 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt16.swift:84:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
82 | public static func loadAligned(fromUnchecked span: Span<Lane>) -> Vector {
83 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
84 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
85 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt16.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt16>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt16.Lane>' (aka 'UnsafeBufferPointer<UInt16>')
86 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
87 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt16.swift:90:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
88 | "Span does not start at an address aligned to the vector size"
89 | )
90 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt16.Lane>) -> HighwayOps.VectorU16' (aka '(UnsafeBufferPointer<UInt16>) -> hwy.N_NEON.Vec128<CUnsignedShort, _CUnsignedLong_8>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt16.Lane>' (aka 'UnsafeBufferPointer<UInt16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
91 | unsafe HighwayOps.loadAlignedU16($0.baseAddress.unsafelyUnwrapped)
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt16.swift:103:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
101 | @export(implementation) @inline(always)
102 | public static func loadFirst(from span: Span<Lane>) -> Vector {
103 | span.withUnsafeBufferPointer { unsafe HighwayOps.loadFirstU16($0.baseAddress, $0.count) }
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt16.Lane>) -> HighwayOps.VectorU16' (aka '(UnsafeBufferPointer<UInt16>) -> hwy.N_NEON.Vec128<CUnsignedShort, _CUnsignedLong_8>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt16.Lane>' (aka 'UnsafeBufferPointer<UInt16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
104 | }
105 |
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt16.swift:122:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
120 | public static func store(_ a: Vector, toUnchecked span: inout MutableSpan<Lane>) {
121 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
122 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt16.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt16>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt16.Lane>' (aka 'UnsafeMutableBufferPointer<UInt16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
123 | unsafe HighwayOps.storeU16(a, $0.baseAddress.unsafelyUnwrapped)
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt16.swift:159:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
157 | public static func storeAligned(_ a: Vector, to span: inout MutableSpan<Lane>) {
158 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
159 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
160 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt16.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt16>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt16.Lane>' (aka 'UnsafeBufferPointer<UInt16>')
161 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
162 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt16.swift:172:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
170 | public static func storeAligned(_ a: Vector, toUnchecked span: inout MutableSpan<Lane>) {
171 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
172 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
173 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt16.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt16>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt16.Lane>' (aka 'UnsafeBufferPointer<UInt16>')
174 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
175 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt16.swift:178:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
176 | "Span does not start at an address aligned to the vector size"
177 | )
178 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt16.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt16>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt16.Lane>' (aka 'UnsafeMutableBufferPointer<UInt16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
179 | unsafe HighwayOps.storeAlignedU16(a, $0.baseAddress.unsafelyUnwrapped)
180 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt16.swift:190:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
188 | "OutputSpan has less free capacity than a vector has lanes"
189 | )
190 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
191 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt16.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt16>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt16.Lane>' (aka 'UnsafeBufferPointer<UInt16>')
192 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
193 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt16.swift:207:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
205 | "OutputSpan has less free capacity than a vector has lanes"
206 | )
207 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
208 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt16.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt16>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt16.Lane>' (aka 'UnsafeBufferPointer<UInt16>')
209 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
210 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt16.swift:231:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
229 | @export(implementation) @inline(always)
230 | public static func storeFirst(_ a: Vector, to span: inout MutableSpan<Lane>) {
231 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt16.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt16>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt16.Lane>' (aka 'UnsafeMutableBufferPointer<UInt16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
232 | unsafe HighwayOps.storeFirstU16(a, $0.baseAddress, $0.count)
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt16.swift:470:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
468 | ) {
469 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
470 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt16.Lane>) -> Void' (aka '(UnsafeBufferPointer<UInt16>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt16.Lane>' (aka 'UnsafeBufferPointer<UInt16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
471 | unsafe HighwayOps.loadInterleaved2U16($0.baseAddress.unsafelyUnwrapped, &v0, &v1)
472 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt16.swift:509:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
507 | ) {
508 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
509 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt16.Lane>) -> Void' (aka '(UnsafeBufferPointer<UInt16>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt16.Lane>' (aka 'UnsafeBufferPointer<UInt16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
510 | unsafe HighwayOps.loadInterleaved3U16($0.baseAddress.unsafelyUnwrapped, &v0, &v1, &v2)
511 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt16.swift:551:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
549 | ) {
550 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
551 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt16.Lane>) -> Void' (aka '(UnsafeBufferPointer<UInt16>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt16.Lane>' (aka 'UnsafeBufferPointer<UInt16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
552 | unsafe HighwayOps.loadInterleaved4U16(
553 | $0.baseAddress.unsafelyUnwrapped,
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt16.swift:586:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
584 | ) {
585 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
586 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt16.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt16>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt16.Lane>' (aka 'UnsafeMutableBufferPointer<UInt16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
587 | unsafe HighwayOps.storeInterleaved2U16(a, b, $0.baseAddress.unsafelyUnwrapped)
588 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt16.swift:660:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
658 | ) {
659 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
660 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt16.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt16>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt16.Lane>' (aka 'UnsafeMutableBufferPointer<UInt16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
661 | unsafe HighwayOps.storeInterleaved3U16(a, b, c, $0.baseAddress.unsafelyUnwrapped)
662 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt16.swift:740:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
738 | ) {
739 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
740 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt16.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt16>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt16.Lane>' (aka 'UnsafeMutableBufferPointer<UInt16>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
741 | unsafe HighwayOps.storeInterleaved4U16(a, b, c, d, $0.baseAddress.unsafelyUnwrapped)
742 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt16.swift:802:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
800 | public static func loadWidening(fromUnchecked span: Span<UInt8>) -> Vector {
801 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
802 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt8>) -> HighwayOps.VectorU16' (aka '(UnsafeBufferPointer<UInt8>) -> hwy.N_NEON.Vec128<CUnsignedShort, _CUnsignedLong_8>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
803 | unsafe HighwayOps.loadWideningU8ToU16($0.baseAddress.unsafelyUnwrapped)
804 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt16.swift:815:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
813 | @export(implementation) @inline(always)
814 | public static func loadFirstWidening(from span: Span<UInt8>) -> Vector {
815 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt8>) -> HighwayOps.VectorU16' (aka '(UnsafeBufferPointer<UInt8>) -> hwy.N_NEON.Vec128<CUnsignedShort, _CUnsignedLong_8>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
816 | unsafe HighwayOps.loadFirstWideningU8ToU16($0.baseAddress, $0.count)
817 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt32.swift:57:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
55 | public static func load(fromUnchecked span: Span<Lane>) -> Vector {
56 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
57 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt32.Lane>) -> HighwayOps.VectorU32' (aka '(UnsafeBufferPointer<UInt32>) -> hwy.N_NEON.Vec128<CUnsignedInt, _CUnsignedLong_4>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt32.Lane>' (aka 'UnsafeBufferPointer<UInt32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
58 | unsafe HighwayOps.loadU32($0.baseAddress.unsafelyUnwrapped)
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt32.swift:71:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
69 | public static func loadAligned(from span: Span<Lane>) -> Vector {
70 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
71 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
72 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt32.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt32>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt32.Lane>' (aka 'UnsafeBufferPointer<UInt32>')
73 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
74 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt32.swift:84:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
82 | public static func loadAligned(fromUnchecked span: Span<Lane>) -> Vector {
83 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
84 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
85 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt32.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt32>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt32.Lane>' (aka 'UnsafeBufferPointer<UInt32>')
86 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
87 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt32.swift:90:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
88 | "Span does not start at an address aligned to the vector size"
89 | )
90 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt32.Lane>) -> HighwayOps.VectorU32' (aka '(UnsafeBufferPointer<UInt32>) -> hwy.N_NEON.Vec128<CUnsignedInt, _CUnsignedLong_4>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt32.Lane>' (aka 'UnsafeBufferPointer<UInt32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
91 | unsafe HighwayOps.loadAlignedU32($0.baseAddress.unsafelyUnwrapped)
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt32.swift:103:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
101 | @export(implementation) @inline(always)
102 | public static func loadFirst(from span: Span<Lane>) -> Vector {
103 | span.withUnsafeBufferPointer { unsafe HighwayOps.loadFirstU32($0.baseAddress, $0.count) }
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt32.Lane>) -> HighwayOps.VectorU32' (aka '(UnsafeBufferPointer<UInt32>) -> hwy.N_NEON.Vec128<CUnsignedInt, _CUnsignedLong_4>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt32.Lane>' (aka 'UnsafeBufferPointer<UInt32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
104 | }
105 |
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt32.swift:122:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
120 | public static func store(_ a: Vector, toUnchecked span: inout MutableSpan<Lane>) {
121 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
122 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt32.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt32>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt32.Lane>' (aka 'UnsafeMutableBufferPointer<UInt32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
123 | unsafe HighwayOps.storeU32(a, $0.baseAddress.unsafelyUnwrapped)
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt32.swift:159:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
157 | public static func storeAligned(_ a: Vector, to span: inout MutableSpan<Lane>) {
158 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
159 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
160 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt32.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt32>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt32.Lane>' (aka 'UnsafeBufferPointer<UInt32>')
161 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
162 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt32.swift:172:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
170 | public static func storeAligned(_ a: Vector, toUnchecked span: inout MutableSpan<Lane>) {
171 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
172 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
173 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt32.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt32>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt32.Lane>' (aka 'UnsafeBufferPointer<UInt32>')
174 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
175 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt32.swift:178:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
176 | "Span does not start at an address aligned to the vector size"
177 | )
178 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt32.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt32>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt32.Lane>' (aka 'UnsafeMutableBufferPointer<UInt32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
179 | unsafe HighwayOps.storeAlignedU32(a, $0.baseAddress.unsafelyUnwrapped)
180 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt32.swift:190:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
188 | "OutputSpan has less free capacity than a vector has lanes"
189 | )
190 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
191 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt32.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt32>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt32.Lane>' (aka 'UnsafeBufferPointer<UInt32>')
192 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
193 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt32.swift:207:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
205 | "OutputSpan has less free capacity than a vector has lanes"
206 | )
207 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
208 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt32.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt32>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt32.Lane>' (aka 'UnsafeBufferPointer<UInt32>')
209 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
210 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt32.swift:231:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
229 | @export(implementation) @inline(always)
230 | public static func storeFirst(_ a: Vector, to span: inout MutableSpan<Lane>) {
231 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt32.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt32>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt32.Lane>' (aka 'UnsafeMutableBufferPointer<UInt32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
232 | unsafe HighwayOps.storeFirstU32(a, $0.baseAddress, $0.count)
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt32.swift:455:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
453 | ) {
454 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
455 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt32.Lane>) -> Void' (aka '(UnsafeBufferPointer<UInt32>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt32.Lane>' (aka 'UnsafeBufferPointer<UInt32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
456 | unsafe HighwayOps.loadInterleaved2U32($0.baseAddress.unsafelyUnwrapped, &v0, &v1)
457 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt32.swift:494:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
492 | ) {
493 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
494 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt32.Lane>) -> Void' (aka '(UnsafeBufferPointer<UInt32>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt32.Lane>' (aka 'UnsafeBufferPointer<UInt32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
495 | unsafe HighwayOps.loadInterleaved3U32($0.baseAddress.unsafelyUnwrapped, &v0, &v1, &v2)
496 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt32.swift:536:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
534 | ) {
535 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
536 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt32.Lane>) -> Void' (aka '(UnsafeBufferPointer<UInt32>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt32.Lane>' (aka 'UnsafeBufferPointer<UInt32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
537 | unsafe HighwayOps.loadInterleaved4U32(
538 | $0.baseAddress.unsafelyUnwrapped,
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt32.swift:571:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
569 | ) {
570 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
571 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt32.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt32>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt32.Lane>' (aka 'UnsafeMutableBufferPointer<UInt32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
572 | unsafe HighwayOps.storeInterleaved2U32(a, b, $0.baseAddress.unsafelyUnwrapped)
573 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt32.swift:645:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
643 | ) {
644 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
645 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt32.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt32>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt32.Lane>' (aka 'UnsafeMutableBufferPointer<UInt32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
646 | unsafe HighwayOps.storeInterleaved3U32(a, b, c, $0.baseAddress.unsafelyUnwrapped)
647 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt32.swift:725:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
723 | ) {
724 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
725 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt32.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt32>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt32.Lane>' (aka 'UnsafeMutableBufferPointer<UInt32>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
726 | unsafe HighwayOps.storeInterleaved4U32(a, b, c, d, $0.baseAddress.unsafelyUnwrapped)
727 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt32.swift:787:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
785 | public static func loadWidening(fromUnchecked span: Span<UInt8>) -> Vector {
786 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
787 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt8>) -> HighwayOps.VectorU32' (aka '(UnsafeBufferPointer<UInt8>) -> hwy.N_NEON.Vec128<CUnsignedInt, _CUnsignedLong_4>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
788 | unsafe HighwayOps.loadWideningU8ToU32($0.baseAddress.unsafelyUnwrapped)
789 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt32.swift:808:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
806 | public static func loadWidening(fromUnchecked span: Span<UInt16>) -> Vector {
807 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
808 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt16>) -> HighwayOps.VectorU32' (aka '(UnsafeBufferPointer<UInt16>) -> hwy.N_NEON.Vec128<CUnsignedInt, _CUnsignedLong_4>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
809 | unsafe HighwayOps.loadWideningU16ToU32($0.baseAddress.unsafelyUnwrapped)
810 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt32.swift:821:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
819 | @export(implementation) @inline(always)
820 | public static func loadFirstWidening(from span: Span<UInt8>) -> Vector {
821 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt8>) -> HighwayOps.VectorU32' (aka '(UnsafeBufferPointer<UInt8>) -> hwy.N_NEON.Vec128<CUnsignedInt, _CUnsignedLong_4>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
822 | unsafe HighwayOps.loadFirstWideningU8ToU32($0.baseAddress, $0.count)
823 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt32.swift:834:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
832 | @export(implementation) @inline(always)
833 | public static func loadFirstWidening(from span: Span<UInt16>) -> Vector {
834 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt16>) -> HighwayOps.VectorU32' (aka '(UnsafeBufferPointer<UInt16>) -> hwy.N_NEON.Vec128<CUnsignedInt, _CUnsignedLong_4>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
835 | unsafe HighwayOps.loadFirstWideningU16ToU32($0.baseAddress, $0.count)
836 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:57:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
55 | public static func load(fromUnchecked span: Span<Lane>) -> Vector {
56 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
57 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt64.Lane>) -> HighwayOps.VectorU64' (aka '(UnsafeBufferPointer<UInt64>) -> hwy.N_NEON.Vec128<CUnsignedLongLong, _CUnsignedLong_2>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt64.Lane>' (aka 'UnsafeBufferPointer<UInt64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
58 | unsafe HighwayOps.loadU64($0.baseAddress.unsafelyUnwrapped)
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:71:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
69 | public static func loadAligned(from span: Span<Lane>) -> Vector {
70 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
71 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
72 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt64.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt64>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt64.Lane>' (aka 'UnsafeBufferPointer<UInt64>')
73 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
74 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:84:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
82 | public static func loadAligned(fromUnchecked span: Span<Lane>) -> Vector {
83 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
84 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
85 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt64.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt64>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt64.Lane>' (aka 'UnsafeBufferPointer<UInt64>')
86 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
87 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:90:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
88 | "Span does not start at an address aligned to the vector size"
89 | )
90 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt64.Lane>) -> HighwayOps.VectorU64' (aka '(UnsafeBufferPointer<UInt64>) -> hwy.N_NEON.Vec128<CUnsignedLongLong, _CUnsignedLong_2>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt64.Lane>' (aka 'UnsafeBufferPointer<UInt64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
91 | unsafe HighwayOps.loadAlignedU64($0.baseAddress.unsafelyUnwrapped)
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:103:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
101 | @export(implementation) @inline(always)
102 | public static func loadFirst(from span: Span<Lane>) -> Vector {
103 | span.withUnsafeBufferPointer { unsafe HighwayOps.loadFirstU64($0.baseAddress, $0.count) }
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt64.Lane>) -> HighwayOps.VectorU64' (aka '(UnsafeBufferPointer<UInt64>) -> hwy.N_NEON.Vec128<CUnsignedLongLong, _CUnsignedLong_2>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt64.Lane>' (aka 'UnsafeBufferPointer<UInt64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
104 | }
105 |
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:122:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
120 | public static func store(_ a: Vector, toUnchecked span: inout MutableSpan<Lane>) {
121 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
122 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt64.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt64>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt64.Lane>' (aka 'UnsafeMutableBufferPointer<UInt64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
123 | unsafe HighwayOps.storeU64(a, $0.baseAddress.unsafelyUnwrapped)
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:159:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
157 | public static func storeAligned(_ a: Vector, to span: inout MutableSpan<Lane>) {
158 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
159 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
160 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt64.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt64>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt64.Lane>' (aka 'UnsafeBufferPointer<UInt64>')
161 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
162 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:172:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
170 | public static func storeAligned(_ a: Vector, toUnchecked span: inout MutableSpan<Lane>) {
171 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
172 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
173 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt64.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt64>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt64.Lane>' (aka 'UnsafeBufferPointer<UInt64>')
174 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
175 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:178:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
176 | "Span does not start at an address aligned to the vector size"
177 | )
178 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt64.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt64>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt64.Lane>' (aka 'UnsafeMutableBufferPointer<UInt64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
179 | unsafe HighwayOps.storeAlignedU64(a, $0.baseAddress.unsafelyUnwrapped)
180 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:190:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
188 | "OutputSpan has less free capacity than a vector has lanes"
189 | )
190 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
191 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt64.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt64>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt64.Lane>' (aka 'UnsafeBufferPointer<UInt64>')
192 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
193 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:207:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
205 | "OutputSpan has less free capacity than a vector has lanes"
206 | )
207 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
208 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt64.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt64>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt64.Lane>' (aka 'UnsafeBufferPointer<UInt64>')
209 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
210 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:231:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
229 | @export(implementation) @inline(always)
230 | public static func storeFirst(_ a: Vector, to span: inout MutableSpan<Lane>) {
231 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt64.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt64>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt64.Lane>' (aka 'UnsafeMutableBufferPointer<UInt64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
232 | unsafe HighwayOps.storeFirstU64(a, $0.baseAddress, $0.count)
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:455:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
453 | ) {
454 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
455 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt64.Lane>) -> Void' (aka '(UnsafeBufferPointer<UInt64>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt64.Lane>' (aka 'UnsafeBufferPointer<UInt64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
456 | unsafe HighwayOps.loadInterleaved2U64($0.baseAddress.unsafelyUnwrapped, &v0, &v1)
457 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:494:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
492 | ) {
493 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
494 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt64.Lane>) -> Void' (aka '(UnsafeBufferPointer<UInt64>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt64.Lane>' (aka 'UnsafeBufferPointer<UInt64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
495 | unsafe HighwayOps.loadInterleaved3U64($0.baseAddress.unsafelyUnwrapped, &v0, &v1, &v2)
496 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:536:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
534 | ) {
535 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
536 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt64.Lane>) -> Void' (aka '(UnsafeBufferPointer<UInt64>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt64.Lane>' (aka 'UnsafeBufferPointer<UInt64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
537 | unsafe HighwayOps.loadInterleaved4U64(
538 | $0.baseAddress.unsafelyUnwrapped,
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:571:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
569 | ) {
570 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
571 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt64.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt64>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt64.Lane>' (aka 'UnsafeMutableBufferPointer<UInt64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
572 | unsafe HighwayOps.storeInterleaved2U64(a, b, $0.baseAddress.unsafelyUnwrapped)
573 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:645:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
643 | ) {
644 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
645 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt64.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt64>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt64.Lane>' (aka 'UnsafeMutableBufferPointer<UInt64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
646 | unsafe HighwayOps.storeInterleaved3U64(a, b, c, $0.baseAddress.unsafelyUnwrapped)
647 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:725:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
723 | ) {
724 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
725 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt64.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt64>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt64.Lane>' (aka 'UnsafeMutableBufferPointer<UInt64>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
726 | unsafe HighwayOps.storeInterleaved4U64(a, b, c, d, $0.baseAddress.unsafelyUnwrapped)
727 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:787:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
785 | public static func loadWidening(fromUnchecked span: Span<UInt8>) -> Vector {
786 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
787 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt8>) -> HighwayOps.VectorU64' (aka '(UnsafeBufferPointer<UInt8>) -> hwy.N_NEON.Vec128<CUnsignedLongLong, _CUnsignedLong_2>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
788 | unsafe HighwayOps.loadWideningU8ToU64($0.baseAddress.unsafelyUnwrapped)
789 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:808:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
806 | public static func loadWidening(fromUnchecked span: Span<UInt16>) -> Vector {
807 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
808 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt16>) -> HighwayOps.VectorU64' (aka '(UnsafeBufferPointer<UInt16>) -> hwy.N_NEON.Vec128<CUnsignedLongLong, _CUnsignedLong_2>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
809 | unsafe HighwayOps.loadWideningU16ToU64($0.baseAddress.unsafelyUnwrapped)
810 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:829:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
827 | public static func loadWidening(fromUnchecked span: Span<UInt32>) -> Vector {
828 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
829 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt32>) -> HighwayOps.VectorU64' (aka '(UnsafeBufferPointer<UInt32>) -> hwy.N_NEON.Vec128<CUnsignedLongLong, _CUnsignedLong_2>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt32>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
830 | unsafe HighwayOps.loadWideningU32ToU64($0.baseAddress.unsafelyUnwrapped)
831 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:842:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
840 | @export(implementation) @inline(always)
841 | public static func loadFirstWidening(from span: Span<UInt8>) -> Vector {
842 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt8>) -> HighwayOps.VectorU64' (aka '(UnsafeBufferPointer<UInt8>) -> hwy.N_NEON.Vec128<CUnsignedLongLong, _CUnsignedLong_2>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt8>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
843 | unsafe HighwayOps.loadFirstWideningU8ToU64($0.baseAddress, $0.count)
844 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:855:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
853 | @export(implementation) @inline(always)
854 | public static func loadFirstWidening(from span: Span<UInt16>) -> Vector {
855 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt16>) -> HighwayOps.VectorU64' (aka '(UnsafeBufferPointer<UInt16>) -> hwy.N_NEON.Vec128<CUnsignedLongLong, _CUnsignedLong_2>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt16>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
856 | unsafe HighwayOps.loadFirstWideningU16ToU64($0.baseAddress, $0.count)
857 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt64.swift:868:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
866 | @export(implementation) @inline(always)
867 | public static func loadFirstWidening(from span: Span<UInt32>) -> Vector {
868 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<UInt32>) -> HighwayOps.VectorU64' (aka '(UnsafeBufferPointer<UInt32>) -> hwy.N_NEON.Vec128<CUnsignedLongLong, _CUnsignedLong_2>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<UInt32>'
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
869 | unsafe HighwayOps.loadFirstWideningU32ToU64($0.baseAddress, $0.count)
870 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt8.swift:57:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
55 | public static func load(fromUnchecked span: Span<Lane>) -> Vector {
56 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
57 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt8.Lane>) -> HighwayOps.VectorU8' (aka '(UnsafeBufferPointer<UInt8>) -> hwy.N_NEON.Vec128<CUnsignedChar, _CUnsignedLong_16>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt8.Lane>' (aka 'UnsafeBufferPointer<UInt8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
58 | unsafe HighwayOps.loadU8($0.baseAddress.unsafelyUnwrapped)
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt8.swift:71:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
69 | public static func loadAligned(from span: Span<Lane>) -> Vector {
70 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
71 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
72 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt8.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt8>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt8.Lane>' (aka 'UnsafeBufferPointer<UInt8>')
73 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
74 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt8.swift:84:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
82 | public static func loadAligned(fromUnchecked span: Span<Lane>) -> Vector {
83 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
84 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
85 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt8.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt8>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt8.Lane>' (aka 'UnsafeBufferPointer<UInt8>')
86 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
87 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt8.swift:90:16: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
88 | "Span does not start at an address aligned to the vector size"
89 | )
90 | return span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt8.Lane>) -> HighwayOps.VectorU8' (aka '(UnsafeBufferPointer<UInt8>) -> hwy.N_NEON.Vec128<CUnsignedChar, _CUnsignedLong_16>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt8.Lane>' (aka 'UnsafeBufferPointer<UInt8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
91 | unsafe HighwayOps.loadAlignedU8($0.baseAddress.unsafelyUnwrapped)
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt8.swift:103:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
101 | @export(implementation) @inline(always)
102 | public static func loadFirst(from span: Span<Lane>) -> Vector {
103 | span.withUnsafeBufferPointer { unsafe HighwayOps.loadFirstU8($0.baseAddress, $0.count) }
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt8.Lane>) -> HighwayOps.VectorU8' (aka '(UnsafeBufferPointer<UInt8>) -> hwy.N_NEON.Vec128<CUnsignedChar, _CUnsignedLong_16>')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt8.Lane>' (aka 'UnsafeBufferPointer<UInt8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
104 | }
105 |
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt8.swift:122:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
120 | public static func store(_ a: Vector, toUnchecked span: inout MutableSpan<Lane>) {
121 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
122 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt8.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt8>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt8.Lane>' (aka 'UnsafeMutableBufferPointer<UInt8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
123 | unsafe HighwayOps.storeU8(a, $0.baseAddress.unsafelyUnwrapped)
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt8.swift:159:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
157 | public static func storeAligned(_ a: Vector, to span: inout MutableSpan<Lane>) {
158 | precondition(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
159 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
160 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt8.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt8>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt8.Lane>' (aka 'UnsafeBufferPointer<UInt8>')
161 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
162 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt8.swift:172:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
170 | public static func storeAligned(_ a: Vector, toUnchecked span: inout MutableSpan<Lane>) {
171 | assert(span.count >= laneCount, "Span has fewer elements than a vector has lanes")
172 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
173 | span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt8.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt8>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt8.Lane>' (aka 'UnsafeBufferPointer<UInt8>')
174 | UInt(bitPattern: $0.baseAddress) % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
175 | },
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt8.swift:178:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
176 | "Span does not start at an address aligned to the vector size"
177 | )
178 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt8.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt8>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt8.Lane>' (aka 'UnsafeMutableBufferPointer<UInt8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
179 | unsafe HighwayOps.storeAlignedU8(a, $0.baseAddress.unsafelyUnwrapped)
180 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt8.swift:190:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
188 | "OutputSpan has less free capacity than a vector has lanes"
189 | )
190 | precondition(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
191 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt8.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt8>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt8.Lane>' (aka 'UnsafeBufferPointer<UInt8>')
192 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
193 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt8.swift:207:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
205 | "OutputSpan has less free capacity than a vector has lanes"
206 | )
207 | assert(
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
208 | output.span.withUnsafeBufferPointer {
| | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt8.Lane>) -> Bool' (aka '(UnsafeBufferPointer<UInt8>) -> Bool')
| `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt8.Lane>' (aka 'UnsafeBufferPointer<UInt8>')
209 | (UInt(bitPattern: $0.baseAddress) &+ UInt($0.count &* MemoryLayout<Lane>.stride))
210 | % UInt(laneCount * MemoryLayout<Lane>.stride) == 0
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt8.swift:231:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
229 | @export(implementation) @inline(always)
230 | public static func storeFirst(_ a: Vector, to span: inout MutableSpan<Lane>) {
231 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt8.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt8>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt8.Lane>' (aka 'UnsafeMutableBufferPointer<UInt8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
232 | unsafe HighwayOps.storeFirstU8(a, $0.baseAddress, $0.count)
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt8.swift:455:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
453 | ) {
454 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
455 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt8.Lane>) -> Void' (aka '(UnsafeBufferPointer<UInt8>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt8.Lane>' (aka 'UnsafeBufferPointer<UInt8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
456 | unsafe HighwayOps.loadInterleaved2U8($0.baseAddress.unsafelyUnwrapped, &v0, &v1)
457 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt8.swift:494:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
492 | ) {
493 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
494 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt8.Lane>) -> Void' (aka '(UnsafeBufferPointer<UInt8>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt8.Lane>' (aka 'UnsafeBufferPointer<UInt8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
495 | unsafe HighwayOps.loadInterleaved3U8($0.baseAddress.unsafelyUnwrapped, &v0, &v1, &v2)
496 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt8.swift:536:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
534 | ) {
535 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
536 | span.withUnsafeBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeBufferPointer' has unsafe type '(UnsafeBufferPointer<HighwayUInt8.Lane>) -> Void' (aka '(UnsafeBufferPointer<UInt8>) -> ()')
| | `- note: reference to instance method 'withUnsafeBufferPointer' involves unsafe type 'UnsafeBufferPointer<HighwayUInt8.Lane>' (aka 'UnsafeBufferPointer<UInt8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
537 | unsafe HighwayOps.loadInterleaved4U8(
538 | $0.baseAddress.unsafelyUnwrapped,
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt8.swift:571:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
569 | ) {
570 | assert(span.count >= 2 * laneCount, "Span has fewer elements than 2 vectors have lanes")
571 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt8.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt8>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt8.Lane>' (aka 'UnsafeMutableBufferPointer<UInt8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
572 | unsafe HighwayOps.storeInterleaved2U8(a, b, $0.baseAddress.unsafelyUnwrapped)
573 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt8.swift:645:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
643 | ) {
644 | assert(span.count >= 3 * laneCount, "Span has fewer elements than 3 vectors have lanes")
645 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt8.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt8>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt8.Lane>' (aka 'UnsafeMutableBufferPointer<UInt8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
646 | unsafe HighwayOps.storeInterleaved3U8(a, b, c, $0.baseAddress.unsafelyUnwrapped)
647 | }
/Users/admin/builder/spi-builder-workspace/Sources/Highway/Generated/HighwayUInt8.swift:725:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
723 | ) {
724 | assert(span.count >= 4 * laneCount, "Span has fewer elements than 4 vectors have lanes")
725 | span.withUnsafeMutableBufferPointer {
| | | `- note: argument #0 in call to instance method 'withUnsafeMutableBufferPointer' has unsafe type '(UnsafeMutableBufferPointer<HighwayUInt8.Lane>) -> Void' (aka '(UnsafeMutableBufferPointer<UInt8>) -> ()')
| | `- note: reference to instance method 'withUnsafeMutableBufferPointer' involves unsafe type 'UnsafeMutableBufferPointer<HighwayUInt8.Lane>' (aka 'UnsafeMutableBufferPointer<UInt8>')
| `- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#StrictMemorySafety]
726 | unsafe HighwayOps.storeInterleaved4U8(a, b, c, d, $0.baseAddress.unsafelyUnwrapped)
727 | }
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
[54/54] Compiling Highway Highway.swift
Build complete! (19.79s)
Build complete.
{
"cxx_language_standard" : "c++17",
"dependencies" : [
],
"manifest_display_name" : "swift-highway",
"name" : "swift-highway",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Highway",
"targets" : [
"Highway"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HighwayTests",
"module_type" : "SwiftTarget",
"name" : "HighwayTests",
"path" : "Tests/HighwayTests",
"sources" : [
"KernelTests.swift",
"OpsTests.swift",
"SortTests.swift",
"TargetTests.swift",
"UnavailableTests.swift"
],
"target_dependencies" : [
"Highway"
],
"type" : "test"
},
{
"c99name" : "Highway",
"module_type" : "SwiftTarget",
"name" : "Highway",
"path" : "Sources/Highway",
"product_memberships" : [
"Highway"
],
"sources" : [
"Generated/HighwayDouble.swift",
"Generated/HighwayElement.swift",
"Generated/HighwayFloat.swift",
"Generated/HighwayInt16.swift",
"Generated/HighwayInt32.swift",
"Generated/HighwayInt64.swift",
"Generated/HighwayInt8.swift",
"Generated/HighwaySortable.swift",
"Generated/HighwayUInt16.swift",
"Generated/HighwayUInt32.swift",
"Generated/HighwayUInt64.swift",
"Generated/HighwayUInt8.swift",
"Highway.swift"
],
"target_dependencies" : [
"CHighway",
"CHighwayOps"
],
"type" : "library"
},
{
"c99name" : "CHighwayOps",
"module_type" : "ClangTarget",
"name" : "CHighwayOps",
"path" : "Sources/CHighwayOps",
"product_memberships" : [
"Highway"
],
"sources" : [
"CHighwayOps.cc"
],
"target_dependencies" : [
"CHighway"
],
"type" : "library"
},
{
"c99name" : "CHighway",
"module_type" : "ClangTarget",
"name" : "CHighway",
"path" : "Sources/CHighway",
"product_memberships" : [
"Highway"
],
"sources" : [
"include/hwy/abort.cc",
"include/hwy/aligned_allocator.cc",
"include/hwy/contrib/image/image.cc",
"include/hwy/contrib/sort/vqsort.cc",
"include/hwy/contrib/sort/vqsort_128a.cc",
"include/hwy/contrib/sort/vqsort_128d.cc",
"include/hwy/contrib/sort/vqsort_f16a.cc",
"include/hwy/contrib/sort/vqsort_f16d.cc",
"include/hwy/contrib/sort/vqsort_f32a.cc",
"include/hwy/contrib/sort/vqsort_f32d.cc",
"include/hwy/contrib/sort/vqsort_f64a.cc",
"include/hwy/contrib/sort/vqsort_f64d.cc",
"include/hwy/contrib/sort/vqsort_i16a.cc",
"include/hwy/contrib/sort/vqsort_i16d.cc",
"include/hwy/contrib/sort/vqsort_i32a.cc",
"include/hwy/contrib/sort/vqsort_i32d.cc",
"include/hwy/contrib/sort/vqsort_i64a.cc",
"include/hwy/contrib/sort/vqsort_i64d.cc",
"include/hwy/contrib/sort/vqsort_kv128a.cc",
"include/hwy/contrib/sort/vqsort_kv128d.cc",
"include/hwy/contrib/sort/vqsort_kv64a.cc",
"include/hwy/contrib/sort/vqsort_kv64d.cc",
"include/hwy/contrib/sort/vqsort_u16a.cc",
"include/hwy/contrib/sort/vqsort_u16d.cc",
"include/hwy/contrib/sort/vqsort_u32a.cc",
"include/hwy/contrib/sort/vqsort_u32d.cc",
"include/hwy/contrib/sort/vqsort_u64a.cc",
"include/hwy/contrib/sort/vqsort_u64d.cc",
"include/hwy/contrib/thread_pool/thread_pool.cc",
"include/hwy/contrib/thread_pool/topology.cc",
"include/hwy/nanobenchmark.cc",
"include/hwy/per_target.cc",
"include/hwy/perf_counters.cc",
"include/hwy/print.cc",
"include/hwy/profiler.cc",
"include/hwy/targets.cc",
"include/hwy/timer.cc"
],
"type" : "library"
}
],
"tools_version" : "6.3"
}
Done.