The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-span-algorithms, reference 0.2.0 (ef7061), with Swift 6.4 for Linux on 26 Sep 2026 12:52:30 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Dave861/swift-span-algorithms.git
Reference: 0.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Dave861/swift-span-algorithms
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at ef70610 WP18-WP20: stdlib-mirroring names, benchmarks, docs, 0.2.0 release prep
Cloned https://github.com/Dave861/swift-span-algorithms.git
Revision (git rev-parse @):
ef706100d430c217c4dc8f6c9516405351a65ac9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Dave861/swift-span-algorithms.git at 0.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/Dave861/swift-span-algorithms.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Planning deferred tasks]
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:75:14: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
 73 |     if count == 0 { return nil }
 74 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
 75 |       return unsafe withUnsafeBufferPointer { buf in
    |              `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
 76 |         guard let base = buf.baseAddress else { return _scalarFirstIndex(of: element) }
 77 |         guard let found = unsafe memchr(base, Int32(element), buf.count) else { return nil }
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:113:9: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
111 |       let n = count
112 |       return unsafe withUnsafeBufferPointer { buf in
113 |         unsafe pattern.withUnsafeBufferPointer { pbuf in
    |         `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
114 |           guard let base = buf.baseAddress, let pbase = pbuf.baseAddress else {
115 |             return _scalarFirstRange(of: pattern)
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:112:14: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
110 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
111 |       let n = count
112 |       return unsafe withUnsafeBufferPointer { buf in
    |              `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
113 |         unsafe pattern.withUnsafeBufferPointer { pbuf in
114 |           guard let base = buf.baseAddress, let pbase = pbuf.baseAddress else {
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:160:9: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
158 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
159 |       return unsafe withUnsafeBufferPointer { buf in
160 |         unsafe prefix.withUnsafeBufferPointer { pbuf in
    |         `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
161 |           guard let base = buf.baseAddress, let pbase = pbuf.baseAddress else {
162 |             return _scalarStarts(with: prefix)
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:159:14: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
157 |     if m > count { return false }
158 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
159 |       return unsafe withUnsafeBufferPointer { buf in
    |              `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
160 |         unsafe prefix.withUnsafeBufferPointer { pbuf in
161 |           guard let base = buf.baseAddress, let pbase = pbuf.baseAddress else {
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:195:9: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
193 |       let offset = count - m
194 |       return unsafe withUnsafeBufferPointer { buf in
195 |         unsafe suffix.withUnsafeBufferPointer { sbuf in
    |         `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
196 |           guard let base = buf.baseAddress, let sbase = sbuf.baseAddress else {
197 |             return _scalarEnds(with: suffix)
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:194:14: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
192 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
193 |       let offset = count - m
194 |       return unsafe withUnsafeBufferPointer { buf in
    |              `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
195 |         unsafe suffix.withUnsafeBufferPointer { sbuf in
196 |           guard let base = buf.baseAddress, let sbase = sbuf.baseAddress else {
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:230:9: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
228 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
229 |       return unsafe withUnsafeBufferPointer { buf in
230 |         unsafe other.withUnsafeBufferPointer { obuf in
    |         `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
231 |           guard let base = buf.baseAddress, let obase = obuf.baseAddress else {
232 |             return _scalarElementsEqual(other)
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:229:14: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
227 |     if count == 0 { return true }
228 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
229 |       return unsafe withUnsafeBufferPointer { buf in
    |              `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
230 |         unsafe other.withUnsafeBufferPointer { obuf in
231 |           guard let base = buf.baseAddress, let obase = obuf.baseAddress else {
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:361:14: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
359 |     if count == 0 { return nil }
360 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
361 |       return unsafe withUnsafeBufferPointer { buf in
    |              `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
362 |         guard let base = buf.baseAddress else { return _scalarFirstIndex(of: element) }
363 |         guard let found = unsafe memchr(base, Int32(UInt8(bitPattern: element)), buf.count) else {
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:401:9: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
399 |       let n = count
400 |       return unsafe withUnsafeBufferPointer { buf in
401 |         unsafe pattern.withUnsafeBufferPointer { pbuf in
    |         `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
402 |           guard let base = buf.baseAddress, let pbase = pbuf.baseAddress else {
403 |             return _scalarFirstRange(of: pattern)
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:400:14: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
398 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
399 |       let n = count
400 |       return unsafe withUnsafeBufferPointer { buf in
    |              `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
401 |         unsafe pattern.withUnsafeBufferPointer { pbuf in
402 |           guard let base = buf.baseAddress, let pbase = pbuf.baseAddress else {
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:448:9: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
446 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
447 |       return unsafe withUnsafeBufferPointer { buf in
448 |         unsafe prefix.withUnsafeBufferPointer { pbuf in
    |         `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
449 |           guard let base = buf.baseAddress, let pbase = pbuf.baseAddress else {
450 |             return _scalarStarts(with: prefix)
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:447:14: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
445 |     if m > count { return false }
446 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
447 |       return unsafe withUnsafeBufferPointer { buf in
    |              `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
448 |         unsafe prefix.withUnsafeBufferPointer { pbuf in
449 |           guard let base = buf.baseAddress, let pbase = pbuf.baseAddress else {
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:483:9: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
481 |       let offset = count - m
482 |       return unsafe withUnsafeBufferPointer { buf in
483 |         unsafe suffix.withUnsafeBufferPointer { sbuf in
    |         `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
484 |           guard let base = buf.baseAddress, let sbase = sbuf.baseAddress else {
485 |             return _scalarEnds(with: suffix)
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:482:14: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
480 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
481 |       let offset = count - m
482 |       return unsafe withUnsafeBufferPointer { buf in
    |              `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
483 |         unsafe suffix.withUnsafeBufferPointer { sbuf in
484 |           guard let base = buf.baseAddress, let sbase = sbuf.baseAddress else {
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:518:9: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
516 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
517 |       return unsafe withUnsafeBufferPointer { buf in
518 |         unsafe other.withUnsafeBufferPointer { obuf in
    |         `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
519 |           guard let base = buf.baseAddress, let obase = obuf.baseAddress else {
520 |             return _scalarElementsEqual(other)
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:517:14: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
515 |     if count == 0 { return true }
516 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
517 |       return unsafe withUnsafeBufferPointer { buf in
    |              `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
518 |         unsafe other.withUnsafeBufferPointer { obuf in
519 |           guard let base = buf.baseAddress, let obase = obuf.baseAddress else {
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
[#UnnecessaryUnsafe]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe>
[28 / 36] SpanAlgorithms
[33 / 36] SpanAlgorithms
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:75:14: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
 73 |     if count == 0 { return nil }
 74 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
 75 |       return unsafe withUnsafeBufferPointer { buf in
    |              `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
 76 |         guard let base = buf.baseAddress else { return _scalarFirstIndex(of: element) }
 77 |         guard let found = unsafe memchr(base, Int32(element), buf.count) else { return nil }
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:113:9: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
111 |       let n = count
112 |       return unsafe withUnsafeBufferPointer { buf in
113 |         unsafe pattern.withUnsafeBufferPointer { pbuf in
    |         `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
114 |           guard let base = buf.baseAddress, let pbase = pbuf.baseAddress else {
115 |             return _scalarFirstRange(of: pattern)
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:112:14: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
110 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
111 |       let n = count
112 |       return unsafe withUnsafeBufferPointer { buf in
    |              `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
113 |         unsafe pattern.withUnsafeBufferPointer { pbuf in
114 |           guard let base = buf.baseAddress, let pbase = pbuf.baseAddress else {
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:160:9: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
158 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
159 |       return unsafe withUnsafeBufferPointer { buf in
160 |         unsafe prefix.withUnsafeBufferPointer { pbuf in
    |         `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
161 |           guard let base = buf.baseAddress, let pbase = pbuf.baseAddress else {
162 |             return _scalarStarts(with: prefix)
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:159:14: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
157 |     if m > count { return false }
158 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
159 |       return unsafe withUnsafeBufferPointer { buf in
    |              `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
160 |         unsafe prefix.withUnsafeBufferPointer { pbuf in
161 |           guard let base = buf.baseAddress, let pbase = pbuf.baseAddress else {
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:195:9: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
193 |       let offset = count - m
194 |       return unsafe withUnsafeBufferPointer { buf in
195 |         unsafe suffix.withUnsafeBufferPointer { sbuf in
    |         `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
196 |           guard let base = buf.baseAddress, let sbase = sbuf.baseAddress else {
197 |             return _scalarEnds(with: suffix)
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:194:14: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
192 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
193 |       let offset = count - m
194 |       return unsafe withUnsafeBufferPointer { buf in
    |              `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
195 |         unsafe suffix.withUnsafeBufferPointer { sbuf in
196 |           guard let base = buf.baseAddress, let sbase = sbuf.baseAddress else {
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:230:9: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
228 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
229 |       return unsafe withUnsafeBufferPointer { buf in
230 |         unsafe other.withUnsafeBufferPointer { obuf in
    |         `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
231 |           guard let base = buf.baseAddress, let obase = obuf.baseAddress else {
232 |             return _scalarElementsEqual(other)
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:229:14: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
227 |     if count == 0 { return true }
228 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
229 |       return unsafe withUnsafeBufferPointer { buf in
    |              `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
230 |         unsafe other.withUnsafeBufferPointer { obuf in
231 |           guard let base = buf.baseAddress, let obase = obuf.baseAddress else {
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:361:14: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
359 |     if count == 0 { return nil }
360 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
361 |       return unsafe withUnsafeBufferPointer { buf in
    |              `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
362 |         guard let base = buf.baseAddress else { return _scalarFirstIndex(of: element) }
363 |         guard let found = unsafe memchr(base, Int32(UInt8(bitPattern: element)), buf.count) else {
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:401:9: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
399 |       let n = count
400 |       return unsafe withUnsafeBufferPointer { buf in
401 |         unsafe pattern.withUnsafeBufferPointer { pbuf in
    |         `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
402 |           guard let base = buf.baseAddress, let pbase = pbuf.baseAddress else {
403 |             return _scalarFirstRange(of: pattern)
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:400:14: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
398 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
399 |       let n = count
400 |       return unsafe withUnsafeBufferPointer { buf in
    |              `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
401 |         unsafe pattern.withUnsafeBufferPointer { pbuf in
402 |           guard let base = buf.baseAddress, let pbase = pbuf.baseAddress else {
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:448:9: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
446 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
447 |       return unsafe withUnsafeBufferPointer { buf in
448 |         unsafe prefix.withUnsafeBufferPointer { pbuf in
    |         `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
449 |           guard let base = buf.baseAddress, let pbase = pbuf.baseAddress else {
450 |             return _scalarStarts(with: prefix)
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:447:14: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
445 |     if m > count { return false }
446 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
447 |       return unsafe withUnsafeBufferPointer { buf in
    |              `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
448 |         unsafe prefix.withUnsafeBufferPointer { pbuf in
449 |           guard let base = buf.baseAddress, let pbase = pbuf.baseAddress else {
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:483:9: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
481 |       let offset = count - m
482 |       return unsafe withUnsafeBufferPointer { buf in
483 |         unsafe suffix.withUnsafeBufferPointer { sbuf in
    |         `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
484 |           guard let base = buf.baseAddress, let sbase = sbuf.baseAddress else {
485 |             return _scalarEnds(with: suffix)
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:482:14: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
480 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
481 |       let offset = count - m
482 |       return unsafe withUnsafeBufferPointer { buf in
    |              `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
483 |         unsafe suffix.withUnsafeBufferPointer { sbuf in
484 |           guard let base = buf.baseAddress, let sbase = sbuf.baseAddress else {
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:518:9: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
516 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
517 |       return unsafe withUnsafeBufferPointer { buf in
518 |         unsafe other.withUnsafeBufferPointer { obuf in
    |         `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
519 |           guard let base = buf.baseAddress, let obase = obuf.baseAddress else {
520 |             return _scalarElementsEqual(other)
/host/spi-builder-workspace/Sources/SpanAlgorithms/Span+ByteFastPaths.swift:517:14: warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
515 |     if count == 0 { return true }
516 |     #if canImport(Darwin) || canImport(Glibc) || canImport(Musl)
517 |       return unsafe withUnsafeBufferPointer { buf in
    |              `- warning: no unsafe operations occur within 'unsafe' expression [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker\UnnecessaryEffectMarker]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe\UnnecessaryUnsafe]8;;\]
518 |         unsafe other.withUnsafeBufferPointer { obuf in
519 |           guard let base = buf.baseAddress, let obase = obuf.baseAddress else {
[#UnnecessaryEffectMarker]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-effect-marker>
[#UnnecessaryUnsafe]: <https://docs.swift.org/compiler/documentation/diagnostics/unnecessary-unsafe>
Build complete! (4.35 secs)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-span-algorithms",
  "name" : "swift-span-algorithms",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "SpanAlgorithms",
      "targets" : [
        "SpanAlgorithms"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SpanAlgorithmsTests",
      "module_type" : "SwiftTarget",
      "name" : "SpanAlgorithmsTests",
      "path" : "Tests/SpanAlgorithmsTests",
      "sources" : [
        "ASCIITrimmingTests.swift",
        "ByteFastPathTests.swift",
        "ComparisonTests.swift",
        "CursorTests.swift",
        "ForEachChunkTests.swift",
        "ForEachSplitTests.swift",
        "InlineArrayAlgorithmsTests.swift",
        "MatchingTests.swift",
        "MinMaxTests.swift",
        "MutableSpanForwardingTests.swift",
        "ParsingBytesTests.swift",
        "PatternSplitTests.swift",
        "RawSpanBytesTests.swift",
        "RawSpanCursorTests.swift",
        "RawSpanParityTests.swift",
        "RawSpanUTF8Tests.swift",
        "SearchTests.swift",
        "SmokeTests.swift",
        "Support/SpanTestHelpers.swift",
        "TrimmingTests.swift"
      ],
      "target_dependencies" : [
        "SpanAlgorithms"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SpanAlgorithms",
      "module_type" : "SwiftTarget",
      "name" : "SpanAlgorithms",
      "path" : "Sources/SpanAlgorithms",
      "product_memberships" : [
        "SpanAlgorithms"
      ],
      "sources" : [
        "ASCII+Trimming.swift",
        "InlineArray+Algorithms.swift",
        "MutableSpan+Forwarding.swift",
        "RawSpan+Bytes.swift",
        "RawSpan+Cursors.swift",
        "RawSpan+Matching.swift",
        "RawSpan+PatternSplit.swift",
        "RawSpan+Trimming.swift",
        "RawSpan+UTF8.swift",
        "Span+ByteFastPaths.swift",
        "Span+Comparison.swift",
        "Span+Cursors.swift",
        "Span+ForEachChunk.swift",
        "Span+ForEachSplit.swift",
        "Span+Matching.swift",
        "Span+MinMax.swift",
        "Span+PatternSplit.swift",
        "Span+Search.swift",
        "Span+Trimming.swift",
        "SpanAlgorithms.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.